我目前正在撰写一篇研究论文,其中需要重述其他研究人员的文本。下面给出了一种简单的方法:
\documentclass{article}
\begin{document}
As farah has written
\begin{center}
" This question could be interesting to do ...."
\end{center}
\end{document}
问题:有没有更好的书写方式或一些有用的命令或工具?我还想在提到他/她时正确引用他/她。我希望文字位于中心。
答案1
正如 marmot 在他的评论中所说,你可以使用quote
环境,将其居中只需使用\centering
:
\documentclass{article}
\begin{document}
As farah has written
\begin{quote}\centering
This question could be interesting to do \dots
\end{quote}
\end{document}
由于您必须多次执行此操作,因此您可以使用:
\usepackage{etoolbox}
\AtEndEnvironment{quote}{\centering}
将每个环境置于中心位置,而不必每次quote
都书写。\centering
\documentclass{article}
\usepackage{etoolbox}
\AtEndEnvironment{quote}{\centering}
\begin{document}
As farah has written
\begin{quote}
This question could be interesting to do \dots
\end{quote}
\end{document}
但是,正如评论者所说,你可能只quote
需要\centering
:
\documentclass{article}
\begin{document}
As farah has written \begin{quote}
This question could be interesting to do \dots. But as all the commenters say, it is much better without \verb|\centering|!
\end{quote}
Something just to show you the way \verb|quote| environment works.
\end{document}