6

In the following documentclass

\documentclass[prb,twocolumn,showpacs]{revtex4}

how to have italic and bold in a subsection title? The italic command removes the boldness when inside a subsection, so I tried the following :

\subsection{Short-range {\bf {\it vs}} long-range scattering}

It does not work. Any idea how to solve this? Maybe the documentclass has nothing to do with it, I did not check it.

17

This has nothing to do with the documentclass, but with font selection. \it selects non-bold italics, and \bf selects non-italic bold. You should use

\textbf{\textit{vs}}

instead. See also this question.

  • +1 for the link to Caramdir's answer. I've deleted my own answer. – lockstep Jan 18 '11 at 14:17
2

Try doing \textit{\textbf{vs}} instead. That should work.

1

Using \secit{vs} would solve the problem. This is how I worked it out for my subsection when I needed both bold and italic.

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.