summaryrefslogtreecommitdiffstats
path: root/default.latex
diff options
context:
space:
mode:
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex12
1 files changed, 10 insertions, 2 deletions
diff --git a/default.latex b/default.latex
index 4e8911e..20d5493 100644
--- a/default.latex
+++ b/default.latex
@@ -137,7 +137,7 @@ $endif$
137$endif$ 137$endif$
138$if(CJKmainfont)$ 138$if(CJKmainfont)$
139 \ifxetex 139 \ifxetex
140 \usepackage{xeCJK} 140 \usepackage[space]{xeCJK}
141 \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} 141 \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
142 \fi 142 \fi
143$endif$ 143$endif$
@@ -270,7 +270,7 @@ $else$
270$endif$ 270$endif$
271$endif$ 271$endif$
272$if(graphics)$ 272$if(graphics)$
273\usepackage{graphicx,grffile} 273\usepackage{graphicx}
274\makeatletter 274\makeatletter
275\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} 275\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
276\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} 276\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
@@ -359,6 +359,14 @@ $for(bibliography)$
359\addbibresource{$bibliography$} 359\addbibresource{$bibliography$}
360$endfor$ 360$endfor$
361$endif$ 361$endif$
362$if(csl-refs)$
363\newlength{\cslhangindent}
364\setlength{\cslhangindent}{1.5em}
365\newenvironment{cslreferences}%
366 {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
367 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
368 {\par}
369$endif$
362 370
363$if(title)$ 371$if(title)$
364\title{$title$$if(thanks)$\thanks{$thanks$}$endif$} 372\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}