[NTG-context] teaser
Wolfgang Schuster
wolfgang.schuster.lists at gmail.com
Thu Aug 6 20:12:56 CEST 2020
Hans Hagen schrieb am 06.08.2020 um 19:26:
> Hi,
>
> I uploaded a new lmtx version ... it has a new mechanism for
> manipulating boxes:
>
> http://www.pragma-ade.com/general/magazines/mag-1105-mkiv.pdf
>
> (also in distribution)
>
> Of course experimental but I bet that some can think of usage.
The \copyboxline command doesn't stop at the end of the requested line.
BTW: Is it possible to have unbox command to get the width of the
content in the lines without the spaces at the begin end. This is useful
to get the width of first/last line in a box.
%% begin example
\starttext
\setbox0\vbox
{\hsize=4cm
one\par
two\par
three\par
four}
\setbox2\ruledhbox{\copyboxline 0 2}
\setbox4\ruledhbox{\boxline 0 3}
%\setbox6 \boxline 0 5 % error
[2] [\box2] \par
[3] [\box4] \par
[5] [\box6] \par
\stoptext
%% end example
Wolfgang
More information about the ntg-context
mailing list