some changes

This commit is contained in:
erichhasl
2017-11-07 23:50:02 +01:00
parent 76d810a25a
commit 048573c3b4
3 changed files with 11 additions and 8 deletions
+8 -7
View File
@@ -21,6 +21,7 @@
left=13mm, left=13mm,
right=13mm, right=13mm,
top=8mm, top=8mm,
bottom=8mm,
includeheadfoot} includeheadfoot}
% ENABLE FANCY HEADERS % ENABLE FANCY HEADERS
@@ -100,10 +101,10 @@
\setcounter{secnumdepth}{0} \setcounter{secnumdepth}{0}
% DEFINE SPACING BETWEEN ITEMS % DEFINE SPACING BETWEEN ITEMS
\setlength{\cftbeforesecskip}{-3mm} \setlength{\cftbeforesecskip}{1mm}
\setlength{\cftbeforetoctitleskip}{0mm} \setlength{\cftbeforetoctitleskip}{0mm}
\setlength{\cftaftertoctitleskip}{-10mm} \setlength{\cftaftertoctitleskip}{5cm}
% SET DOTS FOR SECTIONS % SET DOTS FOR SECTIONS
\renewcommand{\cftsecdotsep}{\cftdotsep} \renewcommand{\cftsecdotsep}{\cftdotsep}
@@ -118,11 +119,11 @@
% CUSTOM TOC COMMAND % CUSTOM TOC COMMAND
\newcommand{\mycontents}{% \newcommand{\mycontents}{%
\vspace{4mm}
\ostyle \ostyle
\begin{tabular}{lp{.9\textwidth}} \begin{tabular}{lp{.9\textwidth}}
\textbf{Inhalt:} & \tableofcontents \\ \textbf{Inhalt:} & \tableofcontents \\
\end{tabular} \end{tabular}
\vspace*{-5cm}
} }
% --------------------------------------- % ---------------------------------------
@@ -133,7 +134,7 @@
\setlength{\arrayrulewidth}{.3mm} \setlength{\arrayrulewidth}{.3mm}
% SET CELL HEIGHT % SET CELL HEIGHT
\renewcommand{\arraystretch}{2.5} %\renewcommand{\arraystretch}{2.5}
% DEFINE OWN COLUMN TYPE % DEFINE OWN COLUMN TYPE
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
@@ -146,13 +147,13 @@
\textbf{\ostyle{\HUGE{\@title}}} \textbf{\ostyle{\HUGE{\@title}}}
\end{center} \end{center}
\vspace{5mm} \vspace{5mm}
\begin{tabular}{P{\dimexpr.1\textwidth-2\tabcolsep}|P{\dimexpr.8\textwidth-2\tabcolsep}|P{\dimexpr.1\textwidth-2\tabcolsep}} \begin{tabular}{M{\dimexpr.1\textwidth-2\tabcolsep}|M{\dimexpr.8\textwidth-2\tabcolsep}|M{\dimexpr.1\textwidth-2\tabcolsep}@{}m{0pt}@{}}
\hline \hline
\large \ostyle{\TheLastWord{\@datum}} & \large \ostyle{\TheLastWord{\@datum}} &
\large \ostyle{Ausgegeben in {\@place} am {\@datum}} & \large \ostyle{Ausgegeben in {\@place} am {\@datum}} &
\large \ostyle{Nr. {\@edition}} \large \ostyle{Nr. {\@edition}}
\\ \hline &\\[5mm] \hline
\multicolumn{3}{p{\dimexpr\textwidth-2\tabcolsep}}{\mycontents} \\ \hline \multicolumn{3}{m{\dimexpr\textwidth-2\tabcolsep}}{\mycontents} \\ \hline
\end{tabular} \end{tabular}
\vspace{10mm} \vspace{10mm}
+3 -1
View File
@@ -11,11 +11,13 @@
\mytitle \mytitle
\section{Grundgesetz für die Bundesrepublik Deutschland vom 23. Mai 1949}
\section{Grundgesetz für die Bundesrepublik Deutschland vom 23. Mai 1949}
\section{Grundgesetz für die Bundesrepublik Deutschland vom 23. Mai 1949} \section{Grundgesetz für die Bundesrepublik Deutschland vom 23. Mai 1949}
\lipsum[1] \lipsum[1]
\section{Das erste Gesetz} \subsection{Das erste Gesetz}
\lipsum[2] \lipsum[2]
Binary file not shown.