0 ?ˆl–äY>”êhŠe@=q�ܪbÑ¿�þB1fåx ’FÛm²ùÐ ƒqÇŸÏ_ˆI|¥�+$¾ÀÎ!%% TOPIC AND CONTENTS BOXES % % change this info string if making any custom modification \ProvidesFile{sphinxlatexshadowbox.sty}[2022/07/03 sphinxShadowBox] % Provides support for this output mark-up from Sphinx latex writer: % % - sphinxShadowBox (environment) % % Dependencies (they do not need to be defined at time of loading): % % - of course the various colour and dimension options handled via sphinx.sty % - dimension register \spx@image@maxheight from sphinxlatexgraphics.sty % - \savenotes/\spewnotes from sphinxpackagefootnote % - \ifspx@inframed defined in sphinx.sty % % Requires: \RequirePackage{framed} \RequirePackage{sphinxpackageboxes} \def\spx@shadowbox@boxes@fcolorbox@setup{% % \spx@boxes@border@top \spx@topic@border@top \spx@boxes@border@right \spx@topic@border@right \spx@boxes@border@bottom\spx@topic@border@bottom \spx@boxes@border@left \spx@topic@border@left \spx@boxes@border \spxdimen@topic@border % \spx@boxes@padding@top \spx@topic@padding@top \spx@boxes@padding@right \spx@topic@padding@right \spx@boxes@padding@bottom\spx@topic@padding@bottom \spx@boxes@padding@left \spx@topic@padding@left % \spx@boxes@radius@topleft \spx@topic@radius@topleft \spx@boxes@radius@topright \spx@topic@radius@topright \spx@boxes@radius@bottomright \spx@topic@radius@bottomright \spx@boxes@radius@bottomleft \spx@topic@radius@bottomleft\relax % \ifspx@topic@withshadow \spx@boxes@withshadowtrue \spx@boxes@shadow@xoffset \spx@topic@shadow@xoffset \spx@boxes@shadow@yoffset \spx@topic@shadow@yoffset\relax \else \spx@boxes@withshadowfalse \fi \ifspx@topic@insetshadow\spx@boxes@insetshadowtrue\else \spx@boxes@insetshadowfalse\fi \ifspx@topic@withshadowcolor\spx@boxes@withshadowcolortrue\else \spx@boxes@withshadowcolorfalse\fi % \ifspx@topic@withbackgroundcolor\spx@boxes@withbackgroundcolortrue\else \spx@boxes@withbackgroundcolorfalse\fi \sphinxcolorlet{spx@boxes@backgroundcolor}{sphinxTopicBackgroundColor}% % \ifspx@topic@withbordercolor\spx@boxes@withbordercolortrue\else \spx@boxes@withbordercolorfalse\fi \sphinxcolorlet{spx@boxes@bordercolor}{sphinxTopicBorderColor}% % \ifspx@topic@withshadowcolor\spx@boxes@withshadowcolortrue\else \spx@boxes@withshadowcolorfalse\fi \sphinxcolorlet{spx@boxes@shadowcolor}{sphinxTopicShadowColor}% }% % At 5.1.0 the code formerly here has been refactored and incorporated % into more powerful \spx@boxes@fcolorbox from sphinxpackageboxes.sty \long\def\spx@ShadowFBox#1{% \leavevmode \setbox\z@\hbox{#1}% \ifspx@topic@withshadow \ifspx@topic@insetshadow\else \ifdim\spx@topic@shadow@xoffset<\z@\hskip\spx@topic@shadow@xoffset\relax \fi \fi \fi \if1% use rounded boxes only if needed and possible \ifdim\spx@topic@radius@topleft >\z@0\fi \ifdim\spx@topic@radius@topright >\z@0\fi \ifdim\spx@topic@radius@bottomright>\z@0\fi \ifdim\spx@topic@radius@bottomleft >\z@0\fi 1\spx@boxes@fcolorbox{\box\z@}% \else \spx@ifpackageloaded@pictiie {\ifspx@topic@insetshadow \spx@boxes@fcolorbox{\box\z@}% \else \spx@boxes@fcolorbox@rounded{\box\z@}% \fi}% {\spx@boxes@fcolorbox{\box\z@}}% \fi \ifspx@topic@withshadow \ifspx@topic@insetshadow\else \ifdim\spx@topic@shadow@xoffset>\z@\hskip\spx@topic@shadow@xoffset\relax \fi \fi \fi } % Use framed.sty \MakeFramed/\endMakeFramed to allow page breaks for topic % boxes. Originally Sphinx used \shadowbox from fancybox.sty but it did not % allow pagebreaks (which was problematic for "contents" directive if there % are many subsections). % % Docutils does not allow topic to be nested within topics or other body % elements. But the LaTeX code here