[powerdot] Re: [pstricks] small trouble in equations with powerdot+pstricks

  • From: Juergen Gilg <gilg@xxxxxxxxxxx>
  • To: Graphics with PSTricks <pstricks@xxxxxxx>
  • Date: Wed, 13 Feb 2008 18:35:48 +0100

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@xxxxxxx
http://tug.org/mailman/listinfo/pstricks

--
Jürgen Gilg
Austr. 59
70376 Stuttgart
-------------------------------------
Tel       0711.59 27 88
e-Mail    gilg@xxxxxxxxxxx
Websites  www.acrotex.net
          www.brueckenkurs-physik.de
          www.gilligan-online.de

Other related posts: