From: Willi Egger <w.egger@boede.nl>
Subject: Re: alignment questions
Date: Sun, 13 Mar 2005 12:02:56 +0100 [thread overview]
Message-ID: <42341DE0.6040508@boede.nl> (raw)
In-Reply-To: <m2ekekcumb.fsf@levana.de>
[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]
Hoi Patrick,
Humble, I used just the \bTABLE ...\eTABLE environment. Please refer to
the attached file.
Kind regards
Willi
Patrick Gundlach wrote:
> Hello *,
>
>
> inspired by Gerben's question, I did some experimenting with \framed.
>
> I'd like to get A[text]B, where text is some long thing in a framed
> box like \framed[width=5cm] {\input tufte \par}.
>
> There are three different ways of aligning the three objects:
>
>
> (A and B on the same baseline as the first row)
>
> A We thrive in information- B
> -------------------------------
> thick worlds because of our
> marvelous and everyday ca-
>
>
> (A and B in the middle of the box, not necessarily on the same
> baseline as a line in the box)
>
> criminate, distinguish, screen,
> A pigeonhole, pick over, sort, B
> integrate, blend, inspect,
>
>
> (A and B on the same baseline as the last row)
>
> from the chaff and seperate
> A the sheeps from the goats. B
> --------------------------------
>
>
>
> I was unable to get any of these alignments.
>
> Patrick
[-- Attachment #2: textblockalignment-Gundlach.tex --]
[-- Type: text/plain, Size: 1171 bytes --]
% ALigning three blocks of text
% PAtrick Gundlach
% Context file
% filename: textblockalignment-Gundlach.tex
% Willi Egger
% 13-03-2005
\setupoutput[pdftex]
\setupbodyfont[rm,12pt]
\starttext
% Alignment of the three blocks with the first line
\setupTABLE[column][1][frame=off,width=2cm]
\setupTABLE[column][3][frame=off,width=2cm]
\setupTABLE[column][2][frame=off,width=5cm]
\bTABLE
\bTR
\bTD A \eTD
\bTD We thrive in information-
thick worlds because of our
marvelous and everyday ca- \eTD
\bTD B \eTD\eTR
\eTABLE
\blank[3*big]
% Alignment of first and third block vertically centered, not necessarily aligned with
% a line of the second block
\bTABLE
\bTR
\bTD[align=lohi] A \eTD
\bTD criminate, distinguish, screen,
pigeonhole, pick over, sort,
integrate, blend, inspect, \eTD
\bTD[align=lohi] B \eTD\eTR
\eTABLE
\blank[3*big]
% Alignmnet of the three blocks in such a way, that the first and last block align
% with the laast row of the second block
\bTABLE
\bTR
\bTD[align=low] A \eTD
\bTD from the chaff and seperate
A the sheeps from the goats. \eTD
\bTD[align=low] B \eTD\eTR
\eTABLE
\stoptext
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2005-03-13 11:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-12 23:27 Patrick Gundlach
2005-03-13 10:25 ` Willi Egger
2005-03-13 16:39 ` Patrick Gundlach
2005-03-13 11:02 ` Willi Egger [this message]
2005-03-13 11:22 ` Vit Zyka
2005-03-13 11:44 ` Taco Hoekwater
2005-03-14 9:53 ` Patrick Gundlach
2005-03-13 12:24 ` Willi Egger
2005-03-13 18:45 ` h h extern
2005-03-14 9:03 ` Vit Zyka
2005-03-14 9:31 ` Patrick Gundlach
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=42341DE0.6040508@boede.nl \
--to=w.egger@boede.nl \
--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).