From 993a0cb6d93865bd585ccfa9f5e3be19cb74510a Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 12 Aug 2020 18:24:29 +0200 Subject: Change the fonts on codeblocks --- pandoc/templates/elenq-article.latex | 5 +---- pandoc/templates/elenq-book.latex | 7 ++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex index 47aa9d3..7ce6c8e 100644 --- a/pandoc/templates/elenq-article.latex +++ b/pandoc/templates/elenq-article.latex @@ -186,11 +186,8 @@ $endif$ BoldItalicFont = Lato-BoldItalic.ttf ]{Lato-Regular.ttf} -\newfontfamily\code{B612Mono_Regular.ttf}[ +\newfontfamily\code{B612 Mono}[ NFSSFamily = b612, - BoldFont = B612Mono_Bold.ttf, - ItalicFont = B612Mono_Italic.ttf, - BoldItalicFont = B612Mono_BoldItalic.ttf, Scale = 0.90, ] \newcommand{\euro}{€} diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex index 6011dcc..fa1dfe2 100644 --- a/pandoc/templates/elenq-book.latex +++ b/pandoc/templates/elenq-book.latex @@ -185,11 +185,8 @@ $endif$ BoldItalicFont = Lato-BoldItalic.ttf ]{Lato-Regular.ttf} -\newfontfamily\code{B612Mono_Regular.ttf}[ +\newfontfamily\code{B612 Mono}[ NFSSFamily = b612, - BoldFont = B612Mono_Bold.ttf, - ItalicFont = B612Mono_Italic.ttf, - BoldItalicFont = B612Mono_BoldItalic.ttf, Scale = 0.90, ] \newcommand{\euro}{€} @@ -365,7 +362,7 @@ $endif$ \fancyfoot{} % clear footer \renewcommand{\footrulewidth}{0.4pt} \fancyfoot[RO, LE]{\thepage} -\fancyfoot[LO, RE]{$author$} +\fancyfoot[RE]{$author$} % Header on CHAPTER PAGE TODO \fancypagestyle{chapter}{% -- cgit v1.2.3