From 8db9905c144c3b1c0d3cd21c466a276dedb686e0 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Thu, 5 Dec 2019 22:41:01 +0100
Subject: Use B612 font

---
 pandoc/templates/elenq-book.latex | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'pandoc/templates/elenq-book.latex')

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}}
-- 
cgit v1.2.3

