ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \hspace variations
Date: Sun, 14 Dec 2008 15:24:47 +0100	[thread overview]
Message-ID: <4945172F.10108@gmx.net> (raw)
In-Reply-To: <49446783.7050104@gmail.com>

Vyatcheslav Yatskovsky schrieb:
> Hello,
> 
> I have some problems with \hspace. I try to insert it between two
> images, and this is what I get
> 1) \hspace{1cm} or \hspace<1cm> gives space  but writes "1cm" betwen
> images;
> 2) \hspace[1cm] does not work at all
> 3) \hspace[big] works fine, but \hspace[2*big] does not
> 
> I want to get space twice as big, but how?
>

\definehspace[2*big] [2\emspaceamount] % [1] name [2] dimension

\starttext

A big big \hspace[2*big] space.

\stoptext


In this case '2*big' is the name of that skip, not the dimension value.
See core-spa.tex for definitions of \hspace, \definehspace and
\hspaceamount.

Best wishes, Peter


> Best,
> Vyatcheslav
> ___________________________________________________________________________________
> 
> If your question is of interest to others as well, please add an entry
> to the Wiki!
> 
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 
> 

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-12-14 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1229166006.27182.ntg-context@ntg.nl>
2008-12-14  1:55 ` Vyatcheslav Yatskovsky
2008-12-14 14:24   ` Peter Rolf [this message]
     [not found]   ` <F1282B7D-056E-4CB5-8CCF-C665D2AF23DA@gmail.com>
2008-12-15 23:19     ` Vyatcheslav Yatskovsky

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=4945172F.10108@gmx.net \
    --to=indiego@gmx.net \
    --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).