From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setuphead question
Date: Sat, 31 Jan 2009 08:42:39 +0100 [thread overview]
Message-ID: <087CEC15-98E1-4B43-B6D7-A6936712D1E6@gmail.com> (raw)
In-Reply-To: <gluqtu$p9b$1@ger.gmane.org>
Am 30.01.2009 um 13:13 schrieb Mohamed Bana:
> i also have a question; why can't i use different fonts in
>
> \def\myCommand#1#2{{\ss\sc #1}{\rm\sc #2}{\ss\sc\bf #1}{\rm\sc\bf #2}}
> \setuphead[part][command=\myCommand]
>
> the font commands are simply ignored. I don't want to have to
> resort to using numberstyle and textstyle.
You code works but the style and number/textstyle values act
as part of #1 and #2 and you have to set them to nothing to
get your own settings.
\setuphead[part][command=\myCommand,style=]
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2009-01-31 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 10:50 Alan Stone
2009-01-29 12:06 ` Wolfgang Schuster
2009-01-30 12:13 ` Mohamed Bana
2009-01-31 7:42 ` 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=087CEC15-98E1-4B43-B6D7-A6936712D1E6@gmail.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).