mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 08:25:01 -05:00
LaTeX: restore 1.7 documentation of literalblockcappos (#14224)
This commit is contained in:
1 parent
d75d602005
commit
9ee5446c6c
3 files changed
+12
-3
No files matched your search
@@ -44,6 +44,9 @@ Bugs fixed
|
||||
Patch by Jean-François B.
|
||||
* #14089: autodoc: Improve support for non-weakreferencable objects.
|
||||
Patch by Adam Turner
|
||||
* LaTeX: fix accidental removal at ``3.5.0`` (#8854) of the documentation of
|
||||
``literalblockcappos`` key of :ref:`'sphinxsetup' <latexsphinxsetup>`.
|
||||
Patch by Jean-François B.
|
||||
|
||||
Testing
|
||||
-------
|
||||
@@ -727,6 +727,13 @@ The color used in the above example is available from having passed the
|
||||
|
||||
.. versionadded:: 8.1.0
|
||||
|
||||
``literalblockcappos``
|
||||
Decides the caption position: either ``b`` ("bottom") or ``t`` ("top").
|
||||
|
||||
Default: ``t``
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
``verbatimwithframe``
|
||||
Boolean to specify if :rst:dir:`code-block`\ s and literal includes are
|
||||
framed. Setting it to ``false`` does not deactivate use of package
|
||||
|
||||
@@ -718,9 +718,8 @@
|
||||
%
|
||||
% For matters of 9.1.0 LongVerbatim, we extract from original Verbatim various
|
||||
% pieces. Also, @Before and @After assignments are made global, to support an
|
||||
% optional bottom caption (btw, it seems this is not documented at user
|
||||
% level?!) position also with LongVerbatim and one needs to always set them, as
|
||||
% they are not undone anymore at end of scope.
|
||||
% optional bottom caption position also with LongVerbatim, and one needs to
|
||||
% always set them, as they are not undone anymore at end of scope.
|
||||
\def\sphinxverbatim@preparetitle@none{%
|
||||
\sphinxvspacefixafterfrenchlists
|
||||
\parskip\z@skip
|
||||
|
||||
Reference in new issue
Block a user