Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 1.31 KB

template.md

File metadata and controls

58 lines (47 loc) · 1.31 KB
title author date subtitle documentclass numbersections mainfont mainfontoptions sansfontoptions sansfont monofont monofontoptions geometry urlcolor linkcolor toccolor colorlinks fontsize header-includes
Your book
Your name here
\date{\today}
\date{\today}
scrartcl
true
Rosario
Numbers=Lining
Numbers=Lining
Rosario
Ubuntu Mono
Scale=0.8
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}

This is a chapter that won't have number in table of contents {-}

The {-} does that. Pandoc also supports labels for references.

See https://pandoc.org/MANUAL.html#pandocs-markdown

This is a chapter title

Lots o' markdown.

This is another chapter title

More text.

Instructions

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