formatting/documentation
This commit is contained in:
		
							parent
							
								
									3d580f1c7f
								
							
						
					
					
						commit
						6e5525051d
					
				
					 2 changed files with 58 additions and 44 deletions
				
			
		|  | @ -574,23 +574,48 @@ $endif$ | |||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||
| %BOOKMARK begin lenaisten pre | ||||
| 
 | ||||
| % packages | ||||
| \usepackage[pages=all]{background} | ||||
| \usepackage[fixed]{fontawesome5} | ||||
| \usepackage{graphicx} | ||||
| \usepackage{lev-shorthands} | ||||
| \usepackage{lastpage} | ||||
| \usepackage{to-geom} | ||||
| \usepackage{graphicx} | ||||
| \usepackage[pages=all]{background} | ||||
| 
 | ||||
| \setcounter{secnumdepth}{1}% | ||||
| \setcounter{tocdepth}{2}% | ||||
| % page setup | ||||
| \TeXofficeHeadheight0cm | ||||
| \TeXofficeHeadsep0cm | ||||
| \TeXofficeFootsep.5cm | ||||
| \TeXofficeMargin2cm | ||||
| \TeXofficeResetmargins | ||||
| 
 | ||||
| % footer | ||||
| \AtBeginDocument{% | ||||
|   \TeXofficeAdjustfooter{% | ||||
|     \begin{minipage}[b]{.8\textwidth}% | ||||
|       \color{gray}\Lenafooter% | ||||
|     \end{minipage} \hfill% | ||||
|     \begin{minipage}[b]{.15\textwidth}% | ||||
|       \raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}% | ||||
|     \end{minipage}% | ||||
|   }% | ||||
| } | ||||
| 
 | ||||
| % number "section" tags | ||||
| \setcounter{secnumdepth}{1} | ||||
| % include down to "subsection" in TOC | ||||
| \setcounter{tocdepth}{2} | ||||
| 
 | ||||
| % titlepage fonts | ||||
| \setkomafont{title}{\bfseries\scshape\huge} | ||||
| \addtokomafont{author}{\itshape} | ||||
| % Font for section title text | ||||
| \addtokomafont{author}{\color{gray}} | ||||
| 
 | ||||
| % section title font | ||||
| \setkomafont{section}{\huge} | ||||
| % Redefine section label | ||||
| % section label format | ||||
| \renewcommand*{\sectionformat}{\normalfont\Large TOP\ \thesection:\ } | ||||
| 
 | ||||
| % logo in top right | ||||
| \backgroundsetup{ | ||||
|   scale=1, | ||||
|   opacity=0.3, | ||||
|  | @ -600,44 +625,15 @@ $endif$ | |||
|   vshift=-3cm, | ||||
|   contents={% | ||||
|     \includegraphics[width=2cm]{/opt/lenaisten/logo/flat.png}% | ||||
|   }% | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| % dekorierte Links | ||||
| % links with icons | ||||
| \let\oldhref\href | ||||
| \renewcommand{\href}[2]{% | ||||
|   \oldhref{#1}{\faIcon{external-link-alt}\underline{#2}}% | ||||
| } | ||||
| 
 | ||||
| \newcommand{\ALLE}{ALLE} | ||||
| \newcommand{\mALLE} {% | ||||
|   \colorbox{red!50}{% | ||||
|     \setlength\fboxsep{1pt}% | ||||
|     \colorbox{yellow!50}{A}% | ||||
|     \colorbox{green!50}{L}% | ||||
|     \colorbox{cyan!50}{L}% | ||||
|     \colorbox{blue!50}{E}% | ||||
|   }% | ||||
| } | ||||
| 
 | ||||
| \TeXofficeHeadheight0cm | ||||
| \TeXofficeHeadsep0cm | ||||
| \TeXofficeFootsep.5cm | ||||
| \TeXofficeMargin2cm | ||||
| \TeXofficeResetmargins | ||||
| 
 | ||||
| \AtBeginDocument{% | ||||
|   % Fußzeile | ||||
|   \TeXofficeAdjustfooter{% | ||||
|     \begin{minipage}[b]{.8\textwidth}% | ||||
|       \Lenafooter% | ||||
|     \end{minipage} \hfill% | ||||
|     \begin{minipage}[b]{.15\textwidth}% | ||||
|       \raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}% | ||||
|     \end{minipage}% | ||||
|   }% | ||||
| } | ||||
| 
 | ||||
| %BOOKMARK end lenaisten pre | ||||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||||
| 
 | ||||
|  | @ -990,22 +986,21 @@ $endif$ | |||
| % title page | ||||
| \savegeometry{lenaisten}% | ||||
| \begin{titlepage}% | ||||
|   \pdfbookmark[1]{$title$ $date$}{title}% | ||||
|   \TeXofficeNoheader% | ||||
|   \TeXofficeNofooter% | ||||
|   \TeXofficeGeometry% | ||||
|   \cfoot*{}% | ||||
|   \begin{center}% | ||||
|     % begin maketitle | ||||
|     \makeatletter% | ||||
|     % Print the title if defined | ||||
|     \pdfbookmark[1]{$title$ $date$}{title}% | ||||
|     {\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% | ||||
|     % end maketitle | ||||
|     \vskip 2cm% | ||||
|     \includegraphics[width=2cm]{/opt/lenaisten/logo/flat.png}% | ||||
|     \vfill% | ||||
|  | @ -1016,7 +1011,7 @@ $endif$ | |||
|       \faIcon{user-tie} & Sitzungsleiter: & \multicolumn{2}{c}{$Sitzungsleiter$} \tabularnewline% | ||||
|       \faIcon{user-edit} & Schriftführer:  & \multicolumn{2}{c}{$Schriftfuehrer$} \tabularnewline% | ||||
|       \faIcon{tools} & Beschlussfähig: & \multicolumn{2}{c}{$Beschlussfaehig$} \tabularnewline \hline% | ||||
|       % icon & Teilnehmer:& G1& A \\&&& B \\&&& C \\&& G2& A \\&&& B | ||||
|       % icon & Teilnehmer:& G1:& A \\&&& B \\&&& C \\&& G2:& A \\&&& B | ||||
|       \faIcon{users} & Teilnehmer:& | ||||
|       $for(Teilnehmer)$ | ||||
|         $Teilnehmer.Gruppe$:& | ||||
|  |  | |||
|  | @ -1,7 +1,10 @@ | |||
| \NeedsTeXFormat{LaTeX2e} | ||||
| \ProvidesPackage{lev-shorthands}[2025/05/08 Lenaistenpaket 2025] | ||||
| 
 | ||||
| % Namenskürzel | ||||
| %%%%%%%%% | ||||
| % Namen % | ||||
| %%%%%%%%% | ||||
| 
 | ||||
| % Vorstand | ||||
| \newcommand{\SP}{Stefan Peters} | ||||
| \newcommand{\DSP}{Dr. \SP} | ||||
|  | @ -41,3 +44,19 @@ | |||
|   \footnotesize Vertreten durch den Vorstand: \JMM, \DSP, \PD, \JS \\ | ||||
|   Eingetragen im Vereinsregister des Amtsgerichts Mönchengladbach VR 4726 | ||||
| } | ||||
| 
 | ||||
| %%%%%%%%%%%% | ||||
| % Sonstige % | ||||
| %%%%%%%%%%%% | ||||
| 
 | ||||
| % ALLE | ||||
| \newcommand{\ALLE}{ALLE} | ||||
| \newcommand{\mALLE} {% | ||||
|   \colorbox{red!50}{% | ||||
|     \setlength\fboxsep{1pt}% | ||||
|     \colorbox{yellow!50}{A}% | ||||
|     \colorbox{green!50}{L}% | ||||
|     \colorbox{cyan!50}{L}% | ||||
|     \colorbox{blue!50}{E}% | ||||
|   }% | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue