[pstricks] combine psTextFrame

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jun 24 21:51:39 CEST 2009


Marco Daniel schrieb:

> I want to create an environment like beamerboxrounded. So I want to use
> pstricks. In the following code you see the problem. The second
> psTextFrame do not have the right upper corners.
> Do you have any idea?

\documentclass[12pt]{article}
\usepackage{pstricks-add}

\begin{document}

\begin{pspicture}(0,0)(10,10)
\psTextFrame*[framearc=0.2,linecolor=yellow](1,1)(9,8){Text}
\psclip{\psframe[framearc=0.2,linewidth=2pt,linecolor=red](1,1)(9,8)}
  \psTextFrame*[linecolor=orange](1,8)(9,7){\"Uberschrift}
\endpsclip
\end{pspicture}

\end{document}

Herbert



More information about the PSTricks mailing list