summaryrefslogtreecommitdiffstats
path: root/default.latex
diff options
context:
space:
mode:
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex30
1 files changed, 15 insertions, 15 deletions
diff --git a/default.latex b/default.latex
index c567278..50fad2a 100644
--- a/default.latex
+++ b/default.latex
@@ -98,14 +98,14 @@ $endif$
98$if(linestretch)$ 98$if(linestretch)$
99\usepackage{setspace} 99\usepackage{setspace}
100$endif$ 100$endif$
101\usepackage{ifxetex,ifluatex} 101\usepackage{iftex}
102\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex 102\ifPDFTeX
103 \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} 103 \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
104 \usepackage[utf8]{inputenc} 104 \usepackage[utf8]{inputenc}
105 \usepackage{textcomp} % provide euro and other symbols 105 \usepackage{textcomp} % provide euro and other symbols
106\else % if luatex or xetex 106\else % if luatex or xetex
107$if(mathspec)$ 107$if(mathspec)$
108 \ifxetex 108 \ifXeTeX
109 \usepackage{mathspec} 109 \usepackage{mathspec}
110 \else 110 \else
111 \usepackage{unicode-math} 111 \usepackage{unicode-math}
@@ -129,7 +129,7 @@ $for(fontfamilies)$
129$endfor$ 129$endfor$
130$if(mathfont)$ 130$if(mathfont)$
131$if(mathspec)$ 131$if(mathspec)$
132 \ifxetex 132 \ifXeTeX
133 \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} 133 \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
134 \else 134 \else
135 \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} 135 \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
@@ -139,18 +139,18 @@ $else$
139$endif$ 139$endif$
140$endif$ 140$endif$
141$if(CJKmainfont)$ 141$if(CJKmainfont)$
142 \ifxetex 142 \ifXeTeX
143 \usepackage{xeCJK} 143 \usepackage{xeCJK}
144 \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} 144 \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
145 \fi 145 \fi
146$endif$ 146$endif$
147$if(luatexjapresetoptions)$ 147$if(luatexjapresetoptions)$
148 \ifluatex 148 \ifLuaTeX
149 \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} 149 \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
150 \fi 150 \fi
151$endif$ 151$endif$
152$if(CJKmainfont)$ 152$if(CJKmainfont)$
153 \ifluatex 153 \ifLuaTeX
154 \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} 154 \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
155 \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} 155 \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
156 \fi 156 \fi
@@ -219,10 +219,10 @@ $if(keywords)$
219$endif$ 219$endif$
220$if(colorlinks)$ 220$if(colorlinks)$
221 colorlinks=true, 221 colorlinks=true,
222 linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, 222 linkcolor={$if(linkcolor)$$linkcolor$$else$Maroon$endif$},
223 filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$, 223 filecolor={$if(filecolor)$$filecolor$$else$Maroon$endif$},
224 citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, 224 citecolor={$if(citecolor)$$citecolor$$else$Blue$endif$},
225 urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, 225 urlcolor={$if(urlcolor)$$urlcolor$$else$Blue$endif$},
226$else$ 226$else$
227 hidelinks, 227 hidelinks,
228$endif$ 228$endif$
@@ -329,7 +329,7 @@ $for(header-includes)$
329$header-includes$ 329$header-includes$
330$endfor$ 330$endfor$
331$if(lang)$ 331$if(lang)$
332\ifxetex 332\ifXeTeX
333 % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic) 333 % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic)
334 \usepackage{polyglossia} 334 \usepackage{polyglossia}
335 \setmainlanguage[$for(polyglossia-lang.options)$$polyglossia-lang.options$$sep$,$endfor$]{$polyglossia-lang.name$} 335 \setmainlanguage[$for(polyglossia-lang.options)$$polyglossia-lang.options$$sep$,$endfor$]{$polyglossia-lang.name$}
@@ -346,15 +346,15 @@ $if(babel-newcommands)$
346$endif$ 346$endif$
347\fi 347\fi
348$endif$ 348$endif$
349\ifluatex 349\ifLuaTeX
350 \usepackage{selnolig} % disable illegal ligatures 350 \usepackage{selnolig} % disable illegal ligatures
351\fi 351\fi
352$if(dir)$ 352$if(dir)$
353\ifxetex 353\ifXeTeX
354 % Load bidi as late as possible as it modifies e.g. graphicx 354 % Load bidi as late as possible as it modifies e.g. graphicx
355 \usepackage{bidi} 355 \usepackage{bidi}
356\fi 356\fi
357\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex 357\ifPDFTeX
358 \TeXXeTstate=1 358 \TeXXeTstate=1
359 \newcommand{\RL}[1]{\beginR #1\endR} 359 \newcommand{\RL}[1]{\beginR #1\endR}
360 \newcommand{\LR}[1]{\beginL #1\endL} 360 \newcommand{\LR}[1]{\beginL #1\endL}