ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Pavneet Arora <pavneet_arora@waroc.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: columns vs. paragraphs, and a question about fillinrule
Date: Sat, 14 Sep 2013 17:44:41 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.03.1309141737550.13522@hzvpu.rqh> (raw)
In-Reply-To: <20130912213144.GE23953@darjiling>

On Thu, 12 Sep 2013, Pavneet Arora wrote:

> As part of this legal document set that I have been working to put
> together, I needed side-by-side text.  Looking at the wiki, I noticed
> that there are at least 3 methods:  columns, paragraphs, columnsets.
>
> I only attempted two, but they seem to have quite different results.  I
> understood that columns were for simple cases.  However, in my MWE
> below, the \column command breaks the "columns" in unusual way.
>
> One can also swap out the order of the paragraphs and columns methods;
> the results are similar.  Also, one can adjust the dorecurse command
> with additional lorems to see where the "columns" land on the page.
> Again results are similar.
>
> Any suggestions?

What is the desired output? Do you want the left "column" to continue on 
to the next page? Is so, you could use the tabulate environment.

\setuppaper[A5, landscape]
\starttext
\startalignment[middle]
{\tfc AN IMPORTANT LEGAL DOCUMENT}
\stopalignment

\starttabulate[|p(0.5\textwidth)|p(0.1\textwidth)|p(0.4\textwidth)|]
   \NC WITNESSES:
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{1.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{2.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{3.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{4.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{5.}
   \NC
   \NC
       (TESTATOR)\crlf
       Ms. B.E. Def
   \NC
   \NR
   \NC WITNESSES:
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{1.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{2.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{3.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{4.}
     \fillinrules[n=15,interlinespace=small,width=broad,separator=]{5.}
   \NC
   \NC
       (TESTATOR)\crlf
       Ms. B.E. Def
   \NC
   \NR
\stoptabulate

\stoptext
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-09-14 21:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 21:31 Pavneet Arora
2013-09-14 21:44 ` Aditya Mahajan [this message]
2013-09-15 10:23   ` Pavneet Arora

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=alpine.LNX.2.03.1309141737550.13522@hzvpu.rqh \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pavneet_arora@waroc.com \
    /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).