ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Multi-letter variables in math mode
@ 2013-11-27 22:56 Thaddäus Töppen
  2013-11-27 23:20 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Thaddäus Töppen @ 2013-11-27 22:56 UTC (permalink / raw)
  To: ntg-context

Hi.

Sometimes I use variables (really rather abbreviations) in math formulas.
It seems to me that the letterspacing is a bit too wide then.
Maybe math mode thinks I want to multiply the letters as if they were variables for themselves.
Is there a way to preserve normal letterspacing locally in a formula?

Kind regards.
___________________________________________________________________________________
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] 2+ messages in thread

* Re: Multi-letter variables in math mode
  2013-11-27 22:56 Multi-letter variables in math mode Thaddäus Töppen
@ 2013-11-27 23:20 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2013-11-27 23:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 779 bytes --]

On Wed, 27 Nov 2013, Thaddäus Töppen wrote:

> Hi.
>
> Sometimes I use variables (really rather abbreviations) in math formulas.
> It seems to me that the letterspacing is a bit too wide then.
> Maybe math mode thinks I want to multiply the letters as if they were variables for themselves.
> Is there a way to preserve normal letterspacing locally in a formula?

Latex provides a \mathit macro for such variables. From what I understand, 
this is essentially the same as using \text{\it ...}. For example:

\starttext
\startformula \startalign
   \NC efat \NR
   \NC \text{\it efat} \NR
\stopalign \stopformula
\stoptext


You could wrap this around in a macro, if you wish (but don't use \mathit, 
as that is reserved for normal math in context).

Aditya

[-- 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] 2+ messages in thread

end of thread, other threads:[~2013-11-27 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 22:56 Multi-letter variables in math mode Thaddäus Töppen
2013-11-27 23:20 ` Aditya Mahajan

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