要在两行中添加下划线吗?

要在两行中添加下划线吗?

命令

\underline{bla bla ... bla}

目前内容已经溢出

在此处输入图片描述

怎样才能在不溢出到边距的情况下添加下划线?

答案1

您可以\ulineulem包中使用:

\documentclass{article}
\usepackage[normalem]{ulem}
\begin{document}
 \uline{As any dedicated reader can clearly see, the Ideal of practical reason is a
representation of, as far as I know, the things in themselves; as I have shown
elsewhere, the phenomena should only be used as a canon for our understanding.
The paralogisms of practical reason are what first give rise to the architectonic
of practical reason. As will easily be shown in the next section, reason would}
\end{document}

在此处输入图片描述

传递该选项normalem是为了防止ulem对辅助文本加下划线emph

另一个选择是使用\ulsoul

\documentclass{article}
\usepackage{soul}
\begin{document}
 \ul{As any dedicated reader can clearly see, the Ideal of practical reason is a
representation of, as far as I know, the things in themselves; as I have shown
elsewhere, the phenomena should only be used as a canon for our understanding.
The paralogisms of practical reason are what first give rise to the architectonic
of practical reason. As will easily be shown in the next section, reason would}
\end{document}

相关内容