Further mod to hanging indent code in latex template.
Make sure the length is always defined.
This commit is contained in:
parent
dc01071053
commit
e4638170d0
1 changed files with 0 additions and 2 deletions
|
@ -360,10 +360,8 @@ $for(bibliography)$
|
||||||
$endfor$
|
$endfor$
|
||||||
$endif$
|
$endif$
|
||||||
$if(csl-refs)$
|
$if(csl-refs)$
|
||||||
$if(csl-hanging-indent)$
|
|
||||||
\newlength{\cslhangindent}
|
\newlength{\cslhangindent}
|
||||||
\setlength{\cslhangindent}{1.5em}
|
\setlength{\cslhangindent}{1.5em}
|
||||||
$endif$
|
|
||||||
\newenvironment{cslreferences}%
|
\newenvironment{cslreferences}%
|
||||||
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
|
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
|
||||||
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
|
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
|
||||||
|
|
Loading…
Add table
Reference in a new issue