Parcourir la source

A7-Format für Definitionen

Martin Thoma il y a 11 ans
Parent
commit
3453362e59

BIN
documents/GeoTopo/definitions/definitionen.pdf


+ 1 - 1
documents/GeoTopo/definitions/generateDefinitions.py

@@ -10,7 +10,7 @@ def get_definitions(filename):
 
     pattern = re.compile(r"\\begin{definition}.*?\\end{definition}", re.DOTALL)
     m = re.findall(pattern, content)
-    return "\n\n".join(m)
+    return "\\vspace*{\\fill}"+("\n\\vspace*{\\fill}\\clearpage\\vspace*{\\fill}\n".join(m))
 
 def write_definitions_to_template(definitions, template="mathe-vorlage.tex", target="definitionen.tex"):
     with open(template) as f:

+ 2 - 1
documents/GeoTopo/definitions/mathe-vorlage.tex

@@ -1,4 +1,4 @@
-\documentclass[a4paper,9pt]{scrartcl}
+\documentclass[a7paper,9pt,landscape]{scrartcl}
 \usepackage{etoolbox}
 \usepackage{amsmath,amssymb}% math symbols / fonts
 \usepackage{mathtools}      % \xRightarrow
@@ -35,6 +35,7 @@
 \usepackage{tqft}
 \usepackage{xspace}   % for new commands; decides weather I want to insert a space after the command
 \usepackage[german,nameinlink]{cleveref} % has to be after hyperref, ntheorem, amsthm
+\usepackage[left=10mm,right=10mm, top=2mm, bottom=10mm]{geometry}
 \usepackage{shortcuts}
 
 \clubpenalty  = 10000   % Schusterjungen verhindern