From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: alignment questions
Date: Mon, 14 Mar 2005 10:03:25 +0100 [thread overview]
Message-ID: <4235535D.4080303@seznam.cz> (raw)
In-Reply-To: <42348A3C.3060800@wxs.nl>
h h extern wrote:
> 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 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.
>
> the other way is to use the following extensions (i made the dislocator
> installable so that you can hook in your own code if needed)
>
> \unprotect
>
> \def\stoplocalframed
> ...
Everything works perfectly until the depth is greater then strut depth
(still no real depth measurements):
\starttext
a
\framed[location=bottom]
{location=bottom
\ruledhbox
{A
\framed[width=2cm,align=middle,location=bottom]
{location\\equals\\bottom}
\framed[width=2cm,align=middle,location=top] {location\\equals\\top}
\framed[width=2cm,align=middle,location=lohi] {location\\equals\\lohi}
B}
}
b
\stoptext
vit
next prev parent reply other threads:[~2005-03-14 9:03 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
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 [this message]
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=4235535D.4080303@seznam.cz \
--to=vit.zyka@seznam.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).