1

Iam writing my thesis in r markdown and want to change the line spacing to 18 pt. But i cant find a solution for it. I only found the setting for onehalf spacing or 1.5 spacing but no for exactly some arbitrary pt.

Tschapaluba
  • 35
  • 1
  • 5

2 Answers2

1

If your output format is PDF, you can add

header-includes:
  - \usepackage{leading}
  - \leading{18pt}

to your YAML headers. Or just the LaTeX code to a preamble file you are including anyway.

Ralf Stubner
  • 26,263
  • 3
  • 40
  • 75
1

linestretch is the YAML directive for that.

With all the power and caveats that \setstretch brings I guess, if you are looking for a specific physical size.

mirh
  • 514
  • 8
  • 14