@@ -135,11 +135,6 @@ $if(beamerarticle)$
135
135
$endif$
136
136
\usepackage{amsmath,amssymb}
137
137
\usepackage{mathtools}
138
- $if(fontfamily)$
139
- \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
140
- $else$
141
- \usepackage{lmodern}
142
- $endif$
143
138
$if(linestretch)$
144
139
\usepackage{setspace}
145
140
$else$
@@ -161,70 +156,14 @@ $if(mathspec)$
161
156
\fi
162
157
$else$
163
158
\usepackage{unicode-math}
164
- $endif$
165
- \defaultfontfeatures{Scale=MatchLowercase}
166
- \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
167
- $if(mainfont)$
168
- \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
169
- $endif$
170
- $if(sansfont)$
171
- \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
172
- $endif$
173
- $if(monofont)$
174
- \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
175
- $endif$
176
- $for(fontfamilies)$
177
- \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
178
- $endfor$
179
- $if(mathfont)$
180
- $if(mathspec)$
181
- \ifxetex
182
- \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
183
- \else
184
- \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
185
- \fi
186
- $else$
187
- \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
188
- $endif$
189
- $endif$
190
- $if(CJKmainfont)$
191
- \ifxetex
192
- \usepackage{xeCJK}
193
- \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
194
- \fi
195
159
$endif$
196
160
$if(luatexjapresetoptions)$
197
161
\ifluatex
198
162
\usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
199
163
\fi
200
164
$endif$
201
- $if(CJKmainfont)$
202
- \ifluatex
203
- \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
204
- \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
205
- \fi
206
- $endif$
207
165
\fi
208
- $if(beamer)$
209
- $if(theme)$
210
- \usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
211
- $endif$
212
- $if(colortheme)$
213
- \usecolortheme{$colortheme$}
214
- $endif$
215
- $if(fonttheme)$
216
- \usefonttheme{$fonttheme$}
217
- $endif$
218
- $if(mainfont)$
219
- \usefonttheme{serif} % use mainfont rather than sansfont for slide text
220
- $endif$
221
- $if(innertheme)$
222
- \useinnertheme{$innertheme$}
223
- $endif$
224
- $if(outertheme)$
225
- \useoutertheme{$outertheme$}
226
- $endif$
227
- $endif$
166
+
228
167
% Use upquote if available, for straight quotes in verbatim environments
229
168
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
230
169
\IfFileExists{microtype.sty}{% use microtype if available
0 commit comments