summaryrefslogtreecommitdiff
path: root/pandoc/templates/elenq-book.latex
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2019-12-05 22:41:01 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2019-12-05 22:41:01 +0100
commit8db9905c144c3b1c0d3cd21c466a276dedb686e0 (patch)
treec5780b210f25424b226195f599149f2be52d0d67 /pandoc/templates/elenq-book.latex
parent6853f541261227cd0c93b345036474fa3b3141b7 (diff)
Use B612 font
Diffstat (limited to 'pandoc/templates/elenq-book.latex')
-rw-r--r--pandoc/templates/elenq-book.latex11
1 files changed, 10 insertions, 1 deletions
diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex
index 23fadb0..6011dcc 100644
--- a/pandoc/templates/elenq-book.latex
+++ b/pandoc/templates/elenq-book.latex
@@ -184,6 +184,14 @@ $endif$
ItalicFont = Lato-Italic.ttf,
BoldItalicFont = Lato-BoldItalic.ttf
]{Lato-Regular.ttf}
+
+\newfontfamily\code{B612Mono_Regular.ttf}[
+ NFSSFamily = b612,
+ BoldFont = B612Mono_Bold.ttf,
+ ItalicFont = B612Mono_Italic.ttf,
+ BoldItalicFont = B612Mono_BoldItalic.ttf,
+ Scale = 0.90,
+]
\newcommand{\euro}{€}
% Pretty hyperlinks
@@ -232,7 +240,8 @@ $endif$
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{
commandchars=\\\{\},
- fontsize=\footnotesize}
+ fontsize=\footnotesize,
+ fontfamily=b612}
\newenvironment{Shaded}{}{}
\newcommand{\AlertTok}[1]{\textbf{#1}}
\newcommand{\AnnotationTok}[1]{\textit{#1}}