* Re: nfss support
[not found] <200011231759.SAA19357@anxur.fi.muni.cz>
@ 2000-11-24 9:43 ` Hans Hagen
0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2000-11-24 9:43 UTC (permalink / raw)
Cc: ntg-context
At 06:59 PM 11/23/00 +0100, Han The Thanh wrote:
>Hi Hans,
>
>is it possible to use nfss-like syntax with context? For example,
>
>\textit{italic text \textbf{bold-italic text}}
That is not too hard to support:
\def\emphbf%
{\groupedcommand{\bf\def\emphit{\bi}\def\emphsl{\bs}}{}}
\def\emphit%
{\groupedcommand{\it\def\emphbf{\bi}\def\emphsl{\sl}}{}}
\def\emphsl%
{\groupedcommand{\sl\def\emphbf{\bs}\def\emphit{\it}}{}}
\def\emphtf%
{\groupedcommand{\tf\def\emphbf{\bf}\def\emphit{\it}\def\emphsl{\sl}}{}}
TEXT {\emphbf text \emphit text \emphtf text \emphsl text} TEXT \par
TEXT \emphbf{text \emphit{text} \emphtf{text} \emphsl{text}} TEXT
I'll add them as kind of alternative \em -)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-24 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200011231759.SAA19357@anxur.fi.muni.cz>
2000-11-24 9:43 ` nfss support Hans Hagen
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).