Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teckids-tex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Team PR
teckids-tex
Commits
0560c595
Verified
Commit
0560c595
authored
6 years ago
by
mirabilos
Committed by
mirabilos
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
first cut at teckids2urkunde document class
parent
854c4af0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
teckids2urkunde.cls
+53
-0
53 additions, 0 deletions
teckids2urkunde.cls
with
53 additions
and
0 deletions
teckids2urkunde.cls
0 → 100644
+
53
−
0
View file @
0560c595
% 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}
}
%
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment