Y. Y. - Прикреплённый пост

[Recent Entries][Archive][Friends][User Info]
[Login] [Home] [Recent comments] [News] [Sitemap] [ljr_fif] [Update journal] [Customize S2]
Friday, July 19th, 2030
00:29

[Link]

Previous Entry Add to Memories Tell A Friend Next Entry
Прикреплённый пост
[Текст записи пропущен. Вы находитесь в режиме детального просмотра дерева комментариев.]

(20 comments | Leave a comment | Uncollapse)

Comments
 
[User Picture]
[info]yy
2024-10-17 13:24 (Link) [1]
Скопирую на всякий случай. Цитата:

This 'weight-transparent \bm' command I will call \WTbm. Here is one possible definition:

\def\WT@in@#1#2{\edef\WT@Aux@in@{\noexpand\in@{#1}{#2}}\WT@Aux@in@}
\DeclareRobustCommand{\WTbm}[1]{\WT@in@{b}{\f@series}\ifin@{\bm{#1}}\else{#1}\fi}

[...]

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}.
Powered by LJ.Rossia.org