This commit is contained in:
2025-06-21 09:44:26 -04:00
parent b11135541b
commit 4d35f89a31
52 changed files with 1083 additions and 1413 deletions

View File

@@ -1,15 +1,9 @@
%% TITLES
%
% change this info string if making any custom modification
\ProvidesPackage{sphinxlatexstyleheadings}[2023/02/11 headings]
\ProvidesFile{sphinxlatexstyleheadings.sty}[2023/02/11 headings]
\RequirePackage[nobottomtitles*]{titlesec}
% tests showed that this setting guarantees \section title has
% 3 lines of text following it on same page if near bottom.
\renewcommand\bottomtitlespace{6\baselineskip}
% the default setting of 0.2\textheight is about 11\baselineskip
% (for 10pt letterpaper documents) and may create large voids.
\@ifpackagelater{titlesec}{2016/03/15}%
{\@ifpackagelater{titlesec}{2016/03/21}%
{}%
@@ -53,6 +47,7 @@
\titleformat{\subparagraph}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\thesubparagraph}{0.5em}{\py@TitleColor}
% Since Sphinx 1.5, users should use HeaderFamily key to 'sphinxsetup' rather
% than defining their own \py@HeaderFamily command (which is still possible).
% Memo: \py@HeaderFamily is also used by \maketitle as defined in