Re: [NTG-context] Boxed formula

2005-10-01 Thread Jilani Khaldi



\startformula
 \mframed[offset=.3em,rulethickness=1pt]{
   I=x-\sqrt2\,\arctan\frac{x}{\sqrt2}+C}
\stopformula

it does typeset a displayed formula. However, you could still force
displayed style by adding a \displaystyle command at the beginning of
your \mframed argument.
 


That's ok now using \displaystyle. Thank you!
jk

--
// Jilani KHALDI
http://jkhaldi.oltrelinux.com



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Boxed formula

2005-09-30 Thread David Munger
The way I usually do it:

\startformula
  \mframed[offset=.3em,rulethickness=1pt]{a^2 + b^2 = c^2}
\stopformula

Regards,

David

Le Vendredi 30 septembre 2005 à 13:41 +0200, Jilani Khaldi a écrit :
 Hi All,
 how to make a boxed formula with ConTeXt?
 Thanks!
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Boxed formula

2005-09-30 Thread Jilani Khaldi

David Munger wrote:


The way I usually do it:

\startformula
 \mframed[offset=.3em,rulethickness=1pt]{a^2 + b^2 = c^2}
\stopformula
 

Thank you for your answer. I seems that \startformula .. \stopformula 
doesn't have any effect to produce a dispaly mode formula.


so:
\startformula
 \mframed[offset=.3em,rulethickness=1pt]{a^2 + b^2 = c^2}
\stopformula

and:

\mframed[offset=.3em,rulethickness=1pt]{a^2 + b^2 = c^2}

give the same result, as in text mode.
Is there a way to get, for example, the output of:

\startformula
I=x-\sqrt2\,arctg\frac{x}{\sqrt2}+C
\stopformula

boxed?
Thank you.

jk

--
// Jilani KHALDI
http://jkhaldi.oltrelinux.com



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Boxed formula

2005-09-30 Thread David Munger
Jilani,


 Thank you for your answer. I seems that \startformula .. \stopformula 
 doesn't have any effect to produce a dispaly mode formula.

When I try:

\startformula
  \mframed[offset=.3em,rulethickness=1pt]{
I=x-\sqrt2\,\arctan\frac{x}{\sqrt2}+C}
\stopformula

it does typeset a displayed formula. However, you could still force
displayed style by adding a \displaystyle command at the beginning of
your \mframed argument.

Regards,

David


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context