我正在为论文报告撰写审稿人回复。我将每条评论都放在 \begin{flushleft}..\end{flushleft} 下。这样做的原因是不需要缩进即可在下一行开始评论问题和审稿人回复。评论是左对齐的。但是,行对齐缺失,因此看起来不太好。有人能建议如何纠正吗?MWC 随附于此。
\documentclass[12pt, a4paper, showtrims]{article}
\usepackage{geometry}
\usepackage{ragged2e}
\usepackage{multirow}
\geometry{a4paper, top=1.5cm, left=2.0cm, right=2.0cm, bottom=2.0cm, includehead, includefoot}
\begin{document}
\begin{flushleft}
\textbf{4.} \textit{random randomly random random random random random random randomlyrandom random randomly random random random random random random random random random random random random random random random random random random random random random random random random random random random?}
\end{flushleft}
\begin{flushleft}
\textbf{Response:}
\end{flushleft}
random randomly random random random random random random randomlyrandom random randomly random random random random random random random random random random random random random random random random random random random random random random random random random random random?
\end{document}
答案1
在flushleft
环境中,\raggedright
实际上是和每段的第一行是不缩进。我认为您希望实现第二个效果,而不是第一个效果。如果是这样,您需要做的就是 (a) 去掉包装纸flushleft
并发出指令
\setlength\parindent{0pt}
完整的 MWE:
请注意,如果每段的第一行是不是缩进后,读者可能很难注意到某个段落何时结束,下一个段落何时开始。因此,当\setlength\parindent{0pt}
生效时,习惯上还会将段落之间的额外垂直空白量(由 参数控制)设置\parskip
为非零量,例如0.5\baselineskip
。
parskip
正如大卫卡莱尔 (David Carlisle) 在评论中所建议的那样,加载该包可以同时进行\parindent
修改\parskip
。
\documentclass[12pt, a4paper, showtrims]{article}
\usepackage{geometry}
\geometry{a4paper, top=1.5cm, bottom=2.0cm,
hmargin=2.0cm, includehead, includefoot}
\begin{document}
\subsubsection*{Non-zero paragraph indentation}
\textbf{4.} \textit{random randomly random random random random random random randomlyrandom random randomly random random random random random random random random random random random random random random random random random random random random random random random random random random random?}
\textbf{Response:}
random randomly random random random random random random randomlyrandom random randomly random random random random random random random random random random random random random random random random random random random random random random random random random random random?
\subsubsection*{Zero paragraph indentation}
\setlength\parindent{0pt} % <-- new
\textbf{4.} \textit{random randomly random random random random random random randomlyrandom random randomly random random random random random random random random random random random random random random random random random random random random random random random random random random random?}
\textbf{Response:}
random randomly random random random random random random randomlyrandom random randomly random random random random random random random random random random random random random random random random random random random random random random random random random random random?
\end{document}