ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Patrick Gundlach" <pg@levana.de>
Subject: Re: Non breaking small space
Date: 04 May 2002 22:49:40 +0200	[thread overview]
Message-ID: <87adrfljtn.fsf@gundla.ch> (raw)
In-Reply-To: <B8F4C41F.81FB%king@dircon.co.uk>

Nigel King <king@dircon.co.uk> writes:

Hi Nigel,

> In LaTeX there is \, which is a small space which does not break easily at
> the end of lines. It can be used as the space between say 10 and GHz.
> Obviously I could use units but that seems to be a bit of a sledgehammer to
> crack my nut. ConTeXt has |~| a small space but it breaks between lines. Is
> there any solution that I have missed.

You can define your own discretionaries like the |~| one:

\definetextmodediscretionary ,
  {\kern .1667 em}

So now you can say 'My new calculator runs with 10|,|GHz'. 

See supp-lan.tex for more discretionaries. 

Patrick

-- 
I'll fade into the darkness


  parent reply	other threads:[~2002-05-04 20:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 20:58 Nigel King
2002-05-02 14:12 ` John Culleton
2002-05-03 23:09   ` Nigel King
2002-05-06  0:09     ` Hans Hagen
2002-05-06 19:31       ` "LaTeX compatibility module" (was: Non breaking small space) Henning Hraban Ramm
2002-05-08  0:28         ` Idris Samawi Hamid
2002-05-08  8:59           ` Taco
2002-05-06  0:11   ` Non breaking small space Hans Hagen
2002-05-06 12:53     ` Eckhart Guthöhrlein
2002-05-06 12:58     ` John Culleton
2002-05-04 20:49 ` Patrick Gundlach [this message]
2002-05-05  0:20   ` Gamma bugs Idris Samawi Hamid
2002-05-05  1:46     ` defining environments Idris Samawi Hamid
2002-05-05 10:11       ` Henning Hraban Ramm
2002-05-05 11:32       ` Patrick Gundlach
2002-05-05 23:34     ` Gamma bugs Hans Hagen
2002-05-09 19:49 ` Non breaking small space 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=87adrfljtn.fsf@gundla.ch \
    --to=pg@levana.de \
    /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).