From: "Bruce D'Arcus" <darcusb@muohio.edu>
Cc: ntg-context@ntg.nl
Subject: Re: defining a subtitle?
Date: Tue, 10 Sep 2002 09:49:43 -0400 [thread overview]
Message-ID: <28DF8CF1-C4C4-11D6-9BDF-0050E4258255@muohio.edu> (raw)
In-Reply-To: <20020910102418.A7033689@aisa.fi.muni.cz>
On Tuesday, September 10, 2002, at 04:24 AM, David Antos wrote:
> On Mon, Sep 09, 2002 at 11:37:40PM -0400, Bruce D'Arcus wrote:
>>
>> Can someone please tell me how I ought to define a subtitle command?
>> If I do this...
>>
>> \def\subtitle{\switchtobodyfont[14pt,ss]\it}
>>
>> and then invoke it with \subtitle{A Subtitle}
>>
>> ...I get all subsequent text with the font I've switched to...
>
> \def\subtitle#1{{\switchtobodyfont[14pt,ss] #1}}
>
> Think about \def that it eats the {}, the {} after \def just tell what
> the definition is. You must also pass the argument of the macro to the
> ``inner'' group.
>
Thank you! And what if I want to first define the command "subtitle"
so that I can then use \setuphead{subtitle}. Is that the better
approach? And if yes, how do I do that?
Bruce
next prev parent reply other threads:[~2002-09-10 13:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-10 3:37 Bruce D'Arcus
2002-09-10 8:24 ` David Antos
2002-09-10 13:49 ` Bruce D'Arcus [this message]
2002-09-11 17:18 ` Hans Hagen
2002-09-12 11:36 ` John Culleton
2002-09-12 17:14 ` Henning Hraban Ramm
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=28DF8CF1-C4C4-11D6-9BDF-0050E4258255@muohio.edu \
--to=darcusb@muohio.edu \
--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).