From 72b36ea3cd22f64e80efdc422e30ae957d547772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Fri, 5 Jul 2024 16:36:39 +0200 Subject: [PATCH] [LaTeX] use "regular" variant of light bulb for hint/tip --- sphinx/texinputs/sphinx.sty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 9c813f8d5ec..b121ba2464d 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -772,7 +772,7 @@ % \sphinxdotitlerowwithicon in sphinxlatexadmonitions.sty). If user sets a % title-icon key to some LaTeX code of their own, of course \spx@faIcon is % not executed and the inserted space will thus be there, as expected. - \let\spx@faIcon\@gobbletwo + \newcommand\spx@faIcon[3][]{}% } % Now use the above colours as default settings, following the choices @@ -809,8 +809,8 @@ % is absent, it is *not* a public macro to be used in custom user-level % usage of the title-icon keys below! div.note_title-icon =\spx@faIcon{info-circle}, - div.hint_title-icon =\spx@faIcon{lightbulb}, - div.tip_title-icon =\spx@faIcon{lightbulb}, + div.hint_title-icon =\spx@faIcon[regular]{lightbulb}, + div.tip_title-icon =\spx@faIcon[regular]{lightbulb}, div.seealso_title-icon =\spx@faIcon{share}, div.important_title-icon =\spx@faIcon{pause-circle}, div.caution_title-icon =\spx@faIcon{radiation},