Commit fdb1bfa0 authored by Harry Fuchs's avatar Harry Fuchs

2019-04-30

parent b2fb89ef
This diff is collapsed.
...@@ -94,7 +94,7 @@ $if(linestretch)$ ...@@ -94,7 +94,7 @@ $if(linestretch)$
\usepackage{setspace} \usepackage{setspace}
\setstretch{$linestretch$} \setstretch{$linestretch$}
$endif$ $endif$
\usepackage{amssymb,amsmath} \usepackage{amssymb,amsmath,unicode-math}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
...@@ -381,11 +381,13 @@ $endif$ ...@@ -381,11 +381,13 @@ $endif$
%custom %custom
\usepackage{cancel} \usepackage{cancel}
\usepackage{bbm}
\usepackage{nicefrac} \usepackage{nicefrac}
$if(tikz)$ $if(tikz)$
\usepackage{tikz, tikz-cd} \usepackage{tikz, tikz-cd}
$endif$ $endif$
\newcommand{ \intd }{ \,\mathrm d } \newcommand{ \intd }{ \,\mathrm d }
\newcommand{ \eins }{ \mathbbm{1} }
\begin{document} \begin{document}
......
...@@ -12,6 +12,10 @@ with open(filename, 'r') as file: ...@@ -12,6 +12,10 @@ with open(filename, 'r') as file:
copy = re.sub("(?<!\\\\)\%.*\n", '', copy) copy = re.sub("(?<!\\\\)\%.*\n", '', copy)
#turn on/off personal comments
#copy = re.sub("(?<!\\\\)\§.*\n", '', copy)
copy = re.sub("§", '', copy)
copy = re.sub("\$\$\n", '\\\\begin{eqnarray*}\n', copy, 1) copy = re.sub("\$\$\n", '\\\\begin{eqnarray*}\n', copy, 1)
copy = re.sub("\$\$\n", '\\\\end{eqnarray*}\n', copy, 1) copy = re.sub("\$\$\n", '\\\\end{eqnarray*}\n', copy, 1)
copy = re.sub("\$\$1\n", '\\\\begin{equation*}\n', copy, 1) copy = re.sub("\$\$1\n", '\\\\begin{equation*}\n', copy, 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment