Am 06.09.2025 um 19:35 schrieb Jim:
On Sat, Sep  6, 2025 at 15:38 (+0200), Henning Hraban Ramm wrote:

Ahoi,

Ahoi (Ahoy?)?  Are you getting ready for International Talk Like A Pirate
Day?  :-)

I’m working on the Math chapter of my ConTeXt book. As you know, this is not
my area of expertise, that’s why I try to keep it short and mostly refer to
the math manual.

What subjects do you think I should include for beginners or readers
switching from PlainTeX/LaTeX?
Probably \alignhere and \breakhere? What else is new & different?

I think you should mention that math isn't going to look the same.

For example, attached are two PDFs
-> plain tex:   $3\over 4$
-> context:     \im{\frac{3}{4}}

As can be seen, in ConTeXt there is a much bigger space between the '3' and
the horizontal line.  (I *really* don't want to step on toes or sound like
a complete ingrate, especially in light of the large amount of effort
(AIUI) which has gone into math typesetting, but I strongly prefer the
plain TeX version.)

You can change it:

\starttext

\im{\frac{3}{4}}
%
\setupmathfraction[strut=no]
\im{\frac{3}{4}}
%
\setupmathfraction[strut=no,distance=both,topdistance=1pt,bottomdistance=1pt]
\im{\frac{3}{4}}

\stoptext

Wolfgang

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

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________

Reply via email to