[pstricks] psframebox

Carsten Vogel lego at wh10.tu-dresden.de
Tue Aug 12 21:57:08 CEST 2008


Charles Pugh schrieb:
> Hello  --
> 
> I'm using latexit and pstricks to make labels for math diagrams in  
> drawing programs EazyDraw and Illustrator CS2.  In latexit the  
> following code produces a framed label with yellow fillcolor and the  
> background shape I want  --  namely, round corners and a 2pt border  
> around the text.

\documentclass{article}
\usepackage{amssymb,amsmath}
%\usepackage[utf8]{inputenc}
\usepackage{pstricks}
% pstricks loads xcolor
\begin{document}
%\begin{pspicture}
\psset{linewidth=2pt,framearc=.5,fillstyle=solid,fillcolor=yellow,framesep=.5em}
\psframebox{Text}
%\end{pspicture}
\end{document}



More information about the PSTricks mailing list