As the title says, is there any way to make bold text automatically also be typeset in sans serif? I'm thinking something along the lines of
\renewcommand{\bfdefault}{???}
I don't know what to redefine to though?
boldsans-serif
As the title says, is there any way to make bold text automatically also be typeset in sans serif? I'm thinking something along the lines of
\renewcommand{\bfdefault}{???}
I don't know what to redefine to though?
Best Answer
Have you tried inserting
in the preamble of your document? Note the double pair of curly braces; the innner pair serves to constrain the application of
\bfseries\sffamily
to the argument of\textbf
.Addendum: As the comments by cgnieder and egreg allude to, the LaTeX kernel (see the file
latex.ltx
, ca. line 3720) provides the following definition of\textbf
:The macro
\DeclareTextFontCommand
takes care to keep things tidy if, say,\textbf
is encountered while TeX is in math mode. To keep things equally tidy, then, it's preferable to redefine\textbf
as follows: