123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- \documentclass[12pt, a4paper,oneside]{article}
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % alle benötigten Pakete werden hier eingebunden
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- \usepackage{german}
- \usepackage[utf8]{inputenc} %Damit man ohne Probleme Umlaute eingeben kann
- \usepackage{fancyhdr}
- \usepackage{eso-pic} %% AddtoShipPicture nutzen
- \usepackage{booktabs}
- \usepackage{xcolor}
- \usepackage{longtable}
- \usepackage{graphicx}
- \usepackage{longtable} %lange Tabellen über mehrere Seiten erstellen
- \usepackage{lastpage}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Selbst definierte Style-Dateien
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \newenvironment{blatt}[2]
- {
- \ClearShipoutPicture
- \AddToShipoutPicture{
- \renewcommand{\headrulewidth}{0.0pt}
- \renewcommand{\footrulewidth}{0.0pt}
- \thicklines
- \put(50,42){\framebox(500,755){}}
- \put(39,66){\rotatebox{90}{\makebox(100,7)[l]{\scriptsize{\tt \VAR{full_folder}}}}}
- \put(555,94){\rotatebox{90}{\makebox(100,22)[l]{\bfseries #1\,(\thepage/\,\pageref{LastPage})}}}
- \put(555,66){\includegraphics[height=20pt]{icons/#2}}
- \put(65,30){\makebox(100,7)[l]{\scriptsize \today }}
- }
- }
- {
- \newpage
- }
-
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Einzug verändert und größerer Zeilenabstand
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \parindent0.0em % 1. Zeile nicht einrücken
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Schriftart
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \renewcommand\familydefault{\sfdefault}
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Abstände
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \pagestyle{empty}
- % Größe des Textbereiches in der Seite
- \setlength{\textwidth}{16.4cm}
- \setlength{\textheight}{24.5cm}
- % Kopf- und Fußzeile, Höhe und Abstand vom Text
- \setlength{\headheight}{0pt}
- \setlength{\headsep}{0pt}
- \setlength{\topmargin}{-1cm}
- % Linker Seiteneinzug
- \setlength{\oddsidemargin}{2.35cm} \addtolength{\oddsidemargin}{-1in}
- \setlength{\evensidemargin}{2.35cm} \addtolength{\evensidemargin}{-1in}
- \addtolength{\topmargin}{1.1cm}
- \setlength{\parskip}{0,75em}
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Überschriftformatierung
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \usepackage{titlesec}
- \titleformat{name=\section}[block]
- {\large}
- {}
- {0pt}
- {\colorsection}
- \titlespacing*{\section}{0pt}{\baselineskip}{\baselineskip}
-
- \newcommand{\colorsection}[1]{%
- \colorbox{black!25}{\parbox{\dimexpr\textwidth-2\fboxsep}{\bf #1}}}
-
- \titleformat{name=\subsection}[block]
- {\large}
- {}
- {0pt}
- {\colorsubsection}
- \titlespacing*{\subsection}{0pt}{\baselineskip}{\baselineskip}
-
- \newcommand{\colorsubsection}[1]{%
- \colorbox{black!10}{\parbox{\dimexpr\textwidth-2\fboxsep}{#1}}}
-
-
- \begin{document}
- %Schriftart setzen
-
- \begin{blatt}{Titel des Dokuments}{info} % Possible Icons: folie, info, merk, station
- \section{Überschrift}
- Text
- \end{blatt}
-
- \end{document}
|