diff options
author | jfbu <jfbu@free.fr> | 2021-02-09 17:47:15 +0300 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2021-02-09 17:47:15 +0300 |
commit | 035d13fd248f386073390578672802fe91e8395a (patch) | |
tree | f36e5561cadcd0f203768c2aff5b99ba87e58c43 /sphinx/texinputs | |
parent | 7175d11f05a25fc6c7be0cf7e2037510e10f3b93 (diff) |
Update CHANGES and docs relative to new verbatimforcewraps
Diffstat (limited to 'sphinx/texinputs')
-rw-r--r-- | sphinx/texinputs/sphinx.sty | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 99f7664bd..adc9a23a7 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -1224,9 +1224,10 @@ % box does not store in an accessible way what was the maximal % line-width during paragraph building. % -% If the max width exceed the linewidth by at least 4 character -% widths, then we apply the "force wrapping" with potential line -% break at each character, else we don't. +% If the max width exceeds the linewidth by more than verbatimmaxoverfull +% character widths, or if the min width plus verbatimmaxunderfull character +% widths is inferior to linewidth, then we apply the "force wrapping" with +% potential line break at each character, else we don't. \long\def\spx@verb@FormatLineForceWrap#1{% % \spx@image@box is a scratch box register that we can use here \global\let\spx@verb@maxwidth\z@ |