[NTG-context] math: `\overbar` with fractions and subscripts

Otared Kavian otared at gmail.com
Fri Feb 4 20:45:54 CET 2011


Hi Paul,

I think one should use \overline instead of \overbar in your example. For me the following works fine with mkiv:
      \starttext
       \startformula
       \overline{q} = \frac{\overline{q}}{\overline{α_0}}
       \stopformula
       In text $\overline{q} = \frac{\overline{q}}{\overline{α_0}}$.
       \startformula
       \overline{q_0} = \frac{\overline{q}}{\overline α}
       \stopformula
       \stoptext
(one gets as expected the « conjugate » of α_0, for instance).

Best regards: OK
On 4 févr. 2011, at 12:14, Paul Menzel wrote:

> Dear ConTeXt folks,
> 
> 
> I do have some problem with the following example (also attached,
> executed with `context test`).
> 
>        \starttext
>        \startformula
>        \overbar{q} = \frac{\overbar{q}}{\overbar{α_0}}
>        \stopformula
>        In text $\overbar{q} = \frac{\overbar{q}}{\overbar{α_0}}$.
>        \startformula
>        \overbar{q_0} = \frac{\overbar{q}}{\overbar α}
>        \stopformula
>        \stoptext
> 
> I am using the latest ConTeXt Minimals distribution.
> 
>        $ context --version
> 
>        MTXrun | main context file: /opt/context/tex/texmf-context/tex/context/base/context.mkiv
>        MTXrun | current version: 2011.02.04 10:01
> 
> 1. The bar divides for subscripts/indices.
> 2. If you look at the first fraction, the bar is as long as the stroke
> from the fraction and therefore I think too long.
> 3. When inlining the fraction in text the bar fuses with the stroke from
> the fraction.
> 
> Are these know problems or do I just use the wrong commands?
> 
> 
> Thanks,
> 
> Paul
> <test.pdf><test.tex>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________




More information about the ntg-context mailing list