summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/partpic.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/partpic.sty')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/partpic.sty23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/partpic.sty b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/partpic.sty
new file mode 100644
index 00000000000..9620e20efac
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/partpic.sty
@@ -0,0 +1,23 @@
+% PARTPIC.STY
+% zeigt auf \part-Seiten Bilder, die mit
+% \part{bild.eps}{Titel} definiert werden
+\RequirePackage[dvips]{graphics}
+
+% Uebernommen aus LaTeX.ltx --------------
+% Titelseite von \part z.T. neu definieren
+\renewcommand{\part}[1]
+{\if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{plain}%
+ \if@twocolumn
+ \onecolumn\@tempswatrue
+ \else
+ \@tempswafalse
+ \fi
+ \vspace*{3cm}
+ \centerline{\includegraphics{#1}}
+ \vspace*{1cm}
+ \secdef\@part\@spart}