diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/10-04-2.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/10-04-2.ltx | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/10-04-2.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/10-04-2.ltx new file mode 100644 index 00000000000..d73f36e9c24 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/10-04-2.ltx @@ -0,0 +1,57 @@ +%% +%% A DANTE-Edition example +%% +%% Example 10-04-2 on page 115. +%% +%% Copyright (C) 2011 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage[ngerman]{babel} +\newsavebox\TBox +\savebox\TBox{\parbox{4cm}{% +\textbf{Warum!}: +Es gibt Tage -- +Da kann ich sie erklären -- +Die Frage -- +Warum?-- +Überzeugend und klar -- +Doch es gibt Tage -- +Da frage ich selber -- +Warum? -- +Und die einzige Antwort -- +Die ich dann habe -- +Sind die anderen Tage. +(\emph{Ich danke Heinrich Heine für seine Anregung, denn sein Gedicht über den suchenden +Jüngling war das Thema der Klausur des dritten Semesters, bei der ich Aufsicht führte! +27. November 1995, Berlin Tiergarten}) +}} + +\usepackage{pstricks} + +\begin{document} +\begin{pspicture}(-2,-2)(2,1.5) +\psclip{ \pscircle[linestyle=none](0.5\wd\TBox,-0.15\ht\TBox){1.5cm} } + \usebox\TBox +\endpsclip +\end{pspicture} +\begin{pspicture}(-2,-2)(2,1.5) +\psclip{ \psccurve[linestyle=dashed](-1.5,-1.5)(0,1.5)(1.5,-1.5)(-1.5,-1.5)} + \rput(0,0){\usebox\TBox} +\endpsclip +\end{pspicture} +\end{document} |