From c0054d24badc155f4ce7c80232058ea8c143524c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:28:12 +0200 Subject: [PATCH] Use [topic] explicitly for sphinxtopic wrapper of sphinxShadowBox --- sphinx/texinputs/sphinxlatexshadowbox.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/texinputs/sphinxlatexshadowbox.sty b/sphinx/texinputs/sphinxlatexshadowbox.sty index 147e266a5f9..555ede26f15 100644 --- a/sphinx/texinputs/sphinxlatexshadowbox.sty +++ b/sphinx/texinputs/sphinxlatexshadowbox.sty @@ -150,7 +150,7 @@ % 8.1.0 \newenvironment{sphinxtopic} - {\begin{sphinxShadowBox}}{\end{sphinxShadowBox}} + {\begin{sphinxShadowBox}[topic]}{\end{sphinxShadowBox}} \newenvironment{sphinxcontents} {\begin{sphinxShadowBox}[contents]}{\end{sphinxShadowBox}} % Arguably sphinxsidebar should rather use a wrapfig or similar environment