From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5674 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Questions/Comments Date: Mon, 17 Sep 2001 18:30:26 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010917182605.023b3f10@server-1> References: <5.1.0.14.1.20010914130939.024b3d98@server-1> <5.1.0.14.1.20010911183140.025dee60@server-1> <5.1.0.14.1.20010911092040.025bd458@server-1> <20010910185708.L14168@localhost> <5.1.0.14.1.20010911092040.025bd458@server-1> <5.1.0.14.1.20010911183140.025dee60@server-1> <5.1.0.14.1.20010914130939.024b3d98@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396251 3660 80.91.224.250 (23 Oct 2002 18:04:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:04:11 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Marco Kuhlmann In-Reply-To: <20010914213903.B372@wimsey> Xref: main.gmane.org gmane.comp.tex.context:5674 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5674 At 09:39 PM 9/14/2001 +0200, Marco Kuhlmann wrote: >Hans Hagen wrote (2001-09-14 (13:10)): > > > \definestartstop[xxx][style=versface] > >But still, if I want a header to be typeset with let us say >\bf, then \xxx not only changes the font size, but also >switches to the regular (non-bold) font. What I need is a >command that just changes the size of the font, and keeps all >the other parameters. Hm, so you want to preserve a font state but do a rather massive change at the same time. \definetypeface[one][rm][serif][computer-roman][default] \definetypeface[two][rm][serif][computer-roman][default][rscale=.9] \def\pushcurrentfont {\edef\popcurrentfont {\noexpand\def\noexpand\fontbody{\fontbody}% \noexpand\def\noexpand\fontstyle{\fontstyle}% \noexpand\dosetcurrentfontalternative{\fontalternative}% \noexpand\dosetcurrentfontsize{\fontsize}% \noexpand\synchronizefont}} {\one \bf test \two test} {\one \bf test \pushcurrentfont \two \popcurrentfont test} I have to give this some thought. maybe make it an optional default or so. I would say: play a bit with it and let me know. btw, another option is: {test \setcurrentfontbody{10pt} test} {\bf test \setcurrentfontbody{6pt} test} Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------