summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/30-01-14.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/30-01-14.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples/30-01-14.ltx35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/30-01-14.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/30-01-14.ltx
new file mode 100644
index 00000000000..43d9f3926f1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples/30-01-14.ltx
@@ -0,0 +1,35 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%%
+%% Copyright (C) 2010 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[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{190.324pt}
+\setlength\parindent{0pt}
+\StartShownPreambleCommands
+\usepackage{pstricks-add}
+\def\someMath{$\int\limits_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1$}
+\StopShownPreambleCommands
+\begin{document}
+\begin{pspicture}(12cm,2cm)
+\psbrace(0,0)(0,2){\fbox{Text}}\psbrace[nodesepB=1ex](1.5,0)(1.5,2){\fbox{Text}}
+\psbrace[ref=lC](3,0)(3,2){\fbox{Text}}
+\psbrace[ref=lt,rot=90,nodesepB=15pt](4.5,0)(4.5,2){\fbox{Text}}
+\psbrace[ref=lc,nodesepA=25pt](6,0)(6,2){\someMath}
+\psbrace[rot=90,ref=C,nodesepA=10pt](8.5,0)(8.5,2){\someMath}
+\psbrace*[rot=90,ref=C,nodesepA=-10pt,linecolor=cyan](11.3,2)(11.3,0){%
+ \color{cyan}\someMath}
+\end{pspicture}
+\end{document}