[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 % Fußzeile
\newcommand{\Lenafooter}{% \newcommand{\Lenafooter}{%
Lenaisten e.V. -- Der Lena-Fanclub \\ 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 Eingetragen im Vereinsregister des Amtsgerichts Mönchengladbach VR 4726
} }

View file

@ -581,6 +581,16 @@ $endif$
\usepackage{graphicx} \usepackage{graphicx}
\usepackage[pages=all]{background} \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{ \backgroundsetup{
scale=1, scale=1,
opacity=0.3, opacity=0.3,
@ -593,8 +603,6 @@ $endif$
}% }%
} }
% dekorierte Links % dekorierte Links
\let\oldhref\href \let\oldhref\href
\renewcommand{\href}[2]{% \renewcommand{\href}[2]{%
@ -621,10 +629,10 @@ $endif$
\AtBeginDocument{% \AtBeginDocument{%
% Fußzeile % Fußzeile
\TeXofficeAdjustfooter{% \TeXofficeAdjustfooter{%
\begin{minipage}[b]{.75\textwidth}% \begin{minipage}[b]{.8\textwidth}%
\footnotesize \Lenafooter% \Lenafooter%
\end{minipage} \hfill% \end{minipage} \hfill%
\begin{minipage}[b]{.20\textwidth}% \begin{minipage}[b]{.15\textwidth}%
\raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}% \raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}%
\end{minipage}% \end{minipage}%
}% }%
@ -979,15 +987,28 @@ $endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%BOOKMARK begin lenaisten title %BOOKMARK begin lenaisten title
\savegeometry{lenaisten} % title page
\savegeometry{lenaisten}%
\begin{titlepage}% \begin{titlepage}%
\pdfbookmark[1]{$title$ $date$}{title}%
\TeXofficeNoheader% \TeXofficeNoheader%
\TeXofficeNofooter% \TeXofficeNofooter%
\TeXofficeGeometry% \TeXofficeGeometry%
\cfoot*{}% \cfoot*{}%
\maketitle%
\begin{center}% \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}% \renewcommand{\arraystretch}{2}%
\begin{tabular}{c@{\hskip .25em}lll}% \begin{tabular}{c@{\hskip .25em}lll}%
\faIcon{calendar-alt} & Datum: & \multicolumn{2}{c}{$date$} \tabularnewline% \faIcon{calendar-alt} & Datum: & \multicolumn{2}{c}{$date$} \tabularnewline%
@ -1008,7 +1029,16 @@ $endif$
\renewcommand{\arraystretch}{1}% \renewcommand{\arraystretch}{1}%
\end{center}% \end{center}%
\end{titlepage}% \end{titlepage}%
\loadgeometry{lenaisten} \loadgeometry{lenaisten}%
% table of contents
{%
\renewcommand{\contentsname}{Tagesordnung}%
\hypersetup{hidelinks}%
\pdfbookmark[1]{Tagesordnung}{toc}%
\tableofcontents%
}%
\newpage%
%BOOKMARK end lenaisten title %BOOKMARK end lenaisten title
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%