mirror of
https://gitlab.com/tiggr/a318.git
synced 2024-12-24 06:21:00 +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}
|
||||
|
||||
\cleardoublepage
|
||||
\null\newpage
|
||||
\thispagestyle{RWBackside}
|
||||
\newgeometry{outer=62mm, inner=15mm, top=20cm, bottom=2.5cm}
|
||||
|
||||
\mbox{ }\vfill % pushing following text to bottom ;-)
|
||||
|
||||
Dieses Dokument wurde nur unter der Verwendung von Open Source Software erstellt:\\
|
||||
|
||||
\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/} \\
|
||||
%Scribus & \url{https://www.scribus.net/} \\
|
||||
Inkscape & \url{https://www.inkscape.org/} \\
|
||||
@ -20,26 +19,3 @@ LibreOffice & \url{https://www.libreoffice.org/} \\
|
||||
pdftk & \url{https://www.pdflabs.com/} \\
|
||||
Linux & \url{https://www.linux.org/}
|
||||
\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
|
||||
\input{teilnehmer.tex}
|
||||
|
||||
\newpage
|
||||
\listoffixmes
|
||||
|
||||
\input{backside.tex}
|
||||
|
||||
|
||||
\end{document}
|
||||
|
25
styles.tex
25
styles.tex
@ -30,6 +30,28 @@
|
||||
\usepackage{varioref}
|
||||
\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
|
||||
\directlua{
|
||||
fonts.handlers.otf.addfeature{
|
||||
@ -74,6 +96,7 @@
|
||||
%\addtocontents{toc}{\cftpagenumbersoff{subsection}}
|
||||
%\addtocontents{toc}{\cftpagenumbersoff{subsubsection}}
|
||||
\renewcommand{\cftsecfont}{}
|
||||
\renewcommand{\cftsecpagefont}{}
|
||||
|
||||
\pagenumbering{arabic}
|
||||
|
||||
@ -273,7 +296,7 @@
|
||||
\DeclareNewLayer[%
|
||||
align=tl,
|
||||
hoffset=15mm,
|
||||
voffset=22.2cm,
|
||||
voffset=21.7cm,
|
||||
width=35mm,
|
||||
height=60mm,
|
||||
contents={%
|
||||
|
Loading…
Reference in New Issue
Block a user