[pstricks] small trouble in equations with powerdot+pstricks

Juergen Gilg gilg at acrotex.net
Wed Feb 13 18:35:48 CET 2008


Hello Patrice,

try this:

\begin{equation}
\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}
\end{equation}

Regards,

Juergen

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?
>
>  
>
> Thanks.
>
>  
>
> Patrice Mégret
>
>  
>
> \documentclass[
>
>  size=11pt,
>
>  style=default,
>
>  paper=a4paper,
>
> % Try me!
>
> %  orient=portrait,
>
> %  mode=handout,
>
> %  display=slidesnotes,
>
> %  blackslide,
>
>  nopagebreaks,
>
>  fleqn
>
> ]{powerdot}
>
>  
>
> \usepackage{pstricks}
>
>  
>
> \begin{document}
>
> \begin{slide}[toc=]{}
>
> \begin{equation}
>
> \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}
>
> \end{equation}
>
> \begin{equation}\label{EGch3-eq-aah}
>
> \frac{1}{C} = \frac{1}{C_1} + \frac{1}{C_2} +\frac{1}{C_3}\end{equation}
>
> \end{slide}
>
> \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
 Websites  www.acrotex.net
           www.brueckenkurs-physik.de
           www.gilligan-online.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080213/b9c93230/attachment.html 


More information about the PSTricks mailing list