Re: graph drawing tool of possible interest

Jim via ntg-context <[email protected]> Mon, 11 May 2026 11:03:24 -0300
Newsgroups gmane.comp.tex.context
Message-ID <agHhrCY/[email protected]>
On Mon, May 11, 2026 at 05:16 (+0200), Wolfgang Schuster wrote:

> Am 11.05.2026 um 02:14 schrieb Jim via ntg-context:

>> I will admit I was surprised a long time ago when I first saw that $$
>> compiles; I've been using that for so long I don't know where I originally
>> saw that it worked.  (Maybe TikZ does something heavy-handed to make sure
>> you don't try to do display math inside a node.)  I could output the code
>> without it, but I wanted to make the TikZ as easy to (post-)edit by hand as
>> possible.  (Which comes at the cost of having spurious math-on/math-off
>> characters.)

> When you have $$ in a \hbox they are handled as inline math.

> \starttext
> \hbox{$$}% == $ $
> \stoptext

Yet another thing I knew once and forgot.  There it is, second last
paragraph of page 87 of The TeXbook:

        ... two consecutive math shifts ($$) appearing in horizontal mode
        will initiate display math mode, but in restricted horizontal mode
        they simply denote an empty math formula.

Thanks for the reminder.

                                Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________