Как сделать в TeX математические формулы, которые жирнеют если окружающий текст жирный: [1] (linguisticturn, answered Feb 3, 2022 at 20:07, edited Feb 5, 2022 at 21:05). Полезно, например, для формул в названиях разделов. Это ответ на вопрос [2] (``How to define a macro that holds the value that \f@series assumes for bold?'', linguisticturn, asked Jan 27, 2022 at 17:32, edited Jan 27, 2022 at 17:46).
Furthermore, we can also exclude certain specific weights from counting as bold for the purposes of our \WTbm. For example, in order for the weight whose descriptor is eb to not count as bold, do the following: in any of the above definitions, replace the appearance of \bm{#1} by {\def\excl{eb}\ifx\f@series\excl#1\else\bm{#1}\fi}.