diff options
Diffstat (limited to 'default.latex')
-rw-r--r-- | default.latex | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/default.latex b/default.latex index c36bf85..e989f27 100644 --- a/default.latex +++ b/default.latex | |||
@@ -2,8 +2,9 @@ | |||
2 | \PassOptionsToPackage{hyphens}{url} | 2 | \PassOptionsToPackage{hyphens}{url} |
3 | $if(colorlinks)$ | 3 | $if(colorlinks)$ |
4 | \PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor} | 4 | \PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor} |
5 | $endif$ | 5 | $endif$$if(dir)$$if(latex-dir-rtl)$ |
6 | % | 6 | \PassOptionsToPackage{RTLdocument}{bidi} |
7 | $endif$$endif$% | ||
7 | \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} | 8 | \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} |
8 | $if(beamer)$ | 9 | $if(beamer)$ |
9 | \setbeamertemplate{caption}[numbered] | 10 | \setbeamertemplate{caption}[numbered] |
@@ -287,11 +288,7 @@ $endif$ | |||
287 | $if(dir)$ | 288 | $if(dir)$ |
288 | \ifxetex | 289 | \ifxetex |
289 | % load bidi as late as possible as it modifies e.g. graphicx | 290 | % load bidi as late as possible as it modifies e.g. graphicx |
290 | $if(latex-dir-rtl)$ | ||
291 | \usepackage[RTLdocument]{bidi} | ||
292 | $else$ | ||
293 | \usepackage{bidi} | 291 | \usepackage{bidi} |
294 | $endif$ | ||
295 | \fi | 292 | \fi |
296 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | 293 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex |
297 | \TeXXeTstate=1 | 294 | \TeXXeTstate=1 |