From 8db9905c144c3b1c0d3cd21c466a276dedb686e0 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Thu, 5 Dec 2019 22:41:01 +0100 Subject: Use B612 font --- pandoc/templates/elenq-article.latex | 11 ++++++++++- pandoc/templates/elenq-book.latex | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'pandoc/templates') 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}} -- cgit v1.2.3