mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: use current parskip package for better spacing around titles (#12833)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
cf8f140dd8
commit
173838b534
@ -6,6 +6,8 @@ Dependencies
|
|||||||
|
|
||||||
* #12756: Add lower-bounds to the ``sphinxcontrib-*`` dependencies.
|
* #12756: Add lower-bounds to the ``sphinxcontrib-*`` dependencies.
|
||||||
Patch by Adam Turner.
|
Patch by Adam Turner.
|
||||||
|
* #12833: Update the LaTeX ``parskip`` package from 2001 to 2018.
|
||||||
|
Patch by Jean-François B.
|
||||||
|
|
||||||
Incompatible changes
|
Incompatible changes
|
||||||
--------------------
|
--------------------
|
||||||
|
@ -4,13 +4,7 @@
|
|||||||
\ProvidesPackage{sphinxlatexstylepage}[2021/01/27 page styling]
|
\ProvidesPackage{sphinxlatexstylepage}[2021/01/27 page styling]
|
||||||
|
|
||||||
% Separate paragraphs by space by default.
|
% Separate paragraphs by space by default.
|
||||||
\IfFileExists{parskip-2001-04-09.sty}% since September 2018 TeXLive update
|
\RequirePackage{parskip}
|
||||||
% new parskip.sty, but let it rollback to old one.
|
|
||||||
% hopefully TeX installation not broken and LaTeX kernel not too old
|
|
||||||
{\RequirePackage{parskip}[=v1]}
|
|
||||||
% standard one from 1989. Admittedly \section of article/book gives possibly
|
|
||||||
% anomalous spacing, but we can't require September 2018 release for some time.
|
|
||||||
{\RequirePackage{parskip}}
|
|
||||||
|
|
||||||
% Style parameters and macros used by most documents here
|
% Style parameters and macros used by most documents here
|
||||||
\raggedbottom
|
\raggedbottom
|
||||||
|
Loading…
Reference in New Issue
Block a user