From b8017373137d101d071003a5a81bb8d481f40871 Mon Sep 17 00:00:00 2001 From: Christoph Giess Date: Sat, 1 Apr 2023 22:27:37 +0200 Subject: [PATCH] Latex-Workarounds: Zweizeiliger Autor-Name und A4-Papier --- jupyter_book/Makefile | 4 +++- jupyter_book/_config.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jupyter_book/Makefile b/jupyter_book/Makefile index c0d6ce1..3552492 100644 --- a/jupyter_book/Makefile +++ b/jupyter_book/Makefile @@ -3,6 +3,8 @@ all: html pdf html: jupyter-book build . pdf: - jupyter-book build --builder pdflatex . + jupyter-book build --builder latex . + cd _build/latex && sed -i -e 's/letterpaper/a4paper/' -e 's/\(Dr\. Christoph G\)/\\hspace{8.2em}\1/' python_intro.tex && make && cd ../.. + clean: rm -rf _build diff --git a/jupyter_book/_config.yml b/jupyter_book/_config.yml index c3c22fe..aa74ef3 100644 --- a/jupyter_book/_config.yml +++ b/jupyter_book/_config.yml @@ -14,6 +14,9 @@ execute: latex: latex_documents: targetname: python_intro.tex + author: Dr. Christoph Giess \\ MARS – Center for Entrepreneurship + latex_show_urls: inline + latex_show_pagerefs: true sphinx: extra_extensions: