commit 5ee405b7665f61f7b37585807c35cbd6893976aa
parent c12ffe769d0568a490fe67ad4f5874801aaeff10
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date: Mon, 30 Sep 2024 12:11:36 -0300
do not force font family during pandoc invocation
It is better to set the font family from the style file, for example, to
set the font to a Helvetica like (Helvetica was the default font) you
can put the following code in the style file
```tex
\usepackage{helvet}
\renewcommand\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
```
Also the font size is reduced to 11pt by default
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/md2pdf b/md2pdf
@@ -30,11 +30,10 @@ input_format="markdown+startnum+tex_math_dollars+implicit_figures"\
usage && exit 2
pandoc --pdf-engine=xelatex \
- -V mainfont:"Helvetica" \
-V colorlinks=true \
-V linkcolor=teal \
-V urlcolor=teal \
- -V fontsize:12pt \
+ -V fontsize:11pt \
-H $style_path \
-f $input_format \
--shift-heading-level-by=-1 \