From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \everymath
Date: Sun, 16 Sep 2012 10:13:17 +0200 [thread overview]
Message-ID: <084371F4-4F73-4EF8-9B4A-655CF7E01671@gmail.com> (raw)
In-Reply-To: <1E5A50C784A8AD44B420EF5A1E9B2806A44CD999@e14mbx20n.Enterprise.emory.net>
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
___________________________________________________________________________________
prev parent reply other threads:[~2012-09-16 8:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-15 23:32 \everymath Rogers, Michael K
2012-09-16 8:13 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=084371F4-4F73-4EF8-9B4A-655CF7E01671@gmail.com \
--to=wolfgang.schuster@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).