Skip to content

Commit

Permalink
Fix sphinx-doc#11095 (PDF wrong placement of shadow of topic boxes si…
Browse files Browse the repository at this point in the history
…nce 5.1.0)

	modified:   sphinx/texinputs/sphinxlatexshadowbox.sty
  • Loading branch information
jfbu committed Jan 6, 2023
1 parent 86f6c86 commit 291d072
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sphinx/texinputs/sphinxlatexshadowbox.sty
Expand Up @@ -89,7 +89,9 @@
\fi
\ifspx@topic@withshadow
\ifspx@topic@insetshadow\else
\ifdim\spx@topic@shadow@xoffset>\z@\hskip\spx@topic@shadow@xoffset\relax
% A strangely unnoticed 5.1.0 breakage of the legacy placement of the
% shadow was caused by a lacking minus sign here, fixed at 6.1.2
\ifdim\spx@topic@shadow@xoffset>\z@\hskip-\spx@topic@shadow@xoffset\relax
\fi
\fi
\fi
Expand Down

0 comments on commit 291d072

Please sign in to comment.