Re: [NTG-context] A bit weird \underbar behaviour (MkIV only)

2010-10-24 Thread Hans Hagen

On 24-10-2010 12:34, Vedran Miletić wrote:

\starttext
$y = \underbar{g a w}$.
\stoptext


\starttext
  \underbar{$y = g a w$}.
\stoptext

does work .. it probably relates to limitations in attribute assignment 
in mathmode .. you can add a tracker item for it so that I keep an eye 
on it.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] A bit weird \underbar behaviour (MkIV only)

2010-10-24 Thread Vedran Miletić
Dana 24. listopada 2010. 12:41 Hans Hagen pra...@wxs.nl je napisao/la:

 On 24-10-2010 12:34, Vedran Miletić wrote:

 \starttext
 $y = \underbar{g a w}$.
 \stoptext


 \starttext
  \underbar{$y = g a w$}.
 \stoptext

 does work .. it probably relates to limitations in attribute assignment in
 mathmode .. you can add a tracker item for it so that I keep an eye on it.


Are you sure? Many other three letter combinations (e.g. a b c) seem to
work.

-- 
Vedran Miletić
___
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
___


Re: [NTG-context] A bit weird \underbar behaviour (MkIV only)

2010-10-23 Thread Aditya Mahajan

On Sun, 24 Oct 2010, Vedran Miletić wrote:


The code

\usemodule[units]
\starttext
$y = \underbar{20 \Mega\Bit\Per\Second}$.
\stoptext

produces space before y and it and y get underbared. MkII produces an
expected result.


IIRC, \underbar is a text mode command, not a math mode command. You can 
try


$y = \text{\underbar{...}}$

or define

\def\munderbar#1{\text{\underbar{\mathsurround\zeropoint\math{#1

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
___