From: "honyk" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Side-by-side framed text blocks
Date: Fri, 7 Jun 2013 00:26:19 +0200 [thread overview]
Message-ID: <11472.0886726447$1370557603@news.gmane.org> (raw)
In-Reply-To: <20130606215425.GC13190@homerow>
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.
Jan
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-06-06 22:26 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 [this message]
[not found] ` <01c001ce6304$de1db170$9a591450$@tosovsky@email.cz>
2013-06-06 22:39 ` Aditya Mahajan
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='11472.0886726447$1370557603@news.gmane.org' \
--to=j.tosovsky@email.cz \
--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).