ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Ursula Hermann <ursula.hermann@univie.ac.at>
Subject: Re: Distance between two Columns
Date: Thu, 28 Feb 2019 18:26:53 +0100	[thread overview]
Message-ID: <8ce30f50-50b0-7892-f465-28fe0c8908d9@gmail.com> (raw)
In-Reply-To: <20fa6f5c7ca84accbedbd2f054dc8caa@univie.ac.at>

Ursula Hermann schrieb am 28.02.19 um 11:43:
> Dear List!
> 
> I have the following example. I would like to have two columns that are 
> in the distance small. So I have tried:
> 
> \setuppapersize[A5]
> 
> \startcolumns
> 
> \defineframed
> 
>     [tightframed][width=5cm,width.1\textwidth,align=right]
> 
> \tightframed{Small}
> 
> \column
> 
> \tightframed{A really really long line that is split at 5cm}
> 
> If I take the example with only \tightframed, without the columns, I 
> have the small distance, but I would like to have a left and right 
> column with small distance.

Are you looking for something like the examples below?

\setupcombination
   [location=top,
    distance=\spaceamount]

\starttext

\startcombination[2*1]
	{\framed[width=5cm,align=flushleft]{Small}}{}
	{\framed[width=5cm,align=flushleft]{A really really long line that is 
split at 5cm}}{}
\stopcombination

\blank

\placesidebyside
	{\framed[width=5cm,align=flushleft]{Small}}
	{\framed[width=5cm,align=flushleft]{A really really long line that is 
split at 5cm}}

\blank

\bTABLE[width=5cm,align=flushleft,columndistance=\spaceamount]
   \bTR
     \bTD Small \eTD
     \bTD A really really long line that is split at 5cm \eTD
   \eTR
\eTABLE

\stoptext

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2019-02-28 17:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 10:43 Ursula Hermann
2019-02-28 11:04 ` Marco Patzer
2019-02-28 17:26 ` 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=8ce30f50-50b0-7892-f465-28fe0c8908d9@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=ursula.hermann@univie.ac.at \
    /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).