diff --git a/Makefile b/Makefile index 0d8388f83e6c6fc9689c9d11c599ae33cf14726b..f324ad1d64f3cdd03e005204c90e16f940403e92 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ BEAMEROPTIONS = -t beamer -BEAMEROPTIONS += --pdf-engine=pdflatex +BEAMEROPTIONS += --pdf-engine=xelatex BEAMEROPTIONS += --default-image-extension=pdf BEAMEROPTIONS += -V theme:metropolis BEAMEROPTIONS += -V themeoptions:numbering=none -V themeoptions:progressbar=foot BEAMEROPTIONS += -V fontsize=smaller BEAMEROPTIONS += --highlight-style espresso +BEAMEROPTIONS += -H ./header.tex --listings default: git_tutorial.md - pandoc -s $(BEAMEROPTIONS) -o git_tutorial.pdf git_tutorial.md \ No newline at end of file + pandoc -s $(BEAMEROPTIONS) -o git_tutorial.pdf git_tutorial.md diff --git a/header.tex b/header.tex new file mode 100644 index 0000000000000000000000000000000000000000..274cdbd95a104ad0c543dff6baf335142525a1dc --- /dev/null +++ b/header.tex @@ -0,0 +1,17 @@ +\lstset{ + basicstyle=\fontsize{7}{7}\ttfamily, + keywordstyle=\color[rgb]{0.13,0.29,0.53}\bfseries, + stringstyle=\color[rgb]{0.31,0.60,0.02}, + commentstyle=\color[rgb]{0.56,0.35,0.01}\itshape, + backgroundcolor=\color[RGB]{238,238,238}, + showspaces=false, + showstringspaces=false, + showtabs=false, + tabsize=4, + captionpos=b, + breaklines=true, + extendedchars=true, + columns=fixed, + frame=trbl, + framesep=4pt, +}