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

"missingEntries"

parent 9b84ff0e
Branches
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{pt-declaration}
[2015/05/27 v0.1a PTB-Klasse (RN)]
[2016/10/17 v0.1b PTB-Klasse (RN)]
\newcommand*\vl@lang{main=ngerman}
......@@ -23,6 +23,8 @@
,parskip=true
]{scrartcl}
\RequirePackage{eso-pic,graphicx,xcolor}
\RequirePackage[\vl@lang]{babel}
\RequirePackage{iflang}
......@@ -68,11 +70,13 @@
\newcommand*\myfax[1]{\vl@setcommand{vl@myfax}{#1}}
\newcommand*\myemail[1]{\vl@setcommand{vl@myemail}{#1}}
\newcommand*\yourref[1]{\vl@setcommand{vl@yourref}{#1}}
\newcommand*\missingEntries[1]{\vl@setcommand{vl@missingEntries}{#1}}
\newcommand*\vl@myref{}
\newcommand*\vl@mymail{}
\newcommand*\vl@myfax{}
\newcommand*\vl@myemail{}
\newcommand*\vl@yourref{}
\newcommand*\vl@missingEntries{}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
......@@ -127,6 +131,19 @@
\makeatother
}
\AtBeginDocument{%
\ifnum\number\vl@missingEntries>0 %
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}Fehler:~\vl@missingEntries}}}}}}%
}%
}%
\fi
}
\textheight=1.2\textheight
\pagestyle{empty}
......
File added
\documentclass[de]{ptb-declaration}
\missingEntries{ 17 }
\myref{7.5-1V-15-05}
\mymail{2015-12-04}
\myfax{+49-30-3481-7490}
......
File added
\documentclass[en]{ptb-declaration}
\missingEntries{ 0 }
\myref{7.5-1V-15-05}
\mymail{2015-12-04}
\myfax{+49-30-3481-7490}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment