ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Subscript Depth
@ 2012-10-14 23:08 Nicholas Ulle
  2012-10-15 13:15 ` Otared Kavian
  2012-10-15 17:07 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Nicholas Ulle @ 2012-10-14 23:08 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 287 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 451 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Subscript Depth
  2012-10-14 23:08 Subscript Depth Nicholas Ulle
@ 2012-10-15 13:15 ` Otared Kavian
  2012-10-15 17:07 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Otared Kavian @ 2012-10-15 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <naulle@ucdavis.edu> 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.
> 
> 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
> ___________________________________________________________________________________

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Subscript Depth
  2012-10-14 23:08 Subscript Depth Nicholas Ulle
  2012-10-15 13:15 ` Otared Kavian
@ 2012-10-15 17:07 ` Hans Hagen
  2012-10-16 20:05   ` Nicholas Ulle
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2012-10-15 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Nicholas Ulle

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Subscript Depth
  2012-10-15 17:07 ` Hans Hagen
@ 2012-10-16 20:05   ` Nicholas Ulle
  2012-10-16 20:47     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Nicholas Ulle @ 2012-10-16 20:05 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1214 bytes --]

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 <pragma@wxs.nl> wrote:

> 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
> ------------------------------**------------------------------**-----
>

[-- Attachment #1.2: Type: text/html, Size: 1863 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Subscript Depth
  2012-10-16 20:05   ` Nicholas Ulle
@ 2012-10-16 20:47     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2012-10-16 20:47 UTC (permalink / raw)
  To: Nicholas Ulle; +Cc: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-16 20:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-14 23:08 Subscript Depth Nicholas Ulle
2012-10-15 13:15 ` Otared Kavian
2012-10-15 17:07 ` Hans Hagen
2012-10-16 20:05   ` Nicholas Ulle
2012-10-16 20:47     ` Hans Hagen

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).