Skip to content
Snippets Groups Projects
Verified Commit 0560c595 authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

first cut at teckids2urkunde document class

parent 854c4af0
No related branches found
No related tags found
No related merge requests found
% Dokumentklasse „Urkunde“ für den Teckids e.V.
%
% Copyright © 2018
% mirabilos <thorsten.glaser@teckids.org>
%
% Provided that these terms and disclaimer and all copyright notices
% are retained or reproduced in an accompanying document, permission
% is granted to deal in this work without restriction, including un‐
% limited rights to use, publicly perform, distribute, sell, modify,
% merge, give away, or sublicence.
%
% This work is provided “AS IS” and WITHOUT WARRANTY of any kind, to
% the utmost extent permitted by applicable law, neither express nor
% implied; without malicious intent or gross negligence. In no event
% may a licensor, author or contributor be held liable for indirect,
% direct, other damage, loss, or other issues arising in any way out
% of dealing in the work, even if advised of the possibility of such
% damage or existence of a defect, except proven that it results out
% of said person’s immediate fault when using the work as intended.
\NeedsTeXFormat{LaTeX2e}%
\ProvidesClass{teckids2jahresbericht}[2018/08/21 0.1 Teckids Urkunde class]%
\PassOptionsToPackage{paper=a4}{typearea}%
\RequirePackage{fancyhdr}%
\LoadClass{scrartcl}%
\RequirePackage{teckids2style}%
\geometry{hmargin=2cm,top=0.5cm,showframe}%
% tell fancyhdr to redo its geometry calculations
\makeatletter\f@nch@setoffs\makeatother%
% restore lengths damaged during geometry change
\setlength{\intextsep}{0pt}%
% run parent style constructor
\teckidshdr[\the\year{}]{Urkunde}%
% clear page design
\fancyhf{}%
\renewcommand{\headrulewidth}{0pt}%
\renewcommand{\footrulewidth}{0pt}%
% Berichtskopf mit Titel und Logo, Normalfall
\newcommand{\teckidshead}[1]{%
\begin{minipage}[c]{.5\linewidth}\centering\Large\textbf{#1}\end{minipage}
\hfill%
\begin{minipage}[c]{.4\linewidth}\teckidslogo[\linewidth]\end{minipage}
}%
% Berichtskopf mit Titel und Logo, Sonderfall (mehrzeiliger Text)
\newcommand{\teckidsheadleft}[1]{%
\begin{minipage}[c]{.5\linewidth}\Large\textbf{#1}\end{minipage}
\hfill%
\begin{minipage}[c]{.4\linewidth}\teckidslogo[\linewidth]\end{minipage}
}%
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment