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