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
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
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Dear Otared, Am Freitag, den 04.02.2011, 20:45 +0100 schrieb Otared Kavian:
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).
thank you for your answer. `\overline` works as you say, but it looks typographically different in the respect that the bar is closer to the letter, which of course solves the issue for the inline fraction. For α this looks quite strange in my eyes. But I do not know a lot about typography. Please find the PDF-output attached with the following ConTeXt version. MTXrun | current version: 2011.02.04 10:01 Thanks, Paul
On Mon, 7 Feb 2011, Paul Menzel wrote:
thank you for your answer. `\overline` works as you say, but it looks typographically different in the respect that the bar is closer to the letter, which of course solves the issue for the inline fraction. For α this looks quite strange in my eyes. But I do not know a lot about typography.
IIRC, \overline is meant for long entities, like \overline{(a+b)}. For single letters, it is better to use the accent \bar. Aditya
participants (3)
-
Aditya Mahajan
-
Otared Kavian
-
Paul Menzel