[pstricks] flow-chart stack of boxes

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Feb 19 16:20:13 CET 2009


Hylke Beck schrieb:

> I.e. to give the impression of multiple products. Is there an easy way to do this? My code currently looks like this:
> 
> \begin{figure*}
> 
>   \begin{psmatrix}
> 
>   \psframebox{\tabular{c}streamflow\\index ($Q$)\endtabular}
> 
>   \end{psmatrix}

please provide full working examples, not only fragments.

\documentclass{article}
\usepackage{pstricks-add}

\begin{document}

\def\psFBox#1{\rput[lC](5pt,-4pt){\psframebox{#1}}%
  \rput[lC](2pt,-1pt){\psframebox[fillstyle=solid,fillcolor=white]{#1}}%
  \psframebox[fillstyle=solid,fillcolor=white]{#1}}
\begin{psmatrix}
foo\\
\psFBox{\tabular{c}streamflow\\index ($Q$)\endtabular}\\
bar
\end{psmatrix}
\ncline{->}{1,1}{2,1}
\ncline[nodesepA=6pt]{->}{2,1}{3,1}

\end{document}

hope, it helps

Herbert



More information about the PSTricks mailing list