I'm hoping this is a question with a simple answer. I am using Rmarkdown/knitr to author a PDF document (in RStudio). Many LaTeX classes (like article) automatically indent the first line of a paragraph of text, but Rmarkdown does not, nor can I figure out a way to do so.
Here's a simple example:
---
title: "minimal"
author: "prison rodeo"
output: pdf_document
---
This is an R Markdown document.
I would like this paragraph to be first-line indented, but it is not.
Using > indents the entire paragraph, which is not what I'm looking for. I've tried spaces/tabs at the beginning of each paragraph, and using \indent; neither seems to work. Any ideas?
\setlength\parindent{24pt}
at the start (before This is an...) from tex.stackexchange.com/questions/45501/how-to-add-indentation – user20650
at the beginning of a paragraph will indent that first line by 5 spaces. If you're always going to target PDF, the latex solutions are far better. – hrbrmstrtext-indent
property specifies the indentation of the first line in a text-block. – Peter H.