Latex 如何在knitr RSweave文件的标题中手动添加换行符?
以下是我所拥有的:Latex 如何在knitr RSweave文件的标题中手动添加换行符?,latex,knitr,sweave,Latex,Knitr,Sweave,以下是我所拥有的: \documentclass{article} \begin{document} \title{This is the document title} \maketitle \end{document} 我想要这样的东西: \documentclass{article} \begin{document} \title{This is the document title} \maketitle \end{document} 如何在文档标题中手动添加换行符
\documentclass{article}
\begin{document}
\title{This is the document title}
\maketitle
\end{document}
我想要这样的东西:
\documentclass{article}
\begin{document}
\title{This is
the document title}
\maketitle
\end{document}
如何在文档标题中手动添加换行符?只需添加换行符:
\documentclass{article}
\begin{document}
\title{This is\\
the document title}
\maketitle
\end{document}
当然它是有效的,问题应该是另一个。如果你发送的代码不起作用,也许社区中的某个人可以解释原因。标题中的粗体也可以使用。
Package hyperref警告:PDF字符串(Unicode)中不允许使用令牌:删除输入行311上的
\\\\'(