mirror of
https://github.com/greyscalepress/manifestos.git
synced 2024-12-17 20:14:18 -05:00
enabling font choice for bold, italic, bold-italic.
This commit is contained in:
parent
6499c30323
commit
c620c4d904
@ -50,11 +50,15 @@ END {
|
||||
## "Work Sans"
|
||||
## "Archivo Narrow"
|
||||
## "Sophia Nubian"
|
||||
## "Limousine"
|
||||
## Monoid
|
||||
## "Limousine" - by OSP Foundry
|
||||
## Monoid - by Andreas Larsen
|
||||
## HK Grotesk - by Alfredo Marco Pradil, Hanken Design Co.
|
||||
|
||||
pandoc -f markdown -o $OUTPUT --template=../templates/customV2 $TEMP --latex-engine=xelatex \
|
||||
--variable mainfont="Monoid" \
|
||||
--variable mainfont="Roboto" \
|
||||
--variable boldfont="Roboto Bold" \
|
||||
--variable italicfont="Roboto Italic" \
|
||||
--variable bolditalicfont="Roboto Bold Italic" \
|
||||
--variable sansfont=Futura \
|
||||
--variable monofont=Inconsesi \
|
||||
--variable fontsize=9pt \
|
||||
|
@ -8,7 +8,7 @@
|
||||
paperheight=6.875in,
|
||||
paperwidth=4.25in,
|
||||
top = 1.8cm,
|
||||
bottom = 1.2cm,
|
||||
bottom = 1.4cm,
|
||||
left = 2cm,
|
||||
right = 1.2cm,
|
||||
footskip = 0.8cm,
|
||||
@ -78,7 +78,17 @@ $endif$
|
||||
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
||||
\newcommand{\euro}{€}
|
||||
$if(mainfont)$
|
||||
\setmainfont{$mainfont$}
|
||||
\setmainfont[
|
||||
$if(boldfont)$
|
||||
BoldFont={$boldfont$},
|
||||
$endif$
|
||||
$if(italicfont)$
|
||||
ItalicFont={$italicfont$},
|
||||
$endif$
|
||||
$if(bolditalicfont)$
|
||||
BoldItalicFont={$bolditalicfont$}
|
||||
$endif$
|
||||
]{$mainfont$}
|
||||
$endif$
|
||||
$if(sansfont)$
|
||||
\setsansfont{$sansfont$}
|
||||
|
Loading…
Reference in New Issue
Block a user