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"
|
## "Work Sans"
|
||||||
## "Archivo Narrow"
|
## "Archivo Narrow"
|
||||||
## "Sophia Nubian"
|
## "Sophia Nubian"
|
||||||
## "Limousine"
|
## "Limousine" - by OSP Foundry
|
||||||
## Monoid
|
## 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 \
|
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 sansfont=Futura \
|
||||||
--variable monofont=Inconsesi \
|
--variable monofont=Inconsesi \
|
||||||
--variable fontsize=9pt \
|
--variable fontsize=9pt \
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
paperheight=6.875in,
|
paperheight=6.875in,
|
||||||
paperwidth=4.25in,
|
paperwidth=4.25in,
|
||||||
top = 1.8cm,
|
top = 1.8cm,
|
||||||
bottom = 1.2cm,
|
bottom = 1.4cm,
|
||||||
left = 2cm,
|
left = 2cm,
|
||||||
right = 1.2cm,
|
right = 1.2cm,
|
||||||
footskip = 0.8cm,
|
footskip = 0.8cm,
|
||||||
@ -78,7 +78,17 @@ $endif$
|
|||||||
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
||||||
\newcommand{\euro}{€}
|
\newcommand{\euro}{€}
|
||||||
$if(mainfont)$
|
$if(mainfont)$
|
||||||
\setmainfont{$mainfont$}
|
\setmainfont[
|
||||||
|
$if(boldfont)$
|
||||||
|
BoldFont={$boldfont$},
|
||||||
|
$endif$
|
||||||
|
$if(italicfont)$
|
||||||
|
ItalicFont={$italicfont$},
|
||||||
|
$endif$
|
||||||
|
$if(bolditalicfont)$
|
||||||
|
BoldItalicFont={$bolditalicfont$}
|
||||||
|
$endif$
|
||||||
|
]{$mainfont$}
|
||||||
$endif$
|
$endif$
|
||||||
$if(sansfont)$
|
$if(sansfont)$
|
||||||
\setsansfont{$sansfont$}
|
\setsansfont{$sansfont$}
|
||||||
|
Loading…
Reference in New Issue
Block a user