ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font style switching
@ 2002-01-22 11:41 Giuseppe Bilotta
  2002-01-22 12:27 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Giuseppe Bilotta @ 2002-01-22 11:41 UTC (permalink / raw)


Hello,

Yet Another Proposal (I think I already went over this, or maybe
not, whatever).

Some users (me, but I just discovered I'm not the only one) like
to be able to switch font style/weight/size/whatever without
touching the other characteristics.

For example: triggering a \bf within the scope of an \it should
actually call \bi, and conversely. Or, boldfacing or italicizing a
Caps font (yes, I know it's a typographical horror).

(BTW, no Upright Italic in ConTeXt?)

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Font style switching
  2002-01-22 11:41 Font style switching Giuseppe Bilotta
@ 2002-01-22 12:27 ` Hans Hagen
  2002-01-22 17:08   ` Re[2]: " Giuseppe Bilotta
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2002-01-22 12:27 UTC (permalink / raw)
  Cc: ntg-context

At 12:41 PM 1/22/2002 +0100, Giuseppe Bilotta wrote:
>Hello,
>
>Yet Another Proposal (I think I already went over this, or maybe
>not, whatever).
>
>Some users (me, but I just discovered I'm not the only one) like
>to be able to switch font style/weight/size/whatever without
>touching the other characteristics.
>
>For example: triggering a \bf within the scope of an \it should
>actually call \bi, and conversely. Or, boldfacing or italicizing a

you can do that using the low level yet undocumented but feel free to 
document them (one example per macro will do) macros:

\setcurrentfont
\setcurrentfontbody
\setcurrentfontstyle
\setcurrentfontbodyalternative
\setcurrentfontalternative
\setcurrentfontsize
\setcurrentfontstylealternative
\setcurrentfontstylesize
\setcurrentfontalternativesize
\setcurrentfontstylealternativesize

>Caps font (yes, I know it's a typographical horror).

then why ask?

>(BTW, no Upright Italic in ConTeXt?)

no, never felt the need -)

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
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re[2]: Font style switching
  2002-01-22 12:27 ` Hans Hagen
@ 2002-01-22 17:08   ` Giuseppe Bilotta
  2002-01-23 11:26     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Giuseppe Bilotta @ 2002-01-22 17:08 UTC (permalink / raw)
  Cc: ntg-context

Tuesday, January 22, 2002 Hans Hagen wrote:

HH> you can do that using the low level yet undocumented but feel free to 
HH> document them (one example per macro will do) macros:

HH> \setcurrentfont
HH> \setcurrentfontbody
HH> \setcurrentfontstyle
HH> \setcurrentfontbodyalternative
HH> \setcurrentfontalternative
HH> \setcurrentfontsize
HH> \setcurrentfontstylealternative
HH> \setcurrentfontstylesize
HH> \setcurrentfontalternativesize
HH> \setcurrentfontstylealternativesize

Are there also \getcurrentfont<whatever> counterparts?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re[2]: Font style switching
  2002-01-22 17:08   ` Re[2]: " Giuseppe Bilotta
@ 2002-01-23 11:26     ` Hans Hagen
  2002-01-23 12:05       ` Re[3]: " Giuseppe Bilotta
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2002-01-23 11:26 UTC (permalink / raw)
  Cc: ntg-context

At 06:08 PM 1/22/2002 +0100, Giuseppe Bilotta wrote:

>Tuesday, January 22, 2002 Hans Hagen wrote:
>
>HH> you can do that using the low level yet undocumented but feel free to
>HH> document them (one example per macro will do) macros:
>
>HH> \setcurrentfont
>HH> \setcurrentfontbody
>HH> \setcurrentfontstyle
>HH> \setcurrentfontbodyalternative
>HH> \setcurrentfontalternative
>HH> \setcurrentfontsize
>HH> \setcurrentfontstylealternative
>HH> \setcurrentfontstylesize
>HH> \setcurrentfontalternativesize
>HH> \setcurrentfontstylealternativesize
>
>Are there also \getcurrentfont<whatever> counterparts?

what are the gets supposed to do? the current values are available in 
\currentfontstyle cum suis

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
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re[3]: Font style switching
  2002-01-23 11:26     ` Hans Hagen
@ 2002-01-23 12:05       ` Giuseppe Bilotta
  0 siblings, 0 replies; 5+ messages in thread
From: Giuseppe Bilotta @ 2002-01-23 12:05 UTC (permalink / raw)
  Cc: ntg-context

>>
>>Are there also \getcurrentfont<whatever> counterparts?

HH> what are the gets supposed to do? the current values are available in 
HH> \currentfontstyle cum suis

Ok, I'll look further into the matter.

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-01-23 12:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-22 11:41 Font style switching Giuseppe Bilotta
2002-01-22 12:27 ` Hans Hagen
2002-01-22 17:08   ` Re[2]: " Giuseppe Bilotta
2002-01-23 11:26     ` Hans Hagen
2002-01-23 12:05       ` Re[3]: " Giuseppe Bilotta

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).