9

When I compile the following, ABC is not italicized.

\documentclass[a4paper,12pt]{amsart}
\begin{document}
\textsf{\textbf{\textit{ABC}}}
\end{document} 
12

You'll notice the following warning in your .log file:

LaTeX Font Warning: Font shape `OT1/cmss/bx/it' undefined
(Font)              using `OT1/cmss/bx/n' instead on input line 4.

It suggests that under the OT1 font encoding, there is no bold bx *italic** it version within the sans serif font. So, it substitutes it just for a normal bold, hence the output

enter image description here

You need a font that includes this typeface. lmodern does:

enter image description here

\documentclass{amsart}
\usepackage{lmodern}
\begin{document}
\textsf{\textbf{\textit{ABC}}}
\end{document} 
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.