Search code examples
r-markdownbiblatexcsl

rmarkdown: hanging-indent citation


The rmarkdown package uses the biblatex with the chicago author-date style as default.

I would like to use hanging-indent in the references, like it the biblatex-chicago package.

This suggestion by David Sanson of using this:

\setlength{\parindent}{-0.2in}
\setlength{\leftskip}{0.2in}
\setlength{\parskip}{8pt}

Comes very close, but unfortunately it also indents the first line of the first reference, which does not look very good. Any idea's on how to make this work?


Solution

  • Simply add the \noindent command.

    # Bibliography
    \setlength{\parindent}{-0.2in}
    \setlength{\leftskip}{0.2in}
    \setlength{\parskip}{8pt}
    \noindent