Le 06/02/2023 à 15:09, jfbu a écrit :
latex_elements = {
'preamble': r"""
\makeatletter
% we add a \normalsize to fix a ltjsbook + titlesec "\strutbox" problem
\titleformat{\subsubsection}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\thesubsubsection}{0.5em}{\py@TitleColor}
% also extra \normalsize here
\titleformat{\paragraph}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\theparagraph}{0.5em}{\py@TitleColor}
\titleformat{\subparagraph}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\thesubparagraph}{0.5em}{\py@TitleColor}
""",
}
and report here if it worked. Perhaps there will be further unrelated issues.
Please open a ticket at https://github.com/sphinx-doc/sphinx/issues
linking to
<d39abd23-6713-44b3-be93-4ba42844e371n-/jypxa39uh5tlh3mboc...@public.gmane.org>
latex_elements = {
'preamble': r"""
\makeatletter
% we add a \normalsize to fix a ltjsbook + titlesec "\strutbox" problem
\titleformat{\subsubsection}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\thesubsubsection}{0.5em}{\py@TitleColor}
% also extra \normalsize here
\titleformat{\paragraph}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\theparagraph}{0.5em}{\py@TitleColor}
\titleformat{\subparagraph}{\normalsize\py@HeaderFamily}%
{\py@TitleColor\thesubparagraph}{0.5em}{\py@TitleColor}
\makeatother
""",
}
and report here if it worked. Perhaps there will be further unrelated issues.
Trying now to paste an URL to access this discussion without a groups.google
account (I myself use the Gmane interface)
Please open a ticket at https://github.com/sphinx-doc/sphinx/issues
linking to <https://groups.google.com/g/sphinx-users/c/9sKyElODU5I>
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/trr2bj%2415it%241%40ciao.gmane.io.