From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: "ntg-context-request@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: anaemic spacing around in-line typed text
Date: Sun, 1 Apr 2007 15:40:50 +0300 [thread overview]
Message-ID: <1589470894.20070401154050@gmail.com> (raw)
In-Reply-To: <4608E8C5.1040608@elvenkind.com>
Hello Taco,
Thanks, I came up with the following
\def\comm#1{{\tt#1}\,}
\starttext
The \comm{rand} function generates pseudo-random numbers.
\stoptext
I quite satisfied with it, but maybe there is better way to typeset
programming keywords?
Best regards,
Vyatcheslav Yatskovsky
>> The following look ugly because of anaemic spacing before and after typed text.
>> \starttext
>> The {\tt rand} function generates pseudo-random numbers.
>> \stoptext
>> How to fix it?
> If you want the spaces larger than normal interword spaces,
> you could consider tagging your calls using a special macro
> to do the typesetting. Perhaps like this:
> \def\function#1{ #1 }
> \starttext
> The \function{rand} function generates pseudo-random numbers.
> \stoptext
next prev parent reply other threads:[~2007-04-01 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3821.1174921721.17432.ntg-context@ntg.nl>
2007-03-26 21:38 ` Vyatcheslav Yatskovsky
2007-03-27 9:49 ` Taco Hoekwater
2007-04-01 12:40 ` Vyatcheslav Yatskovsky [this message]
2007-04-01 13:22 ` Wolfgang Schuster
2007-04-01 19:49 ` Vyatcheslav Yatskovsky
2007-04-02 6:17 ` Wolfgang Schuster
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=1589470894.20070401154050@gmail.com \
--to=yatskovsky@gmail.com \
--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).