ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \everymath
@ 2012-09-15 23:32 Rogers, Michael K
  2012-09-16  8:13 ` \everymath Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Rogers, Michael K @ 2012-09-15 23:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I often want every math mode (between single $) be \displaystyle.  In Plain TeX, you do something like

\everymath={\displaystyle}

Is the best ConTeXt way to do something like this?

\appendtoks\displaystyle\to\everymathematics

Or is there a key in \setupmathematics?

Thanks,

Michael

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \everymath
  2012-09-15 23:32 \everymath Rogers, Michael K
@ 2012-09-16  8:13 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-09-16  8:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.09.2012 um 01:32 schrieb "Rogers, Michael K" <mroge02@emory.edu>:

> I often want every math mode (between single $) be \displaystyle.  In Plain TeX, you do something like
> 
> \everymath={\displaystyle}
> 
> Is the best ConTeXt way to do something like this?
> 
> \appendtoks\displaystyle\to\everymathematics
> 
> Or is there a key in \setupmathematics?


I don’t think so because I found only the command below the change the appearance
of inline formulas and \displaymath/\displaymathematics isn’t what you want because
it creates a display formula.

\let\normalstopdmath\Ustopdisplaymath % to prevent error message from \displaymath

\starttext

<\mathematics       {\frac{1}{2}}>
<\displaymathematics{\frac{1}{2}}>
<\inlinemathematics {\frac{1}{2}}>

<\displaymath{\frac{1}{2}}>
<\inlinemath {\frac{1}{2}}>
<\textmath   {\frac{1}{2}}>

\stoptext

Wolfgang
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-16  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-15 23:32 \everymath Rogers, Michael K
2012-09-16  8:13 ` \everymath Wolfgang Schuster

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).