答案1
答案2
您是否考虑过使用soul
它来划线?
\documentclass{article}
% \usepackage[normalem]{ulem}
\usepackage{soul}
\newcommand{\sometext}{%
This is a slightly long title for testing the document class. This is a slightly long title for testing the document class.}
\begin{document}
\ul{%
This is a slightly long title for testing the document class. This is a slightly long title for testing the document class.}% work
\ul\sometext% works
\end{document}