Wolfgang Murth wrote:

Thank you all for your input at suggestions. Before I posted my question I did 
a search in the Wiki and the mailinglist archive but
didn't find a clue.
Finaly I got a working minimal example. The with \definedfont[file:...] I found 
out that I can use every Font that ist installed on
my Windows System.

Is this a correct way for font switching for a special markup or is there a 
better or more correct way?

depends on your need,

% Define language

no need for \language as you already use \mainlanguage

% Bodyfont Helvetica

% Excel Funcions and Formulas
\def\xlf#1{{\definedfont[file:texgyreheroscn-bold*regular at 10pt]#1}}

\def\xlf#1{{\definedfont[SansBold sa 1]#1}}

(current SansBold at bodyfontsize)

\def\xlf#1{{\definedfont[Bold sa 1]#1}}

(current Bold at bodyfontsize)

\chapter{Excel Time and Date}

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

best use some uppercase in yoru own names as \xlf can be a pretty important low level command some day


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 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 

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