Skip to content

Commit eda5973

Browse files
committed
remove some irrelevant font commands
1 parent 48251fc commit eda5973

File tree

1 file changed

+1
-62
lines changed

1 file changed

+1
-62
lines changed

template/eisvogel.latex

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ $if(beamerarticle)$
135135
$endif$
136136
\usepackage{amsmath,amssymb}
137137
\usepackage{mathtools}
138-
$if(fontfamily)$
139-
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
140-
$else$
141-
\usepackage{lmodern}
142-
$endif$
143138
$if(linestretch)$
144139
\usepackage{setspace}
145140
$else$
@@ -161,70 +156,14 @@ $if(mathspec)$
161156
\fi
162157
$else$
163158
\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
195159
$endif$
196160
$if(luatexjapresetoptions)$
197161
\ifluatex
198162
\usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
199163
\fi
200164
$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$
207165
\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+
228167
% Use upquote if available, for straight quotes in verbatim environments
229168
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
230169
\IfFileExists{microtype.sty}{% use microtype if available

0 commit comments

Comments
 (0)