[pstricks] small trouble in equations with powerdot+pstricks

Patrice Mégret Patrice.Megret at fpms.ac.be
Thu Feb 14 08:17:22 CET 2008

Dear Juergen,


Thanks for this information, this corrective trick perfectly works.


It thus means that \psframebox{} in powerdot changes the default size \displaystyle to \textstyle. This behavior seems nevertheless strange as it is not the case in classical documents.

By the way, by using \boxed from amsmath, the size does not change but no color.

So, there is probably a side effect somewhere.


Best regards,








De : pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] De la part de Juergen Gilg
Envoyé : mercredi 13 février 2008 18:36
À : Graphics with PSTricks
Cc : powerdot at freelists.org
Objet : Re: [pstricks] small trouble in equations with powerdot+pstricks


Hello Patrice,

try this:

\psframebox*[fillcolor=yellow, fillstyle=solid]{\displaystyle\quad\frac{1}{C} = \frac{1}{C_1} + \frac{1}{C_2} +\frac{1}{C_3}\quad}\quad\frac{1}{C} = \frac{1}{C_1} + \frac{1}{C_2} +\frac{1}{C_3}



Patrice Mégret wrote: 

Dera friends,


I have a small trouble with powerdot and pstricks.


I use \psframebox*{} to color some equations in my courses and presentations. Everything is perfect in \documentclass{book}, report, ...


Nevertheless, I discover that the size of the framed equation is smaller than the one without frame as can be seen in the very simple example below and in the ps file attached.   


Any idea how to solve this small problem?




Patrice Mégret






% Try me!

%  orient=portrait,

%  mode=handout,

%  display=slidesnotes,

%  blackslide,










\psframebox*[fillcolor=yellow, fillstyle=solid]{\quad\frac{1}{C} = \frac{1}{C_1} + \frac{1}{C_2} +\frac{1}{C_3}\quad}\quad\frac{1}{C} = \frac{1}{C_1} + \frac{1}{C_2} +\frac{1}{C_3}



\frac{1}{C} = \frac{1}{C_1} + \frac{1}{C_2} +\frac{1}{C_3}\end{equation}









pstricks mailing list
pstricks at tug.org

 Jürgen Gilg
 Austr. 59
 70376 Stuttgart
 Tel       0711.59 27 88
 e-Mail    gilg at acrotex.net
 Websites  www.acrotex.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080214/ce073a77/attachment.html 

More information about the PSTricks mailing list