At 14:00 04/09/2003 +0200, you wrote:
Hello Mari,

On Thu, 4 Sep 2003, Patrick Gundlach wrote:
> Mari Voipio <[EMAIL PROTECTED]> writes:
> > Or something I should put around the command?
>
> You could put "math mode" ($\Omega$) around the command. But I am not
> sure if this will be taken from the default font. At least it is a
> workaround.

I think, math mode is set up in the typescripts you use. If you use none
explicitely, you probably get computer modern (roman in text, math (italic?)
in math mode, so they are probably different).

For the case you want the same style as in the text, and you know, which
font you are using, you can use something like the following to get a table
of available characters (to see, whether an Omega is available in your font,
and to note its character code) and then use its character code for the
macro \getglyph (first argument is the fontname, second the character
code). The following gets me an omega with the default font selection
(Serif is in this case cmr10):

\starttext
\showfont[Serif]
The character: ''\getglyph{Serif}{10}''
\stoptext

this can be smoothed by:


\definesymbol [omega] [\getglyph{Serif}{10}]

... \symbol[omega] ...

in symb-*.tex you can see how to define symbols that adapt to the style; btw, such glyph calls also automatically scale with the font scaling mechanism


Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to