diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-03-13 15:25:32 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-03-13 15:25:32 -0700 |
| commit | 6328ac5097ac98b3093aa17c15a1eaf61d484629 (patch) | |
| tree | be264c390bbf02327a4d051fa05c468939a39f94 /data | |
| parent | f3fcdd52c8bc722862ea73958d41fe53ec03ec1d (diff) | |
LaTeX template: Move `\sout` correction after hyperref.
This fixes the previous change the default.latex.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/default.latex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index e83806940..aa262ee80 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -282,8 +282,6 @@ $endif$ $if(strikeout)$ $-- also used for underline \usepackage[normalem]{ulem} -% Avoid problems with \sout in headers with hyperref -\pdfstringdefDisableCommands{\renewcommand{\sout}{}} $endif$ \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% @@ -383,6 +381,8 @@ $if(csquotes)$ \usepackage{csquotes} $endif$ \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} +% Avoid problems with \sout in headers with hyperref +\pdfstringdefDisableCommands{\renewcommand{\sout}{}} \hypersetup{ $if(title-meta)$ pdftitle={$title-meta$}, |
