-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypeface_garamond.tex
187 lines (145 loc) · 4.7 KB
/
typeface_garamond.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
%the full "palette:" 6 7 8 9 10 11 12 14 16 18 21 24 36 48 60 72
%margin paragraphs on the left for 1-sided document
\reversemarginpar
%%%fonts %%%%
\onehalfspacing
\defaultfontfeatures{Ligatures=TeX}
\setmainfont[Numbers={OldStyle,Proportional}]{Garamond Premier Pro}
% \setmainfont[Numbers={OldStyle,Proportional}]{Adobe Jenson Pro}
\KOMAoptions{DIV=last}
% \setsansfont{Gill Sans MT Pro Light}
\setsansfont{Garamond Premier Pro Display}
\setmonofont{Source Sans Pro}
\pretitle{%
\begin{center}
% \fontsize{24}{24}\fontspec[RawFeature={+liga,+dlig,+fina}]{Garamond Premier Pro Italic Display}
\fontsize{24}{24}\fontspec{Garamond Premier Pro Display}
}
\posttitle{\par\end{center}\vskip 1em}
\preauthor{\begin{center}
\fontsize{14}{14}\fontspec[Ligatures=Historical]{Garamond Premier Pro Italic}
% \fontsize{14}{14}\fontspec[RawFeature={+liga,+dlig,+fina},
% ]{Garamond Premier Pro Italic}
% \fontsize{14}{14}\fontspec[Ligatures=Historical]{Adobe Jenson Pro Italic}
% \fontsize{14}{14}\fontspec[RawFeature={+liga,+dlig,+fina},
% ]{Adobe Jenson Pro Italic}
\lineskip 1em%
\begin{tabular}[t]{c}}
\postauthor{\end{tabular}\par\end{center}}
\predate{\begin{center}
\fontsize{11}{11}\fontspec[LetterSpace=30,
Letters=SmallCaps,
Numbers={OldStyle,Proportional}]{Garamond Premier Pro}
}
\postdate{\par\end{center}}
% \postdate{\par\end{center}}
\setkomafont{disposition}{%
\fontspec{Garamond Premier Pro}
} %stops everything being bold by default which was Yuk.
% \setkomafont{section}{%
% \rm\fontsize{11}{11}\fontspec[LetterSpace=20,
% Letters=SmallCaps]{Garamond Premier Pro}
% }
\setkomafont{subsection}{%
\rm\fontsize{11}{11}\fontspec[LetterSpace=20,
Letters=SmallCaps]{Garamond Premier Pro}
}
% \setkomafont{paragraph}{
% \fontspec{Adobe Jenson Pro Bold}
% }
\setkomafont{subsubsection}{
\fontspec{Garamond Premier Pro Italic}
}
% \setkomafont{caption}{%
% }
% \setkomafont{captionlabel}{%
% }
\newcommand*{\justifyheading}{\raggedleft}
\titleformat{\chapter}[display]
{\justifyheading}{\chaptertitlename\ \thechapter}
{24pt}{\Huge}
% \setkomafont{chapter}{%
% }
% \setkomafont{chapterentry}{%
% }
% \setkomafont{chapterentrypagenumber}{%
% }
% \setkomafont{chapterprefix}{%
% }
% \setkomafont{descriptionlabel}{%
% }
% \setkomafont{dictum}{%
% }
% \setkomafont{dictumauthor}{%
% }
% \setkomafont{dictumtext}{%
% }
% \setkomafont{disposition}{% all sectional unit titles
% }
% \setkomafont{footnote}{%
% }
% \setkomafont{footnotelabel}{%
% }
% footnotereference
% footnoterule
% labelinglabel
% labelingseparator
% minisec
% pagefoot
% pageheadfoot
% pagenumber
% pagination
% part
% partentry
% partentrypagenumber
% partnumber
% sectionentry
% sectionentrypagenumber
% sectioning %another name for disposition
% subject
% subparagraph
% subsection
% subsubsection
% title
%use \minisec for a heading without TOC or a space, eg top of a recipe
% \documentclass{article}
% \usepackage{fontspec}
% \defaultfontfeatures{Ligatures={Historical}}
% \setmainfont{Garamond Premier Pro}
% \usepackage{selnolig}
% \nolig{st}{s|t}
% \begin{document}
% best pact
% \end{document}
%For small caps
%\fontspec[Letters=SmallCaps]{Garamond Premier Pro}
%see also Lining, Monospaced for tables
%\fontspec[Numbers=SlashedZero,OldStyle,Proportional]{Garamond Premier Pro} %
%\fontspec[Contextuals=Swash,Alternate,WordInitial,WordFinal,LineFinal,Inner]{Garamond Premier Pro} %
%\fontspec[StylisticSet=2]{Garamond Premier Pro} %
%individual character variations
%\fontspec[CharacterVariant={5:2}]{EB Garamond Italic}
%style variations
%\fontspec[Style=Alternate]{EB Garamond Italic} % see also Swash,Historic,TitlingCaps,Italic
%\note: use mathscr not mathcal
% OOOh, use
%\fontspec[Style=Historic]{Adobe Jenson Pro} % looks great
%\fontspec[Style=TitlingCaps]{Adobe Garamond Pro} % looks great
%Go behind fontspec's back
%\fontspec[RawFeature=+smcp;+onum]{Garamond Premier Pro}
%get maths fonts working?
% \setmathfont{STIXGeneral}
% \setmathfont[range=\mathit/{latin,Latin}]{Sorts Mill Goudy}
% \setmathfont[range=\mathit/{greek,Greek}]{Garamond Premier Pro}
%define how emphasis is used
\renewcommand\emshape{\bfseries}
% Add feature to a particular shape
%\addfontfeature{ItalicFeatures={Alternate = 1}}
% how to define a new font command which works with \textbf etc.
\newfontfamily\notefont{Garamond Premier Pro}
\newcommand\textnote[1]{{\notefont #1}} %Double braces are intentional
%for a specific face that can't be altered
% \newfontface\fancy[Contextuals={WordInitial,WordFinal}]{Garamond Premier Pro}
%\fontspec[BoldFont={* SemiBold}]{Baskerville}
%\setmainfont[Ligatures={Common,Rare}]{Adobe Caslon Pro}
% \usepackage{microtype}% this needs to be last