From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Heros condensed and Font switching
Date: Mon, 23 Nov 2009 19:05:45 +0100 [thread overview]
Message-ID: <B86C2B71-C26D-442F-84E2-11E3068E62D6@googlemail.com> (raw)
In-Reply-To: <557995F786394BD5B66529A44BA996F2@rechenknecht>
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
___________________________________________________________________________________
prev parent reply other threads:[~2009-11-23 18:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-21 15:06 Wolfgang Murth
2009-11-23 9:07 ` Wolfgang Murth
2009-11-23 9:35 ` Thomas A. Schmitz
2009-11-23 9:51 ` Willi Egger
2009-11-23 10:14 ` Wolfgang Schuster
2009-11-23 15:27 ` Wolfgang Murth
2009-11-23 15:36 ` Hans Hagen
2009-11-23 17:34 ` Wolfgang Murth
2009-11-23 17:36 ` Hans Hagen
2009-11-23 18:05 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B86C2B71-C26D-442F-84E2-11E3068E62D6@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).