Skip to content
Snippets Groups Projects
Commit 1e4d72c1 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

neues Makro "overprint"

parent 23d9172f
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -22,6 +22,8 @@
\myfax{7777}
\myemail{Rolf.Niepraschk@ptb.de}
\overprint{ENTWURF}
% Ausblenden des Fußbereiches
% \setkomavar{firstfoot}{}
......@@ -69,6 +71,9 @@ Klassenoptionen:
"`A4"' festgelegt. Als Eingabe-Kodierung wird ausschließlich "`UTF-8"'
unterstützt.
Das Text, der dem Makro \verb|\overprint| übergeben wird, erscheint als
hellgrauer Hintergrunddruck schräg auf dem Textbereich in großer Schrift.
%\closing{\MHG}
\closing{\MFG}
......
......@@ -283,6 +283,23 @@
\newkomavar[\myfaxname]{myfax}
\newkomavar[\handledbyname]{handledby}
\newcommand*\ptb@overprint{}
\newcommand*\overprint[1]{\xdef\ptb@overprint{#1}}
\RequirePackage{eso-pic}
\AtBeginDocument{%
\ifx\ptb@overprint\@empty\else
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}\ptb@overprint}}}}}}%
}%
}%
\fi
}
\defcaptionname{american,australian,british,canadian,%
english,newzealand,UKenglish,USenglish}\yourrefname{Your reference}%
\defcaptionname{american,australian,british,canadian,%
......
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