20

I would like to have a sentence like this:

In the Smith case, the Supreme Court held...

where the entire sentence is in italics except for "Smith" since it is the short name of a case. (You can imagine many other examples like this with movies, etc.)

I would like to be able to do something like:

\textit{In the \textit{Smith} case, the Supreme Court held...}

However, the above code makes everything italics. Is there something I can do to make Smith non-italicized without resorting to the below code?

\textit{In the} Smith \textit{case, the Supreme Court held...}

The only problem I have with that piece of code is that it makes editing problematic if I decide that I'd rather have "Smith" at another place in the sentence.

I appreciate any and all help -- even if the help is simply that the solution I want does not exist.

1
  • 1
    Upright is the same of the font shape you want. \textup{}.
    – Sigur
    Sep 17, 2018 at 15:47

2 Answers 2

32

That's exactly what \emph does:

\documentclass{article}

\begin{document}

\emph{In the \emph{Smith} case, the Supreme Court held\dots}

\end{document}

or, if you prefer to manually control that, then you can use \textup:

\documentclass{article}

\begin{document}

\textit{In the \textup{Smith} case, the Supreme Court held\dots}

\end{document}
1
  • Solution worked. Thank you! I wasn't aware of \emph before and couldn't find the solution via a Google search. Sep 17, 2018 at 14:36
2

I usually use:

    \textit{This is my text, but I want {\normalfont this} to not be in italics.}

You must log in to answer this question.

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