本文介绍了在 R Markdown 文档中手动缩进引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试手动缩进 R Markdown 文档中的引用.
I am trying to manually indent references in an R Markdown document.
它用于简历,包括我目前没有 BibTeX 格式的内容.
It is for a CV and includes things that I don't presently have in BibTeX format.
这是一个例子:
--- title: "Untitled" author: "Joshua Rosenberg" date: "10/20/2018" output: pdf_document: default html_document: default --- ### Journal Article \begingroup \setlength{\parindent}{-0.2in} \setlength{\leftskip}{0.2in} \setlength{\parskip}{8pt} Blois, M. S. (1958). Antioxidant determinations by the use of a stable free radical. Nature, 181(4617), 1199. Blois, M. S. (1958). Antioxidant determinations by the use of a stable free radical. Nature, 181(4617), 1199. \endgroup然而,当我把它编成 PDF 时,第一个引用没有正确缩进,尽管所有后续引用都是:
When I knit this to a PDF, however, the first reference is not properly indented, though all subsequent references are:
知道如何使用 LaTeX(或其他方式)正确缩进所有引用吗?
Any idea how I can use LaTeX (or some other means) to correctly indent all of the references?
推荐答案Put:
\noindent在您不想缩进的行首或上方.
at beginning of or above the line you don't want to be indented.
更多推荐
在 R Markdown 文档中手动缩进引用
发布评论