[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,
Patrice
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:
\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/20080214/ce073a77/attachment.html
More information about the PSTricks
mailing list