![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Patches item #257, was opened at 2005-01-10 21:43 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=495&aid=257&group_id=106 Category: None Group: Unstable (example)
Status: Closed Resolution: None Priority: 3 Submitted By: Hartmut Henkel (hhenkel) Assigned to: Nobody (None) Summary: Experimental patch for pdftex character protrusion
Initial Comment: Normally items inside a \hbox are not considered for protrusion. With this experimental patch also nested \hboxes at the left and right margin are recursively searched for items with \lpcode or \rpcode, and the outmost containing boxes are protruded correspondingly. This seems to be practical e. g. if an elevated \footnote{foo} (LaTeX) index happens to be at the right margin; in this case the footnote index normally is placed too far inward the line. This disturbance was detected by Peter Muthesius in an de.comp.text.tex news thread "pdfcprot und Ziffern am rechten Rand" started Sat Jan 08 14:05:23 CET 2005. Rough experimental patch, rudimentarily tested with left and right protrusion, see test file xx.tex with output xx.pdf. Just for discussion. No warranty. Have fun! Regards, Hartmut ----------------------------------------------------------------------
Comment By: Hartmut Henkel (hhenkel) Date: 2005-02-09 20:30
Message: Logged In: YES user_id=929 patch257h has been put into hz.ch for 1.21a (pdftex, pdfetex, pdfxtex) ---------------------------------------------------------------------- Comment By: Hartmut Henkel (hhenkel) Date: 2005-01-18 22:19 Message: Logged In: YES user_id=929 Character protrusion patch news: * The protrusion character can now be inside deeply nested \hbox{}, with further (also nested) skipable \hbox{} stuff in the way. The nested list will be recursively searched until a non-skipable item (protrusion character, other character, or list end) is found. * Try to solve left protrusion at paragraph start with \parindent=0pt,by selectively skipping over TeX's empty \hbox{} there. * Protrusion character search by 2 new functions find_protchar_left() and find_protchar_right(), and simple stack. Regards, Hartmut ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=495&aid=257&group_id=106