title | author | date | subtitle | documentclass | numbersections | mainfont | mainfontoptions | sansfontoptions | sansfont | monofont | monofontoptions | geometry | urlcolor | linkcolor | toccolor | colorlinks | fontsize | header-includes | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Your book |
|
\date{\today} |
\date{\today} |
scrartcl |
true |
Rosario |
|
|
Rosario |
Ubuntu Mono |
|
margin=0.75in,includefoot |
blue |
blue |
blue |
true |
16pt |
\usepackage{fvextra}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,commandchars=\\\{\}}
\usepackage{setspace}
\setstretch{1.10}
\usepackage{sectsty}
\sectionfont{\clearpage}
\usepackage[document]{ragged2e}
\usepackage{float}
\floatplacement{figure}{H}
|
The {-}
does that. Pandoc also supports labels for references.
See https://pandoc.org/MANUAL.html#pandocs-markdown
Lots o' markdown.
More text.
Change the font from Rosario / Ubuntu Mono to your font of choice; any installed font should work. Change the line spacing by changing value in \setstretch{}
, it defaults to 1.1.
To convert to PDF:
$ pandoc -s --toc --pdf-engine=xelatex -V --toc-depth 2 --highlight-style=tango yourbook.md --out yourbook.pdf