ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* math \prime with subscripts
@ 2014-09-22  0:47 Yuri Teixeira
  2014-09-22 20:48 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Yuri Teixeira @ 2014-09-22  0:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi
is there a way for \prime not get smaller when used with sub/superscripts?
Or realigned somehow? Without font changes would be nice.

\starttext

\startformula
\frac13T\prime_{rs}T\prime_{st}T\prime_{tr}
\stopformula

\startformula
\frac13T_{rs}\prime T_{st}\prime T_{tr}\prime
\stopformula

\stoptext

Thanks
YT

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

[-- Attachment #2: prime_context.png --]
[-- Type: image/png, Size: 5173 bytes --]

[-- Attachment #3: prime_wanted_behavior.png --]
[-- Type: image/png, Size: 2231 bytes --]

[-- Attachment #4: 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] 3+ messages in thread

* Re: math \prime with subscripts
  2014-09-22  0:47 math \prime with subscripts Yuri Teixeira
@ 2014-09-22 20:48 ` Aditya Mahajan
  2014-09-24 14:15   ` Yuri Teixeira
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2014-09-22 20:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 21 Sep 2014, Yuri Teixeira wrote:

> Hi
> is there a way for \prime not get smaller when used with sub/superscripts?
> Or realigned somehow? Without font changes would be nice.
>
> \starttext
>
> \startformula
> \frac13T\prime_{rs}T\prime_{st}T\prime_{tr}
> \stopformula
>
> \startformula
> \frac13T_{rs}\prime T_{st}\prime T_{tr}\prime
> \stopformula
>
> \stoptext

I always thought that one was supposed to use either

    T' or T^{\prime}

So, if you want a bigger prime symbol, that is really a font design issue.

Having said that, I believe that it should be possible to control the 
scaling of the prime using a font goodies file, but I do not know the 
details.

Aditya
___________________________________________________________________________________
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] 3+ messages in thread

* Re: math \prime with subscripts
  2014-09-22 20:48 ` Aditya Mahajan
@ 2014-09-24 14:15   ` Yuri Teixeira
  0 siblings, 0 replies; 3+ messages in thread
From: Yuri Teixeira @ 2014-09-24 14:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thank you. I gave up on using prime, it's not a good notation anyway. For
the record I'll leave here the tests I did.
I wanted alternatives 6, 7, 11, 12 but could not do it in context.
Alternatives 15, 21 are almost there, but the prime is clearly smaller than
the ones in 13, 19, and too small imo.

plain tex:

$$1T\prime + 2T^\prime + 3T\prime_{rs} + 4T_{rs}\prime +
5T^{{}^\prime}_{rs} + 6T_{rs}^\prime + 7T^\prime_{rs}$$

$$8T' + 9T^{'} + 10T^{'}_{rs} + 11T'_{rs} + 12T_{rs}' $$


context:

\starttext
\startformula
13T\prime + 14T^\prime + 15T\prime_{rs} + 16T^\prime_{rs} + 17T_{rs}\prime
+ 18T_{rs}^\prime
\stopformula

\startformula
19T' + 20T^' + 21T'_{rs} + 22T^'_{rs} + 23T_{rs}' + 24T_{rs}^'
\stopformula
\stoptext

YT



2014-09-22 17:48 GMT-03:00 Aditya Mahajan <adityam@umich.edu>:

> On Sun, 21 Sep 2014, Yuri Teixeira wrote:
>
>  Hi
>> is there a way for \prime not get smaller when used with sub/superscripts?
>> Or realigned somehow? Without font changes would be nice.
>>
>> \starttext
>>
>> \startformula
>> \frac13T\prime_{rs}T\prime_{st}T\prime_{tr}
>> \stopformula
>>
>> \startformula
>> \frac13T_{rs}\prime T_{st}\prime T_{tr}\prime
>> \stopformula
>>
>> \stoptext
>>
>
> I always thought that one was supposed to use either
>
>    T' or T^{\prime}
>
> So, if you want a bigger prime symbol, that is really a font design issue.
>
> Having said that, I believe that it should be possible to control the
> scaling of the prime using a font goodies file, but I do not know the
> details.
>
> Aditya
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>

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

[-- Attachment #2: prime_context.png --]
[-- Type: image/png, Size: 18289 bytes --]

[-- Attachment #3: prime_plain_tex.png --]
[-- Type: image/png, Size: 11854 bytes --]

[-- Attachment #4: 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] 3+ messages in thread

end of thread, other threads:[~2014-09-24 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-22  0:47 math \prime with subscripts Yuri Teixeira
2014-09-22 20:48 ` Aditya Mahajan
2014-09-24 14:15   ` Yuri Teixeira

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