From c0d44492b6be65bdc21e9611fc95ff8df2a23690 Mon Sep 17 00:00:00 2001 From: mirabilos <thorsten.glaser@teckids.org> Date: Tue, 21 Aug 2018 16:56:16 +0200 Subject: [PATCH] make \teckidshead and \teckidsheadleft available in all of teckids2 --- teckids2style.sty | 13 +++++++++++++ teckids2urkunde.cls | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/teckids2style.sty b/teckids2style.sty index bbab37f..4ca1664 100644 --- a/teckids2style.sty +++ b/teckids2style.sty @@ -443,5 +443,18 @@ }% \makeatother% +% 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} +}% + % uncomment to figure out overfull hbox %\overfullrule=2cm diff --git a/teckids2urkunde.cls b/teckids2urkunde.cls index 01ece85..3f8874c 100644 --- a/teckids2urkunde.cls +++ b/teckids2urkunde.cls @@ -38,16 +38,3 @@ \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} -}% -- GitLab