unerhebliche schoenheitskorrekturen

This commit is contained in:
Bela 2017-10-03 12:24:28 +02:00
parent fa79b06ac1
commit df1f636c4c
6 changed files with 13 additions and 11 deletions

0
scripts/maindircreate.py Normal file → Executable file
View file

View file

@ -1,4 +1,5 @@
%! TEX program = lualatex
%! TEX program = lualatex
\input{.maindir/tex/header/preamble-section}
\docStart
@ -784,4 +785,4 @@ of functions, using the Young inequality for convolutions:
\end{align*}
\end{proof}
\docEnd
\docEnd

View file

@ -1,4 +1,5 @@
%! TEX program = lualatex
%! TEX program = lualatex
\input{.maindir/tex/header/preamble-section}
\docStart

1
tex/header/.maindir Symbolic link
View file

@ -0,0 +1 @@
../..

View file

@ -1,3 +1,5 @@
%! TEX program = lualatex
%==============================================================================
% LaTeX-Magic
%
@ -8,10 +10,9 @@
% in the compiled document, it's 0 and with every \maininput it is increased by one
% and decreased by one after the input
% if I find \docEnd while filedepthSkript is 0, I know that the document is finished, I need \end{document}
\ifdefined\docStart {% then it's not the first time this is inputed
\ifdefined\docStart % then it's not the first time this is inputed
% preamble, docstart and docend and filedepthSkript do not need to be defined
}
\else{
\else
\input{.maindir/tex/header/preamble}
% -----------------------------
% \input should not be used!!!!
@ -30,20 +31,15 @@
\newcommand{\textinput}[1]{\maininput{tex/#1}}
\newcommand{\docStart}{%
\ifnum\value{filedepthSkript}=0 % just increased by one in the line above
{
\begin{document}
}
\fi
}
\newcommand{\docEnd}{%
% Unser Counter hat den Wert \thefiledepthSkript. % Debug-Meldung
\ifnum\value{filedepthSkript}=0
{
\end{document}
}
\fi
}
}
\fi

View file

@ -1,3 +1,5 @@
%! TEX program = lualatex
\documentclass{scrartcl}
\usepackage[tikz]{belamath} % , scriptLetters
@ -7,6 +9,7 @@
\setmonofont{Latin Modern Mono}
\setmathfont{Latin Modern Math}
\addbibresource{./.maindir/tex/bibliography.bib}
% ---------------------------------------------------------------
% Custom commands, rougly grouped
% ---------------------------------------------------------------