Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\blank\setlocalhsize\framed[frame=off,location=top,align=normal,offset=0pt,width=local]{\input tufte }\stoptextThe compiled pdf is attached as protrusion-in-framed.pdf.Is is possible to make protrusion work in framed?I need to use framed in itemize to prevent splittinf of items between pages.Thanks,bcsikos
Csikos Bela schrieb am 20.10.2023 um 14:53:
Hello:
Protrusioin doesn't work in framed environment.
This is a short code:
\definefontfeature[default][default][expansion=quality,protrusion=quality]
\setupalign[hz,hanging]
\showframe
\starttext
\input tufte
\blank
\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }
\framed[...,align={normal,hz,hanging},...]{...} Wolfgang
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't work in framed environment. > > This is a short code: > > \definefontfeature[default][default][expansion=quality,protrusion=quality] > > \setupalign[hz,hanging] > > \showframe > > \starttext > > \input tufte > > \blank > > \framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte } \framed[...,align={normal,hz,hanging},...]{...} Wolfgang Thank you for the super fast answer!Another question related to my sample code:Why the right edge of the text hangs into the margin when I use this code:\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }Thanks,bcsikos
I forgot to attach the pdf.-------- Eredeti levél --------Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\blank\setlocalhsize\framed[frame=off,location=top,align=normal,offset=0pt,width=local]{\input tufte }\stoptextThe compiled pdf is attached as protrusion-in-framed.pdf.Is is possible to make protrusion work in framed?I need to use framed in itemize to prevent splittinf of items between pages.Thanks,bcsikos
participants (2)
-
Csikos Bela
-
Wolfgang Schuster