aboutsummaryrefslogtreecommitdiff
path: root/test/writer.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-11-19 12:17:46 -0800
committerJohn MacFarlane <[email protected]>2022-11-19 12:28:41 -0800
commit144bf90ab92b517dd721baf80f121f86187ccd61 (patch)
tree4f3616e8b11dce2e6f4191ae22eaf89842fa146f /test/writer.latex
parent202eacb6860967e6c74e8bc73eb8a4a677748243 (diff)
LaTeX writer: Use soul instead of ulem for strikeout, underline.
This handles things like hyphenation, line breaks, and nonbreaking spaces better. Closes #8411.
Diffstat (limited to 'test/writer.latex')
-rw-r--r--test/writer.latex4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.latex b/test/writer.latex
index b286d3da9..6a7abfca9 100644
--- a/test/writer.latex
+++ b/test/writer.latex
@@ -50,7 +50,7 @@
\makeatletter
\def\fps@figure{htbp}
\makeatother
-\usepackage[normalem]{ulem}
+\usepackage{soul}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
@@ -704,7 +704,7 @@ So is \textbf{\emph{this}} word.
This is code: \texttt{\textgreater{}}, \texttt{\$}, \texttt{\textbackslash{}},
\texttt{\textbackslash{}\$}, \texttt{\textless{}html\textgreater{}}.
-\sout{This is \emph{strikeout}.}
+\st{This is \emph{strikeout}.}
Superscripts: a\textsuperscript{bc}d a\textsuperscript{\emph{hello}}
a\textsuperscript{hello~there}.