ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@olin.edu>
To: <ntg-context@ntg.nl>
Subject: underbraces slightly too narrow (with MkIV 2013.05.28)
Date: Wed, 10 Jul 2013 08:02:34 -0400	[thread overview]
Message-ID: <878v1e7hd1.fsf@approx.mit.edu> (raw)

In certain cases, display-mathunderbraces are not quite wide enough.
Here's a minimal example:

===================
\starttext

\placeformula\startformula
\underbrace{15\,\tf cm}_{L}
\stopformula

\stoptext
===================

Using 2013.05.28 00:36 MKIV (from vanilla TL2013), the left brace tip
starts under the vertical bar of the "1", instead of enclosing the serif
as well.  The right brace tip ends between the last two tines of the
"m", instead of enclosing the whole "m" and its serifs.

With 2013.04.09 10:38 MKII, the brace tips extend just slightly beyond
the "15 cm", which is better.  However, they seem slightly too close.

As a test, I ran the comparable plain-TeX file through LuaTeX and PDFTeX.

==================
$$
\underbrace{15\,\rm cm}_{L}
$$

\bye
==================

The gap between the right brace tip and the text is slightly greater
(with either LuaTeX or PDFTeX), and it looks right.

(With the 2012.05.30 MKIV on live.contextgarden.net, the result is
similar to the Lua/PDFTeX versions, though not identical, and also looks
reasonable.)

-Sanjoy
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2013-07-10 12:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 12:02 Sanjoy Mahajan [this message]
2013-07-10 12:13 ` Marco Patzer
2013-07-10 13:53   ` Rudolf Bahr
2013-07-11 12:48 ` Hans Hagen
2013-07-12 14:28   ` Sanjoy Mahajan
2014-02-15 20:15   ` Sanjoy Mahajan

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=878v1e7hd1.fsf@approx.mit.edu \
    --to=sanjoy@olin.edu \
    --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).