-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Christophe Demko edited this page Jun 13, 2018
·
1 revision
In the metadata block, specific set of classes can be defined to specify the margins for div
and codeblock
elements.
The metadata block add information using the pandoc-latex-margin
entry by a list of definitions:
pandoc-latex-margin:
- classes: [myclass]
left: 1cm
right: 2cm
The metadata block above is used to set the margins:
- to
1cm
for left margin ondiv
andcodeblock
elements that have themyclass
class; - to
2cm
for right margin ondiv
andcodeblock
elements that have themyclass
class;
The margins specified must be expressed in LaTeX syntax.
It's also possible to set a specific LaTeX margin using the latex-left-margin
and latex-right-margin
attributes.