导出为 PDF 时,RMarkdown/Latex 中的某些段落会缩进

导出为 PDF 时,RMarkdown/Latex 中的某些段落会缩进

我正在用 RMarkdown 写报告,我想缩进整个段落。我在段落前使用了这个 Latex 代码:

\leftskip30pt\parindent0em\

效果不错,但问题是该段落下面的所有内容也都缩进。我如何指定仅在一个段落中应用缩进?

这可能是一个例子:

One of the major issues seen in the manuscript is in the paragraph of the Method section that starts with Instead of rejecting teeth worn past… I found this paragraph somehow misleading.

\leftskip30pt\parindent0em
In case worn teeth were included, I would like to see which wear degree is your cut-off, i.e. following Molnar wear stages. For instance, we did not include P. robustus teeth with wear degree beyond 3, according to Molnar stages.

Concerning the Discussion, I followed the searching of the most likely explanation of this highly difference in PEH distribution present in P. robustus. and agree with the authors that the genetic one might be the responsible of these PEH.

最后两段是缩进的,但我只希望第二段是这样。

这是我将 RMarkdown 文件导出为 PDF 的结果:

在此处输入图片描述

答案1

我最终在RMarkdown中找到了解决方案:

>在段落开头添加就足够了:

One of the major issues seen in the manuscript is in the paragraph of the Method section that starts with Instead of rejecting teeth worn past… I found this paragraph somehow misleading.

> In case worn teeth were included, I would like to see which wear degree is your cut-off, i.e. following Molnar wear stages. For instance, we did not include P. robustus teeth with wear degree beyond 3, according to Molnar stages.

Concerning the Discussion, I followed the searching of the most likely explanation of this highly difference in PEH distribution present in P. robustus. and agree with the authors that the genetic one might be the responsible of these PEH.

相关内容