![](https://secure.gravatar.com/avatar/73645ab7e62304df2ef052aa880fdaca.jpg?s=120&d=mm&r=g)
Hi, How would I go about getting subscripts to stay at the same depth? An example of the problem I'm having is: \starttext % Notice the b's are not aligned $a_b' a_b$ \stoptext I'm only just learning ConTeXt and TeX, so I'm not sure what I'd need to change to fix this. Thanks, Nick
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Hi Nick,
As far as I can say from my own experience TeX, that is both plain TeX and ConTeXt, treat the subscripts differently according to whether there is also a superscript or not: please see the following examples:
\starttext
Compare $a_{b}'a_{b}$ and $a_{b}'a_{b}^{}$
\stoptext
Best regards: OK
On 15 oct. 2012, at 01:08, Nicholas Ulle
Hi,
How would I go about getting subscripts to stay at the same depth? An example of the problem I'm having is:
\starttext % Notice the b's are not aligned $a_b' a_b$ \stoptext
I'm only just learning ConTeXt and TeX, so I'm not sure what I'd need to change to fix this.
Thanks, Nick ___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 15-10-2012 01:08, Nicholas Ulle wrote:
Hi,
How would I go about getting subscripts to stay at the same depth? An example of the problem I'm having is:
\starttext % Notice the b's are not aligned $a_b' a_b$ \stoptext
I'm only just learning ConTeXt and TeX, so I'm not sure what I'd need to change to fix this.
\starttext $a_b' a_b^{}$ \stoptext It's a feature of tex to treat single scripts differently. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/73645ab7e62304df2ef052aa880fdaca.jpg?s=120&d=mm&r=g)
Thanks for the tip. I assume adjusting the depth of all subscripts in the
document would require a somewhat extensive knowledge of TeX font handling?
(that is, ConTeXt doesn't provide macros for it, I should learn more TeX if
I want to know how to do that?)
Nick
On Mon, Oct 15, 2012 at 10:07 AM, Hans Hagen
On 15-10-2012 01:08, Nicholas Ulle wrote:
Hi,
How would I go about getting subscripts to stay at the same depth? An example of the problem I'm having is:
\starttext % Notice the b's are not aligned $a_b' a_b$ \stoptext
I'm only just learning ConTeXt and TeX, so I'm not sure what I'd need to change to fix this.
\starttext $a_b' a_b^{}$ \stoptext
It's a feature of tex to treat single scripts differently.
------------------------------**------------------------------**----- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ------------------------------**------------------------------**-----
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 16-10-2012 22:05, Nicholas Ulle wrote:
Thanks for the tip. I assume adjusting the depth of all subscripts in the document would require a somewhat extensive knowledge of TeX font handling? (that is, ConTeXt doesn't provide macros for it, I should learn more TeX if I want to know how to do that?)
It requires messing around with some math font parameters but that can have side effects. It is on the agenda for luatex to provide a special math variant for this (e.g. handy for chemistry). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Nicholas Ulle
-
Otared Kavian