-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Christophe Demko edited this page Nov 29, 2017
·
4 revisions
In the metadata block, specific set of classes can be defined to specify the font size for span
, code
, div
and codeblock
elements.
The metadata block add information using the pandoc-latex-fontsize
entry by a list of definitions:
pandoc-latex-fontsize:
- classes: [smallcontent]
size: tiny
- classes: [largecontent, important]
size: huge
The metadata block above is used to set the fontsize:
- to
tiny
forspan
,code
,div
andcodeblock
elements that have thesmallcontent
class; - to
huge
forspan
,code
,div
andcodeblock
elements that have thelargecontent
andimportant
classes;
The font size specified must be either:
Huge
huge
LARGE
Large
large
normalsize
small
footnotesize
scriptsize
tiny
which are the name of LaTeX font sizes.
It's also possible to set a specific LaTeX font size using the latex-fontsize
attribute.
Demonstration: Using pandoc-latex-fontsize-sample.txt as input gives output file in pdf.