ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: italic correction
Date: Tue, 23 Sep 2003 19:25:14 +0200	[thread overview]
Message-ID: <m23cento1x.fsf@levana.de> (raw)
In-Reply-To: <3F707730.88A00C08@lamar.colostate.edu> (Idris S. Hamid's message of "Tue, 23 Sep 2003 10:39:12 -0600")

Idris S Hamid <ishamid@lamar.colostate.edu> writes:

Hi,

> Sometimes I make a definition like
>
> \def\TR{\it}
>
> for certain purposes (structural consistency, etc.). How do I modify
> this to automatically do an italic correction the way \em is set up to
> do in \ConTeXt?

I'd do it like this:

\def\TR{\aftergroup \emphasiscorrection\it}

see the examples:

\def\TR{\aftergroup \/\it}
\startlines
{\it this is a roof}right?
{\TR this is a roof}right?
{\TR this is a roof}, right?
\def\TR{\aftergroup \emphasiscorrection\it}
{\TR this is a roof}right?
{\TR this is a roof}, right?
\stoplines


But I bet that there is a more clever way.

Patrick
-- 
Silent is the goldfish in its bowl

  reply	other threads:[~2003-09-23 17:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23 16:39 Idris S Hamid
2003-09-23 17:25 ` Patrick Gundlach [this message]
2003-09-23 21:24   ` Hans Hagen
2003-09-24  7:36     ` Patrick Gundlach
2003-09-24 10:49       ` Hans Hagen
2003-09-23 21:07 ` Hans Hagen
2011-08-15 18:04 Italic correction Wolfgang Schuster
2011-08-15 19:13 ` Hans Hagen
2011-08-15 19:35   ` Wolfgang Schuster
2011-08-15 20:33     ` Hans Hagen

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=m23cento1x.fsf@levana.de \
    --to=pg@levana.de \
    --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).