[wip] transforming eisvogel.latex into a new lenaisten.latex

- table of contents
- sections as TOP
This commit is contained in:
Jörn-Michael Miehe 2025-05-11 19:22:29 +00:00
parent 706f5bc96c
commit f7ae8705d0
2 changed files with 40 additions and 10 deletions

View file

@ -38,6 +38,6 @@
% Fußzeile
\newcommand{\Lenafooter}{%
Lenaisten e.V. -- Der Lena-Fanclub \\
Vertreten durch den Vorstand: \JMM, \DSP, \PD, \JS \\
\footnotesize Vertreten durch den Vorstand: \JMM, \DSP, \PD, \JS \\
Eingetragen im Vereinsregister des Amtsgerichts Mönchengladbach VR 4726
}

View file

@ -581,6 +581,16 @@ $endif$
\usepackage{graphicx}
\usepackage[pages=all]{background}
\setcounter{secnumdepth}{1}%
\setcounter{tocdepth}{2}%
\setkomafont{title}{\bfseries\scshape\huge}
\addtokomafont{author}{\itshape}
% Font for section title text
\setkomafont{section}{\huge}
% Redefine section label
\renewcommand*{\sectionformat}{\normalfont\Large TOP\ \thesection:\ }
\backgroundsetup{
scale=1,
opacity=0.3,
@ -593,8 +603,6 @@ $endif$
}%
}
% dekorierte Links
\let\oldhref\href
\renewcommand{\href}[2]{%
@ -621,10 +629,10 @@ $endif$
\AtBeginDocument{%
% Fußzeile
\TeXofficeAdjustfooter{%
\begin{minipage}[b]{.75\textwidth}%
\footnotesize \Lenafooter%
\begin{minipage}[b]{.8\textwidth}%
\Lenafooter%
\end{minipage} \hfill%
\begin{minipage}[b]{.20\textwidth}%
\begin{minipage}[b]{.15\textwidth}%
\raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}%
\end{minipage}%
}%
@ -979,15 +987,28 @@ $endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%BOOKMARK begin lenaisten title
\savegeometry{lenaisten}
% title page
\savegeometry{lenaisten}%
\begin{titlepage}%
\pdfbookmark[1]{$title$ $date$}{title}%
\TeXofficeNoheader%
\TeXofficeNofooter%
\TeXofficeGeometry%
\cfoot*{}%
\maketitle%
\begin{center}%
\includegraphics[width=2cm]{logo.png} \vfill%
\makeatletter%
% Print the title if defined
{\usekomafont{title}\@title\par}%
\vskip 1em%
% Print the author if defined
{\usekomafont{author}\@author\par}%
\vskip 1em%
% Print the date if defined
{\usekomafont{date}\@date\par}%
\makeatother%
\vskip 2cm%
\includegraphics[width=2cm]{logo.png}%
\vfill%
\renewcommand{\arraystretch}{2}%
\begin{tabular}{c@{\hskip .25em}lll}%
\faIcon{calendar-alt} & Datum: & \multicolumn{2}{c}{$date$} \tabularnewline%
@ -1008,7 +1029,16 @@ $endif$
\renewcommand{\arraystretch}{1}%
\end{center}%
\end{titlepage}%
\loadgeometry{lenaisten}
\loadgeometry{lenaisten}%
% table of contents
{%
\renewcommand{\contentsname}{Tagesordnung}%
\hypersetup{hidelinks}%
\pdfbookmark[1]{Tagesordnung}{toc}%
\tableofcontents%
}%
\newpage%
%BOOKMARK end lenaisten title
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%