ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: Denis Maier via ntg-context <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: Parallel texts: verse with blanks between stanzas via tabulate
Date: Fri, 26 Aug 2022 23:26:56 +0200	[thread overview]
Message-ID: <55789d79-9224-9b36-7fe8-f35d865d4a3b@fiee.net> (raw)
In-Reply-To: <7a6d1cf9c3694514ba4b48ed7fb29c33@unibe.ch>

Am 26.08.22 um 22:00 schrieb Denis Maier via ntg-context:
> Hi,
> 
> I need to typeset two poems side by side. Usually, I use the tabulate 
> environment for typesetting parallel texts. However, for poems this does 
> not quite work as tabulate does not seem to allow blanks between the 
> stanzas. See MWE below. Am I missing someting? Is there a better way to 
> achieve this?

How about columnsets or paragraphs?

\definecolumnset[Zwei][n=2]
\startcolumnset[Zwei]
\startlines
Starlight, star bright,
first star I see tonight;
\stoplines
\column
\startlines
I wish I may, I wish I might
have the wish I wish tonight.
\stoplines
\stopcolumnset


\defineparagraphs[Zwei][n=2]
\setupparagraphs[Zwei][1][
   width=.45\textwidth, distance=2em,
   align={verytolerant,stretch}]
% width of 2nd column is calculated automatically

\startZwei
...
\nextZwei
...
\stopZwei


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-08-26 21:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 20:00 Denis Maier via ntg-context
2022-08-26 21:26 ` Henning Hraban Ramm via ntg-context [this message]
2022-08-27  7:17   ` Denis Maier via ntg-context
2022-08-27  7:26     ` Wolfgang Schuster via ntg-context
2022-08-27 21:25       ` Denis Maier via ntg-context
2022-08-28  8:41         ` Hans Hagen via ntg-context
2022-08-29  9:36           ` Denis Maier via ntg-context
2022-08-29 11:31           ` Denis Maier via ntg-context
2022-08-29 11:58             ` Hans Hagen via ntg-context
2022-08-30 11:40               ` Denis Maier via ntg-context
2022-08-30 12:30                 ` Hans Hagen via ntg-context
2022-08-30 12:55                   ` Denis Maier via ntg-context
2022-08-27 21:19   ` Denis Maier via ntg-context

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=55789d79-9224-9b36-7fe8-f35d865d4a3b@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).