mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-25 22:38:04 +02:00
A7-Format für Definitionen
This commit is contained in:
parent
9b9e6e6e00
commit
3453362e59
3 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue