ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: Yatskovsky <yatskovsky@gmail.com>,
	 "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: anaemic spacing around in-line typed text
Date: Mon, 2 Apr 2007 08:17:24 +0200	[thread overview]
Message-ID: <115224fb0704012317p28319a42v92a0c2a81466dc89@mail.gmail.com> (raw)
In-Reply-To: <545155197.20070401224934@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 682 bytes --]

2007/4/1, Vyatcheslav Yatskovsky <yatskovsky@gmail.com>:
>
>  Hello Wolfgang,
>
>
> Thanks.
>
>
> \def\comm{\thinspace\groupedcommand\tt\thinspace}
>
>  works quite well.
>
>
> From a newbie standpoint, I wonder why replacing \thinspace with
> \hspace[medium] fails?
>

It did not fail, you forget only the braces.

\def\comm
  {\groupedcommand{\hspace[medium]\tt}{\hspace[medium]}}

To get more control over the spacing define your own \hspace:

\definehspace[commspace][medium]

\def\comm
  {\groupedcommand{\hspace[commspace]\tt}{\hspace[commspace]}}

Wolfgang

> (I had another version
>
>  \def\comm#1{\hspace[medium]{\tt#1}\hspace[medium]}
>
> it worked.)
>
>
> Vystcheslav
>

[-- Attachment #1.2: Type: text/html, Size: 1249 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      reply	other threads:[~2007-04-02  6:17 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
2007-04-01 13:22       ` Wolfgang Schuster
2007-04-01 19:49         ` Vyatcheslav Yatskovsky
2007-04-02  6:17           ` Wolfgang Schuster [this message]

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=115224fb0704012317p28319a42v92a0c2a81466dc89@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=yatskovsky@gmail.com \
    /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).