Am 23.11.2009 um 18:34 schrieb Wolfgang Murth:

>> depends on your need,
> Main text in one font (Helvetica), Excel Formulas in another font (Heros 
> Condensed).

With simplefonts you can say (untested):

\mainlanguage[de]

\usemodule[simplefonts][size=10pt]

\setmainfont[Tex Gyre Heros]

\definesimplefonttypeface[excelfont][TeX Gyre Heros][weight=condensed] % will 
be width=condensed in the next release

\definesimplefont[excelformat][TeX Gyre 
Heros][weight=condensed,alternative=bold]

\define[1]\XLF{\groupedcommand{\excelformat}{}}

\setuptables[bodyfont=excelfont]

\starttext

\chapter{Excel Time and Date}

When using Time and Date calculations with Excel important functions are 
\XLF{DATUM} and {\XLF ZEIT}.

\starttable[|l|l|]
\NC text       \NC more text     \NC\AR
\NC other text \NC fill the rest \NC\AR
\stoptable

\stoptext

Wolfgang

___________________________________________________________________________________
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 via email to