Manually indent references in an R Markdown document

廉价感情. 提交于 2021-01-28 10:40:38

问题


I am trying to manually indent references in an R Markdown document.

It is for a CV and includes things that I don't presently have in BibTeX format.

Here is an example:

---
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

When I knit this to a PDF, however, the first reference is not properly indented, though all subsequent references are:

Any idea how I can use LaTeX (or some other means) to correctly indent all of the references?


回答1:


Put:

\noindent

at beginning of or above the line you don't want to be indented.



来源:https://stackoverflow.com/questions/52906477/manually-indent-references-in-an-r-markdown-document

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!