summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-08-12 18:24:29 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-08-12 18:24:29 +0200
commit993a0cb6d93865bd585ccfa9f5e3be19cb74510a (patch)
tree7365b48dbfaf93d0fb3788738458248d605a62f1
parent8db9905c144c3b1c0d3cd21c466a276dedb686e0 (diff)
Change the fonts on codeblocks
-rw-r--r--pandoc/templates/elenq-article.latex5
-rw-r--r--pandoc/templates/elenq-book.latex7
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}{%