Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ptb-latex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Wählisch
ptb-latex
Commits
f35a1059
Commit
f35a1059
authored
6 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
weitere Anpassungen zum Hintergrundtext
parent
eccfcaff
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ptbletter/ptbletter-doc.pdf
+0
-0
0 additions, 0 deletions
ptbletter/ptbletter-doc.pdf
ptbletter/ptbletter-doc.tex
+6
-4
6 additions, 4 deletions
ptbletter/ptbletter-doc.tex
ptbletter/ptbletter.cls
+12
-12
12 additions, 12 deletions
ptbletter/ptbletter.cls
with
18 additions
and
16 deletions
ptbletter/ptbletter-doc.pdf
+
0
−
0
View file @
f35a1059
No preview for this file type
This diff is collapsed.
Click to expand it.
ptbletter/ptbletter-doc.tex
+
6
−
4
View file @
f35a1059
...
@@ -22,7 +22,8 @@
...
@@ -22,7 +22,8 @@
\myfax
{
7777
}
\myfax
{
7777
}
\myemail
{
Rolf.Niepraschk@ptb.de
}
\myemail
{
Rolf.Niepraschk@ptb.de
}
\overprint*
{
ENTWURF
}
\colorlet
{
bgTextColor
}{
red!20
}
\bgText*
{
ENTWURF
}
% Ausblenden des Fußbereiches
% Ausblenden des Fußbereiches
% \setkomavar{firstfoot}{}
% \setkomavar{firstfoot}{}
...
@@ -71,10 +72,11 @@ Klassenoptionen:
...
@@ -71,10 +72,11 @@ Klassenoptionen:
"`A4"' festgelegt. Als Eingabe-Kodierung wird ausschließlich "`UTF-8"'
"`A4"' festgelegt. Als Eingabe-Kodierung wird ausschließlich "`UTF-8"'
unterstützt.
unterstützt.
Das Text, der dem Makro
\verb
|
\
overprin
t
|
übergeben wird, erscheint auf jeder
Das Text, der dem Makro
\verb
|
\
bgTex
t
|
übergeben wird, erscheint auf jeder
Seite auf dem Textbereich als hellgrauer Hintergrunddruck schräg in großer
Seite auf dem Textbereich als hellgrauer Hintergrunddruck schräg in großer
Schrift. Wird die Sternvariante (
\verb
|
\overprint*
|
) benutzt, erscheint der
Schrift. Wird die Sternvariante (
\verb
|
\bgText*
|
) benutzt, erscheint der
Hintergrunddruck nur auf der ersten Seite.
Hintergrunddruck nur auf der ersten Seite. Die Farbe dieses Textes kann durch Definition der Farbe »bgTextColor« geschehen, z.
\,
B.
\
so:
\verb
|
\definecolor{bgTextColor}{gray}{0.9}
|
%\closing{\MHG}
%\closing{\MHG}
\closing
{
\MFG
}
\closing
{
\MFG
}
...
...
This diff is collapsed.
Click to expand it.
ptbletter/ptbletter.cls
+
12
−
12
View file @
f35a1059
...
@@ -283,30 +283,30 @@
...
@@ -283,30 +283,30 @@
\newkomavar
[\myfaxname]
{
myfax
}
\newkomavar
[\myfaxname]
{
myfax
}
\newkomavar
[\handledbyname]
{
handledby
}
\newkomavar
[\handledbyname]
{
handledby
}
\newcommand*\ptb
@
overprin
tI
{}
\newcommand*\ptb
@
bgTex
tI
{}
\newcommand*\ptb
@
overprin
tII
{}
\newcommand*\ptb
@
bgTex
tII
{}
\newcommand*\
overprin
t
{
%
\newcommand*\
bgTex
t
{
%
\@
ifstar
{
\@
tempswatrue
\ptb
@
overprin
t
}{
\@
tempswafalse
\ptb
@
overprin
t
}
%
\@
ifstar
{
\@
tempswatrue
\ptb
@
bgTex
t
}{
\@
tempswafalse
\ptb
@
bgTex
t
}
%
}
}
\newcommand*\ptb
@
overprin
t[1]
{
%
\newcommand*\ptb
@
bgTex
t[1]
{
%
\if
@tempswa
\if
@tempswa
\xdef\ptb
@
overprin
tI
{
#1
}
%
\xdef\ptb
@
bgTex
tI
{
#1
}
%
\else
\else
\xdef\ptb
@
overprin
tII
{
#1
}
%
\xdef\ptb
@
bgTex
tII
{
#1
}
%
\fi
\fi
}
}
\RequirePackage
{
eso-pic
}
\RequirePackage
{
eso-pic
}
\definecolor
{
BGt
ext
c
olor
}{
gray
}{
0.9
}
\definecolor
{
bgT
ext
C
olor
}{
gray
}{
0.9
}
\AtBeginDocument
{
%
\AtBeginDocument
{
%
\ifx\ptb
@
overprin
tI
\@
empty
\ifx\ptb
@
bgTex
tI
\@
empty
\ifx\ptb
@
overprin
tII
\@
empty
\else
\ifx\ptb
@
bgTex
tII
\@
empty
\else
\AddToShipoutPictureBG
{
%
\AddToShipoutPictureBG
{
%
\AtTextCenter
{
%
\AtTextCenter
{
%
\makebox
(0,0)[c]
{
\resizebox
{
\textwidth
}{
!
}{
%
\makebox
(0,0)[c]
{
\resizebox
{
\textwidth
}{
!
}{
%
\rotatebox
{
54.7
}{
%
\rotatebox
{
54.7
}{
%
\textnormal
{
\textsf
{
\textbf
{
%
\textnormal
{
\textsf
{
\textbf
{
%
\color
{
BGt
ext
c
olor
}
\ptb
@
overprin
tII
}}}}}}
%
\color
{
bgT
ext
C
olor
}
\ptb
@
bgTex
tII
}}}}}}
%
}
%
}
%
}
%
}
%
\fi
\fi
...
@@ -316,7 +316,7 @@
...
@@ -316,7 +316,7 @@
\makebox
(0,0)[c]
{
\resizebox
{
\textwidth
}{
!
}{
%
\makebox
(0,0)[c]
{
\resizebox
{
\textwidth
}{
!
}{
%
\rotatebox
{
54.7
}{
%
\rotatebox
{
54.7
}{
%
\textnormal
{
\textsf
{
\textbf
{
%
\textnormal
{
\textsf
{
\textbf
{
%
\color
{
BGt
ext
c
olor
}
\ptb
@
overprin
tI
}}}}}}
%
\color
{
bgT
ext
C
olor
}
\ptb
@
bgTex
tI
}}}}}}
%
}
%
}
%
}
%
}
%
\fi
\fi
...
...
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