%% 
%%  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}
