LaTeX template: moved command to avoid error.
CircleCode pointed out that \pdfstringdefDisableCommands{\renewcommand{\sout}{}} needs to come after hyperref is included in the template.
This commit is contained in:
parent
663adaa861
commit
951b0ca035
1 changed files with 8 additions and 8 deletions
|
@ -43,14 +43,6 @@ $if(tables)$
|
|||
\usepackage{ctable}
|
||||
\usepackage{float} % provides the H option for float placement
|
||||
$endif$
|
||||
$if(strikeout)$
|
||||
\usepackage[normalem]{ulem}
|
||||
% avoid problems with \sout in headers with hyperref:
|
||||
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||
$endif$
|
||||
$if(subscript)$
|
||||
\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
|
||||
$endif$
|
||||
$if(url)$
|
||||
\usepackage{url}
|
||||
$endif$
|
||||
|
@ -67,6 +59,14 @@ $if(graphics)$
|
|||
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
|
||||
$endif$
|
||||
\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref}
|
||||
$if(strikeout)$
|
||||
\usepackage[normalem]{ulem}
|
||||
% avoid problems with \sout in headers with hyperref:
|
||||
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||
$endif$
|
||||
$if(subscript)$
|
||||
\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
|
||||
$endif$
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
|
|
Loading…
Add table
Reference in a new issue