lev-templates/docs/lenaisten.old.tex

178 lines
3.9 KiB
TeX

%!TEX TS-program = pdflatex
\documentclass[pdftex,a4paper,12pt]{scrartcl}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% packages
\usepackage[lang-ngerman,ie-utf8,fe-T1]{to-standards}
\usepackage{texoffice}
\usepackage{graphicx}
\usepackage{pifont}
\usepackage[pdftex,
pdfusetitle,
pdfsubject={Vereinsprotokoll des Lenaisten e.V.},
pdfkeywords={Lenaisten, Lena, Verein, eV, Protokoll},
pdfproducer={pdfLaTeX},
pdfcreator={pandoc}]{hyperref}
\usepackage{titlesec}
\usepackage{eurosym}
\usepackage[autostyle]{csquotes}
\MakeOuterQuote{"}
\usepackage{lastpage}
\usepackage[normalem]{ulem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PANDOC
\providecommand{\tightlist}{%
% \setlength{\itemsep}{.5ex}\setlength{\parskip}{.5ex}%
% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}%
}
$if(verbatim-in-note)$
\usepackage{fancyvrb}
$endif$
$if(fancy-enums)$
\makeatletter\AtBeginDocument{%
\renewcommand{\@listi}
{\setlength{\labelwidth}{4em}}
}\makeatother
\usepackage{enumerate}
$endif$
$if(tables)$
\usepackage{array}
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\let\PBS=\PreserveBackslash
$endif$
$if(subscript)$
\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
$endif$
% -- allows verbatim text in footnotes
$if(verbatim-in-note)$
\VerbatimFootnotes
$endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Lenaisten
\usepackage{lenaisten-2024}
\makeatletter
\newcommand{\phinvtabularnewline}
{\tabularnewline[-\@TeXofficeGoldenRatioInv em]}
\makeatother
% Interna
% \usepackage{environ}
%
% $if(redacted)$
% \usepackage{ifthen}
% \NewEnviron{redacted}[1][]%
% {\ifthenelse{\not\equal{#1}{}}{#1\ }{} [intern]}
% $else$
% \NewEnviron{redacted}[1][]%
% {\textsl{\BODY}}
% $endif$
\newcommand{\redact}[2][]
{\begin{redacted}[#1]#2\end{redacted}}
% dekorierte Links
\let\oldhref\href
\renewcommand{\href}[2]{%
\oldhref{#1}{\scalebox{1.3}{\raisebox{-0.3ex}{\ding{234}}}\,\underline{#2}}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Präambel
$if(title)$
\TeXofficeSetDocumentTitle{$title$}%
\title{$title$}
$endif$
\author{$for(author)$$author$$sep$\\$endfor$}
$if(date)$
\date{$date$}
$endif$
\TeXofficeMargin2cm
\TeXofficeResetmargins
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dokument
\begin{document}
%
% Kopfzeile
\TeXofficeHeader{%
\begin{flushright}%
\includegraphics[width=2cm]{img/logo_wm.png}%
\end{flushright}%
}%
%
\begin{titlepage}%
\maketitle%
\begin{center}%
\includegraphics[width=2cm]{./img/logo.png}%
\vfill%
\renewcommand{\arraystretch}{2}%
\begin{tabular}{lll}%
Datum: & \multicolumn{2}{c}{$date$} \tabularnewline%
Uhrzeit: & \multicolumn{2}{c}{$Sitzungsbeginn$h -- $Sitzungsende$h} \tabularnewline%
Sitzungsleiter: & \multicolumn{2}{c}{$Sitzungsleiter$} \tabularnewline%
Schriftführer: & \multicolumn{2}{c}{$Schriftfuehrer$} \tabularnewline \hline%
% Teilnehmer:& G1& A \\&& B \\&& C \\& G2& A \\&& B
Teilnehmer:&
$for(Teilnehmer)$
$Teilnehmer.Gruppe$:&
$for(Teilnehmer.Anwesend)$
$Teilnehmer.Anwesend$
$sep$\phinvtabularnewline&&
$endfor$
$sep$\tabularnewline&
$endfor$
\end{tabular}%
\renewcommand{\arraystretch}{1}%
\end{center}%
\end{titlepage}%
%
% Sectionnummern
\titleformat{\section}[hang]{\Huge\bfseries}{\thesection}{0pt}{\Huge\bfseries}%
\renewcommand{\contentsname}{Tagesordnung}%
\tableofcontents%
\newpage%
$if(alignment)$
\begin{$alignment$}
$endif$
% Fußzeile
\TeXofficeAdjustfooter{%
\begin{minipage}[b]{.75\textwidth}
\footnotesize \Lenafooter
\end{minipage} \hfill
\begin{minipage}[b]{.20\textwidth}
\raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}%
\end{minipage}
}
% Sectionnummern
\setcounter{secnumdepth}{1}%
\titleformat{\section}[block]{\Large\bfseries}{TOP \thesection:\ }{0pt}{\Huge\scshape}%
$body$
$if(alignment)$
\end{$alignment$}
$endif$
\end{document}