ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* horizontal space
@ 2006-06-12 12:31 Matthias Schleiff
  2006-06-12 16:38 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Schleiff @ 2006-06-12 12:31 UTC (permalink / raw)


Hello,

I'm a newbe to ConTeXt but have allready done some documents in LaTeX. Want to switch to ConTeXt.

There's something that I neither find in the manuals nor at contextgarden. Maybe you could help?!

To realize my micro-typographic needs I'm using LaTeX-commands for defined, possibly non-breakable, horizontal spaces. Those are \, \enspace \quad and \hspace{0.25em} or \hspace*{0.125em}.
Now when testing with contextlive @ contextgarden the commands \, \enspace \quad seem to work. Are they plainTeX? But what about \hspace ?

It would be cool to have something like \hspace*{0.125em} in ConTeXt.
Is there something like it or a way to make it work or to define it on my own?

Any suggestions might be helpfull
Best regards, Matthias
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: horizontal space
  2006-06-12 12:31 horizontal space Matthias Schleiff
@ 2006-06-12 16:38 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-06-12 16:38 UTC (permalink / raw)


Matthias Schleiff wrote:
> Hello,
>
> I'm a newbe to ConTeXt but have allready done some documents in LaTeX. Want to switch to ConTeXt.
>
> There's something that I neither find in the manuals nor at contextgarden. Maybe you could help?!
>
> To realize my micro-typographic needs I'm using LaTeX-commands for defined, possibly non-breakable, horizontal spaces. Those are \, \enspace \quad and \hspace{0.25em} or \hspace*{0.125em}.
> Now when testing with contextlive @ contextgarden the commands \, \enspace \quad seem to work. Are they plainTeX? But what about \hspace ?
>
> It would be cool to have something like \hspace*{0.125em} in ConTeXt.
> Is there something like it or a way to make it work or to define it on my own?
>   

\definehspace[notthatbig][.123456em]
\definehspace[ratherbig] [12.3456em]

test \hspace[notthatbig] test \hspace[ratherbig] test

so, it's a symbolic definition 

vertical spacing is done with blank (and \defineblank) 

watch how hspace cleans up preceding spaces and ignores following ones 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-12 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-12 12:31 horizontal space Matthias Schleiff
2006-06-12 16:38 ` 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).