W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

[csswg-drafts] [math] "cramped" script style (#5388)

From: Brian Kardell via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Aug 2020 19:56:32 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-672307338-1596484591-sysbot+gh@w3.org>
bkardell has just created a new issue for https://github.com/w3c/csswg-drafts:

== [math] "cramped" script style ==
(Part of #5384 - MathML Core related CSS)

Mathematical rendering contains lots of 'scripted' concepts - that is, subscripts, superscripts, underscripts, overscripts, tensors and so on.  The way that they are positioned is contextually dependent. A (simple) example of this can be seen in the case of exponents within a square root vs normally. The example below, illustrates this, in which the exponent is tighter to the base when inside a square root.

![example of contextually dependent rendering of an exponent](https://mathml-refresh.github.io/mathml-core/examples/example-math-shift.png)

TeXbook (and the spec algorithms) refer to this as "cramped" style.  [MathML-Core introduces the `math-shift` property](https://mathml-refresh.github.io/mathml-core/#the-math-shift) to expose these two modes with values `normal` (default) and `compact`.  Recommended UA styles apply the common rules, but leave authors the ability to tweak and extend.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5388 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 3 August 2020 19:56:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC