mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Rename to `\shinxbelowcaptionspace
`
This commit is contained in:
parent
07fa4246a3
commit
64a45053af
@ -65,7 +65,7 @@
|
||||
\newcommand*\sphinxtablepost{\medskipamount}%
|
||||
% as one can not use \baselineskip from inside longtable (it is zero there)
|
||||
% we need \sphinxbaselineskip, which defaults to \baselineskip
|
||||
\newcommand*\sphinxbelowcaptionskip{.5\sphinxbaselineskip}%
|
||||
\newcommand*\sphinxbelowcaptionspace{.5\sphinxbaselineskip}%
|
||||
\def\sphinxbaselineskip{\baselineskip}%
|
||||
% Helper macros, not a priori for user customization
|
||||
\def\sphinxatlongtablestart
|
||||
@ -79,7 +79,7 @@
|
||||
% the longtable template inserts a \strut at caption's end
|
||||
\def\sphinxlongtablecapskipadjust
|
||||
{\dimexpr-\dp\strutbox-\sphinxbaselineskip
|
||||
+\sphinxbelowcaptionskip\relax}%
|
||||
+\sphinxbelowcaptionspace\relax}%
|
||||
% tabular(y) with or without threeparttable
|
||||
\def\sphinxattablestart
|
||||
{\par
|
||||
@ -89,7 +89,7 @@
|
||||
% the tabular(y) templates use [t] vertical placement parameter
|
||||
\def\sphinx@TPTbelowcaptionskip
|
||||
{\dimexpr-1.2\baselineskip % .2\baselineskip hardcoded in threeparttable
|
||||
+\sphinxbelowcaptionskip\relax }%
|
||||
+\sphinxbelowcaptionspace\relax }%
|
||||
% varwidth is crucial for our handling of general contents in merged cells
|
||||
\RequirePackage{varwidth}
|
||||
% but addition of a compatibility patch with hyperref is needed
|
||||
|
Loading…
Reference in New Issue
Block a user