\epigraph{
\textit{
You can only do this by mapping the territory.
By understanding how the enemy thinks and acts.
By having a solid game plan.
And by picking your battles very, very carefully.}
}%
{\textit{- Anon}\\}
这是我的代码,当我将文本放入其中时,题词会打印两次\textit
。我不确定如何解决这个问题。
答案1
我不知道是什么导致了你的问题。以下是基于你提供的最小代码的 MWE,它不会重复打印。
% epiprob.tex SE 584057
\documentclass{article}
\usepackage{epigraph}
\begin{document}
\epigraph{
\textit{
You can only do this by mapping the territory.
By understanding how the enemy thinks and acts.
By having a solid game plan.
And by picking your battles very, very carefully.}
%
%
%
}%
{\textit{- Anon}\\}
\end{document}
如果我没有删除空行,则会报告“此处无行结束”。您在运行代码时是否遇到了此问题?