* [NTG-context] framed boxes top aligned howto?
@ 2024-05-31 10:13 Hans van der Meer via ntg-context
2024-05-31 15:27 ` [NTG-context] " Hans van der Meer via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Hans van der Meer via ntg-context @ 2024-05-31 10:13 UTC (permalink / raw)
To: NTG ConTeXt; +Cc: Hans van der Meer
[-- Attachment #1.1: Type: text/plain, Size: 1053 bytes --]
I have no problem of aligning two or more \framedtext boxes bottomwise on the baseline, nor centering them vertically within a \vcenter.
But I do not succeed in placing them with their top aligned without the following trick: typeset them in a box, determine largestheight and then typeset again each within: \vbox to largestheight and \vill'ed to the bottom.
All very well, but it is disastrous when there are side effects: twice typesetting then fails in some instances.
I hope I described the question sufficiently clear, because an MWE is not so minimal.
Therefore my question: how can I align two or more \framedtext's thus:
|----------] |----------] |----------] ...
| ] [ ] [ ]
| ] [ ] [ ]
| ] [ ] [ ]
| ] |----------] [ ]
| ] [ ]
| ] [ ]
|----------] [ ]
|----------]
yours sincerely
dr. Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 3844 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* [NTG-context] Re: framed boxes top aligned howto?
2024-05-31 10:13 [NTG-context] framed boxes top aligned howto? Hans van der Meer via ntg-context
@ 2024-05-31 15:27 ` Hans van der Meer via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Hans van der Meer via ntg-context @ 2024-05-31 15:27 UTC (permalink / raw)
To: NTG ConTeXt; +Cc: Hans van der Meer
[-- Attachment #1.1: Type: text/plain, Size: 1938 bytes --]
Forget this question: location=top did the trick.
Should have found earlier. Rest of the day contemplating over the fact it took me so long to find out 🥲
yours sincerely
dr. Hans van der Meer
> On 31 May 2024, at 12:13, Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:
>
> I have no problem of aligning two or more \framedtext boxes bottomwise on the baseline, nor centering them vertically within a \vcenter.
> But I do not succeed in placing them with their top aligned without the following trick: typeset them in a box, determine largestheight and then typeset again each within: \vbox to largestheight and \vill'ed to the bottom.
>
> All very well, but it is disastrous when there are side effects: twice typesetting then fails in some instances.
> I hope I described the question sufficiently clear, because an MWE is not so minimal.
>
> Therefore my question: how can I align two or more \framedtext's thus:
>
> |----------] |----------] |----------] ...
> | ] [ ] [ ]
> | ] [ ] [ ]
> | ] [ ] [ ]
> | ] |----------] [ ]
> | ] [ ]
> | ] [ ]
> |----------] [ ]
> |----------]
>
> yours sincerely
> dr. Hans van der Meer
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 5394 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-31 15:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-31 10:13 [NTG-context] framed boxes top aligned howto? Hans van der Meer via ntg-context
2024-05-31 15:27 ` [NTG-context] " Hans van der Meer via ntg-context
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).