[pstricks] combine psTextFrame

Juergen Gilg gilg at acrotex.net
Wed Jun 24 22:07:32 CEST 2009


Dear Marco,

something like that?

\documentclass[12pt]{article}
\usepackage{calc}

\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(0,0)(10,10)
\begin{psclip}
{\psTextFrame[framearc=0.2,linewidth=2pt,linecolor=red,fillstyle=solid,fillcolor=yellow](1,1)(9,8){Text}
}
\psTextFrame[linestyle=none,fillstyle=solid,fillcolor=orange](1,8)(9,7){\"Uberschrift}
\end{psclip}
\psframe[framearc=0.2,linewidth=2pt,linecolor=red](1,1)(9,8)
\end{pspicture}
\end{document}

Hope that helps!

Regards,

Juergen

Marco Daniel wrote:
> Hello,
>
> 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?
>
> I would also use an other idea?
>
> Thanks
> Marco
> %%%
> \documentclass[12pt]{article}
> \usepackage{calc}
>
> \usepackage{pstricks-add} combine
>
>
> \begin{document}
> \begin{pspicture}(0,0)(10,10)
> \psTextFrame[framearc=0.2,linewidth=2pt,linecolor=red,fillstyle=solid,fillcolor=yellow](1,1)(9,8){Text} 
>
> \psTextFrame[linestyle=none,fillstyle=solid,fillcolor=orange](1,8)(9,7){\"Uberschrift} 
>
> \end{pspicture}
> \end{document}
> %%%
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>

-- 
 Jürgen Gilg
 Austr. 59
 70376 Stuttgart
-------------------------------------
 Tel       0711.59 27 88
 e-Mail    gilg at acrotex.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090624/eaca3875/attachment-0001.html>


More information about the PSTricks mailing list