From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9165 Path: main.gmane.org!not-for-mail From: David Antos Newsgroups: gmane.comp.tex.context Subject: Re: defining a subtitle? Date: Tue, 10 Sep 2002 10:24:18 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020910102418.A7033689@aisa.fi.muni.cz> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035399512 1086 80.91.224.250 (23 Oct 2002 18:58:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:58:32 +0000 (UTC) Original-To: "Bruce D'Arcus" In-Reply-To: ; from darcusb@muohio.edu on Mon, Sep 09, 2002 at 11:37:40PM -0400 Xref: main.gmane.org gmane.comp.tex.context:9165 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9165 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. D.A.