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.

1

3 Answers 3

18

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
  • +1 for the link to Caramdir's answer. I've deleted my own answer.
    – lockstep
    Commented Jan 18, 2011 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.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .