summaryrefslogtreecommitdiff
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
parent6853f541261227cd0c93b345036474fa3b3141b7 (diff)
Use B612 font
-rw-r--r--pandoc/templates/elenq-article.latex11
-rw-r--r--pandoc/templates/elenq-book.latex11
2 files changed, 20 insertions, 2 deletions
diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex
index fdeab1d..47aa9d3 100644
--- a/pandoc/templates/elenq-article.latex
+++ b/pandoc/templates/elenq-article.latex
@@ -185,6 +185,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
@@ -233,7 +241,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}}
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}}