Skip to content

Replace 2007-era protrusion fix with better 2018-era fix#154

Open
alexanderperlis wants to merge 1 commit intowannesm:masterfrom
alexanderperlis:patch-1
Open

Replace 2007-era protrusion fix with better 2018-era fix#154
alexanderperlis wants to merge 1 commit intowannesm:masterfrom
alexanderperlis:patch-1

Conversation

@alexanderperlis
Copy link
Copy Markdown

Instead of disabling microtype protrusion entirely in Table of Contents (which was the advice in microtype documentation since Jul 2007), use cancelling kern pairs to disable it only where page numbers occur — this is the same approach used by LaTeX since Dec 2018 (and microtype documentation removed its old advice in May 2021) but the LaTeX fix is overwritten by tocloft (used by adsphd), so here we use tocloft's after-page sockets to insert the same fix. Longer discussion at https://tex.stackexchange.com/a/761017/206306.

Instead of disabling microtype protrusion entirely in Table of Contents, use cancelling kern pairs to disable it only where page numbers occur. This is the same approach used by LaTeX itself since Dec 2018. See https://tex.stackexchange.com/a/761017/206306
@alexanderperlis alexanderperlis changed the title Update adsphd.cls Replace 2007-era protrusion fix with better 2018-era fix Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant