* mframed and alignment width
@ 2022-07-14 9:47 Hans-Joerg Schurr via ntg-context
0 siblings, 0 replies; only message in thread
From: Hans-Joerg Schurr via ntg-context @ 2022-07-14 9:47 UTC (permalink / raw)
To: ntg-context; +Cc: Hans-Joerg Schurr
Hello everyone,
I'm using \startaligned with pairs and a distance to represent inference steps,
one per row.
Now I would like to sometimes add a vertical bar to the left of the rows and one
below the last row. I was able to achieve this using \mframed, but now the
contented inside the framed box doesn't span the entire text width.
Here is an example:
\starttext
\startformula
\startalign[m=3, n=1,distance=2em plus 1 fil]
\NC 1 \NC 2 \NC 3 \NR
\NC 4 \NC 5 \NC 6 \NR
\stopalign
\stopformula
\startformula
\mframed[frame=off,bottomframe=on,leftframe=on]{
\startalign[m=3, n=1,distance=2em plus 1 fil]
\NC 1 \NC 2 \NC 3 \NR
\NC 4 \NC 5 \NC 6 \NR
\stopalign}
\stopformula
\stoptext
The second alignment should have the same width as the first one. I played
around with the options of \mframed, but could not achieve this. :(
I will sneak in a a second small question: how can I adjust the distance between
the rows?
Thank you very much,
Hans-Jörg
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-14 9:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 9:47 mframed and alignment width Hans-Joerg Schurr 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).