ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: math: `\overbar` with fractions and subscripts
Date: Fri, 4 Feb 2011 20:45:54 +0100	[thread overview]
Message-ID: <7C5CB39A-B03C-4738-AC5B-807BF9FD2859@gmail.com> (raw)
In-Reply-To: <1296818073.3967.16.camel@mattotaupa>

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

  reply	other threads:[~2011-02-04 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 11:14 Paul Menzel
2011-02-04 19:45 ` Otared Kavian [this message]
2011-02-07 12:40   ` Paul Menzel
2011-02-07 14:29     ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7C5CB39A-B03C-4738-AC5B-807BF9FD2859@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).