--- documentclass: scrartcl fontsize: 12pt pagesize: a4paper lang: en-GB classoption: - landscape header-includes: - \usepackage{lipsum} include-before: - | ```{=latex} \begin{center} \hfill \break% \Huge{Minimal Non-Working Example of Landscape}\\[0.5em] \Large{ With Pandoc from Markdown to PDF }\\[1.2em] \Large{ Marek Stepanek }\\[1.2em] \large{Last Edit: Munich \today}\\[1.5em] \end{center} ``` - \tableofcontents - \bigskip --- # Foreword This is a Minimal Non-Working example of wrong page-layout with `documentclass: scrartcl` in a YAML-Header. I need this layout for large and long tables. Probably this is not a Pandoc-Forum question, more a \LaTeX{} one? Sorry about it ... As you may see here: the page-layout is wrong. Is this really `pagesize: a4paper`? At the end I inserted my `Makefile`. Thank you for your help. Also, if it is off-topic here. # New Chapter ```{=latex} \lipsum[1] ``` # Second Chapter ```{=latex} \lipsum[2] ``` # Third Chapter ```{=latex} \lipsum[3] ``` \newpage # Annex I am compiling this page with following `Makefile`: ```{.yaml} all: save typeset open .PHONY: all save: w typeset: pandoc \ --from markdown \ --to latex \ --pdf-engine pdflatex \ --out mwd.pdf \ mwd.md open: open mwd.pdf ```