ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Side-by-side framed text blocks
Date: Thu, 6 Jun 2013 18:39:55 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1306061838390.5550@nqv-guvaxcnq> (raw)
In-Reply-To: <01c001ce6304$de1db170$9a591450$@tosovsky@email.cz>

On Fri, 7 Jun 2013, honyk wrote:

> Dear Marco,
>
>>> I'd like to type two blocks of text with different 'align' settings
>> side by
>>> side.
>>
>> Here's one way to do it:
>>
>> \setupframed
>>   [offset=1ex,
>>    width=8cm,
>>    frame=off]
>>
>> \starttext
>>   \placesidebyside
>>     {\startframed[align={normal,left}]  \input knuth\par\stopframed}
>>     {\startframed[align={normal,right}] \input knuth\par\stopframed}
>> \stoptext
>>
>> Marco
>
> thanks for this. I removed that framed=off option and it turned out to be sligthly different from what I'd like to achieve.
>
> My goal is to have two blocks with a vertical gap between them and to have these blocks framed (or with the colored background) at the text area - without the cell spans - to show differences between the standard and 'hanging' alignments (that right border should cross the punctuation in the hanging mode).
>
> Below each 'column' I'd like to place a short description (centered) - exactly as on the referenced examples.

\startcombination?
http://wiki.contextgarden.net/Command/startcombination

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2013-06-06 22:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01ab01ce62fa$8173a970$845afc50$@tosovsky@email.cz>
2013-06-06 21:54 ` Marco Patzer
2013-06-06 22:26   ` honyk
     [not found]   ` <01c001ce6304$de1db170$9a591450$@tosovsky@email.cz>
2013-06-06 22:39     ` Aditya Mahajan [this message]
2013-06-06 22:56     ` Marco Patzer
2013-06-07 18:21       ` honyk
2013-06-06 21:12 honyk

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.DEB.2.02.1306061838390.5550@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --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).