mirror of
https://gitlab.com/tiggr/a318.git
synced 2024-12-25 14:40:59 +01:00
document allways has a multiple of 4 pages
This commit is contained in:
parent
523e1fdf86
commit
9bcea6d789
30
backside.tex
30
backside.tex
@ -1,15 +1,14 @@
|
|||||||
|
|
||||||
\newgeometry{left=60mm, right=15mm, top=20cm, bottom=2.5cm}
|
\null\newpage
|
||||||
|
|
||||||
\cleardoublepage
|
|
||||||
\thispagestyle{RWBackside}
|
\thispagestyle{RWBackside}
|
||||||
|
\newgeometry{outer=62mm, inner=15mm, top=20cm, bottom=2.5cm}
|
||||||
|
|
||||||
\mbox{ }\vfill % pushing following text to bottom ;-)
|
\mbox{ }\vfill % pushing following text to bottom ;-)
|
||||||
|
|
||||||
Dieses Dokument wurde nur unter der Verwendung von Open Source Software erstellt:\\
|
Dieses Dokument wurde nur unter der Verwendung von Open Source Software erstellt:\\
|
||||||
|
|
||||||
\definecolor{tableRow1}{RGB}{255,255,255}
|
\definecolor{tableRow1}{RGB}{255,255,255}
|
||||||
\begin{tabularx}{\textwidth}{lX}
|
\begin{tabularx}{\textwidth}{@{}lX}
|
||||||
{\fontspec{Latin Modern Roman}\hologo{LuaLaTeX}} & \url{http://www.luatex.org/} \\
|
{\fontspec{Latin Modern Roman}\hologo{LuaLaTeX}} & \url{http://www.luatex.org/} \\
|
||||||
%Scribus & \url{https://www.scribus.net/} \\
|
%Scribus & \url{https://www.scribus.net/} \\
|
||||||
Inkscape & \url{https://www.inkscape.org/} \\
|
Inkscape & \url{https://www.inkscape.org/} \\
|
||||||
@ -20,26 +19,3 @@ LibreOffice & \url{https://www.libreoffice.org/} \\
|
|||||||
pdftk & \url{https://www.pdflabs.com/} \\
|
pdftk & \url{https://www.pdflabs.com/} \\
|
||||||
Linux & \url{https://www.linux.org/}
|
Linux & \url{https://www.linux.org/}
|
||||||
\end{tabularx}
|
\end{tabularx}
|
||||||
|
|
||||||
% \begin{figure}[b]
|
|
||||||
% \begin{subfigure}[b]{0.22\textwidth}
|
|
||||||
% \begin{center}
|
|
||||||
% \vspace{-14pt}
|
|
||||||
% \includegraphics[width=\textwidth]{Bilder/opensource.pdf}
|
|
||||||
% \end{center}
|
|
||||||
% \end{subfigure}%
|
|
||||||
% \hfill%
|
|
||||||
% \begin{subfigure}[b]{0.72\textwidth}
|
|
||||||
% Dieses Dokument wurde nur unter der Verwendung von Open Source Software erstellt:\\
|
|
||||||
%
|
|
||||||
% \begin{tabularx}{\textwidth}{lX}
|
|
||||||
% {\fontspec{Latin Modern Roman} \LaTeX} & \url{https://www.latex-project.org/} \\
|
|
||||||
% Scribus & \url{http://www.scribus.net/} \\
|
|
||||||
% Inkscape & \url{http://www.inkscape.org/} \\
|
|
||||||
% The Gimp & \url{http://www.gimp.org/} \\
|
|
||||||
% LibreOffice & \url{http://de.openoffice.org/} \\
|
|
||||||
% pdftk & \url{http://www.pdfhacks.com/pdftk/} \\
|
|
||||||
% Linux & \url{http://www.linux.org/}
|
|
||||||
% \end{tabularx}
|
|
||||||
% \end{subfigure}
|
|
||||||
% \end{figure}
|
|
||||||
|
9
main.tex
9
main.tex
@ -264,20 +264,11 @@ Für den Stabtunnel wird die Mitte des Schrägbands markiert. Das Schrägband an
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\cleardoublepage
|
\cleardoublepage
|
||||||
\input{teilnehmer.tex}
|
\input{teilnehmer.tex}
|
||||||
|
|
||||||
\newpage
|
\newpage
|
||||||
\listoffixmes
|
\listoffixmes
|
||||||
|
|
||||||
\input{backside.tex}
|
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
25
styles.tex
25
styles.tex
@ -30,6 +30,28 @@
|
|||||||
\usepackage{varioref}
|
\usepackage{varioref}
|
||||||
\usepackage{csvsimple}
|
\usepackage{csvsimple}
|
||||||
|
|
||||||
|
\usepackage{refcount,lastpage}
|
||||||
|
\usepackage{kantlipsum}
|
||||||
|
\makeatletter
|
||||||
|
\newcommand{\checkmultipleoffour}{%
|
||||||
|
\count@=\getpagerefnumber{LastPage}%
|
||||||
|
\count@=\the\numexpr\count@+1\relax
|
||||||
|
\@tempcnta=\count@
|
||||||
|
\divide\@tempcnta by 4
|
||||||
|
\multiply\@tempcnta by 4
|
||||||
|
\count@=\numexpr\count@-\@tempcnta\relax
|
||||||
|
\ifnum\count@>0
|
||||||
|
\pagestyle{empty}
|
||||||
|
\loop\ifnum\count@<3
|
||||||
|
\null\clearpage
|
||||||
|
\advance\count@\@ne
|
||||||
|
\repeat
|
||||||
|
\fi
|
||||||
|
\input{backside.tex}
|
||||||
|
}
|
||||||
|
\makeatother
|
||||||
|
\AtEndDocument{\checkmultipleoffour}
|
||||||
|
|
||||||
% font settings
|
% font settings
|
||||||
\directlua{
|
\directlua{
|
||||||
fonts.handlers.otf.addfeature{
|
fonts.handlers.otf.addfeature{
|
||||||
@ -74,6 +96,7 @@
|
|||||||
%\addtocontents{toc}{\cftpagenumbersoff{subsection}}
|
%\addtocontents{toc}{\cftpagenumbersoff{subsection}}
|
||||||
%\addtocontents{toc}{\cftpagenumbersoff{subsubsection}}
|
%\addtocontents{toc}{\cftpagenumbersoff{subsubsection}}
|
||||||
\renewcommand{\cftsecfont}{}
|
\renewcommand{\cftsecfont}{}
|
||||||
|
\renewcommand{\cftsecpagefont}{}
|
||||||
|
|
||||||
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
||||||
|
|
||||||
@ -273,7 +296,7 @@
|
|||||||
\DeclareNewLayer[%
|
\DeclareNewLayer[%
|
||||||
align=tl,
|
align=tl,
|
||||||
hoffset=15mm,
|
hoffset=15mm,
|
||||||
voffset=22.2cm,
|
voffset=21.7cm,
|
||||||
width=35mm,
|
width=35mm,
|
||||||
height=60mm,
|
height=60mm,
|
||||||
contents={%
|
contents={%
|
||||||
|
Loading…
Reference in New Issue
Block a user