Tag Info

New answers tagged

4

Notwithstanding the question of whether protrusion may be pointless with ragged text, my patch you referred to is simply incomplete. You also need to add the following: \def\@vwid@measure{% \ifvoid\z@ \else % numbered equations not part of alignments can't be reset, % so force retention of full width. \ifnum\count@=\@vwid@postnump ...


18

\sloppy is a latex macro that does \def\sloppy{% \tolerance 9999% \emergencystretch 3em% \hfuzz .5\p@ \vfuzz\hfuzz} \fussy sets the values back to the latex defaults \def\fussy{% \emergencystretch\z@ \tolerance 200% \hfuzz .1\p@ \vfuzz\hfuzz} \tolerance sets the maximum "badness" that tex is allowed to use while setting the paragraph, ...


6

Yes, I would say this is a bug in pdftex. (It seems related to this bug, which was fixed a couple of years ago.) It appears that \rightmarginkern reports a zero kern if the \parfillskip contains a glue component, while margin kerning itself is applied despite the glue component. Both agree if you set \parfillskip to 0pt. For the exact rules, I can only ...


6

varwidth dis- and reassembles the vboxes line by line, in the course of which the margin kerns are lost. The remedy would be to use \leftmarginkern and \rightmarginkern in order to record and reinsert the margin kerns. This requires two changes in varwidth.sty: % --- new dimens --- \newdimen\@vwid@leftmargin \newdimen\@vwid@rightmargin \def\@vwid@sift{% ...



Top 50 recent answers are included