* \everymath and ' accent
@ 2008-01-31 13:39 morgan.brassel
2008-01-31 13:55 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: morgan.brassel @ 2008-01-31 13:39 UTC (permalink / raw)
To: ntg-context
Hi everyone,
This topic has already been discussed on the list, but I didn't clearly
understand the conclusion, so I'm asking again... It is not clear to me why the
following
\everymath{\displaystyle}
\starttext
\startformula \frac{1}{A'} \stopformula
$\frac{1}{A'}$
\stoptext
fails with ConTeXt (on the ' inside $.$), while
\documentclass{minimal}
\everymath{\displaystyle}
\begin{document}
\[ \frac{1}{A'} \]
$\frac{1}{A'}$
\end{document}
is ok with LaTeX.
The use of \everymath is to blame here, but why?
Thanks in advance!
Morgan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \everymath and ' accent
2008-01-31 13:39 \everymath and ' accent morgan.brassel
@ 2008-01-31 13:55 ` Hans Hagen
2008-01-31 14:15 ` morgan.brassel
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-01-31 13:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
morgan.brassel@free.fr wrote:
> Hi everyone,
>
> This topic has already been discussed on the list, but I didn't clearly
> understand the conclusion, so I'm asking again... It is not clear to me why the
> following
>
> \everymath{\displaystyle}
> \starttext
> \startformula \frac{1}{A'} \stopformula
> $\frac{1}{A'}$
> \stoptext
>
> fails with ConTeXt (on the ' inside $.$), while
>
> \documentclass{minimal}
> \everymath{\displaystyle}
> \begin{document}
> \[ \frac{1}{A'} \]
> $\frac{1}{A'}$
> \end{document}
>
> is ok with LaTeX.
>
> The use of \everymath is to blame here, but why?
it's pretty dangerous to overload \everymath
maybe \appendtoks\displaystyle\to\everymath works
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \everymath and ' accent
2008-01-31 13:55 ` Hans Hagen
@ 2008-01-31 14:15 ` morgan.brassel
0 siblings, 0 replies; 3+ messages in thread
From: morgan.brassel @ 2008-01-31 14:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Selon Hans Hagen <pragma@wxs.nl>:
> it's pretty dangerous to overload \everymath
Yes, I guess so! It was just to see the difference between LaTeX and ConTeXt in
this case.
> maybe \appendtoks\displaystyle\to\everymath works
Indeed, thank you! What I need actually is to modify $.$ locally (in a tikz
picture) to produce \displaystyle maths. I don't know what is the best way to
achieve this. Is it to use \appendtoks like above?
Best regards,
Morgan
>
> Hans
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-31 14:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-31 13:39 \everymath and ' accent morgan.brassel
2008-01-31 13:55 ` Hans Hagen
2008-01-31 14:15 ` morgan.brassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).