It is well known that you can make the font italic or bold using \textit{} or \textbf{}. However, if I have an italic or bold font, what command can I use to make it nonitalic or nonbold?

  • 1
    For italic use \emph instead of \textit – karlkoeller Jan 28 '15 at 6:34
  • 3
    Ok thanks, but if I keep getting italic or bold font in the output pdf, what command can I use to get regular font? – kolonel Jan 28 '15 at 6:36
  • By regular I mean nonitalic and nonbold. – kolonel Jan 28 '15 at 6:37

You can use \normalfont

 \textit{Some italic and {\normalfont non italic} text}

 \textbf{Some bold and {\normalfont non bold} text}

 \emph{Some italic and {\normalfont non italic} text}

enter image description here

| improve this answer | |
  • 9
    Why don;t you just use \textnormal{...} instead of using {\normalfont ...}? – daleif Jan 28 '15 at 9:19
  • 9
    You may want to mention that using {\normalfont ...} does not insert an automatic italics correction at the transition from the italic to the upright font shape. In contrast, using an inner \emph{...} instruction, a \textup{...} instruction, or a \textnormal{...} instruction (but not an inner {\em ...} construct) generate an automatic italics correction. – Mico Jan 28 '15 at 9:27
  • @daleif what is the difference? – lucidbrot Oct 2 '18 at 20:05
  • 1
    @lucidbrot easier to read – daleif Oct 3 '18 at 5:41
  • @lucidbrot - In addition, the \textnormal{...} approach takes care to insert italics corrections as needed; the {\normalfont ...} does not. – Mico Feb 10 '19 at 19:43

For the purpose of this discussion, I will assume that you use either \textbf{...} or {\bfseries ...} to generate bold text, and either \textit{...}, \emph{...}, or {\itshape ...} to generate italic text. These methods can be combined to get bold italic text, viz., \textbf{\textit{...}} or {\bfseries\itshape ...}.

  • To cancel/override just the italic font shape, while leaving the (bold or non-bold) font weight unchanged, use either \textup{...} or {\upshape ...}:

      \textit{Some italic and some \textup{non italic} text}
      {\itshape Some italic and some {\upshape non italic} text}

    The \emph{...} method can be nested:

      \emph{Some italic and some \emph{non italic} text}

    Note that whereas the \textit{...} and \emph{...} methods take care to insert a so-called italic correction in the transitions from italic to non-italic text, the {\upshape ...} method does not.

  • To override just the bold font weight, while leaving the (italic or upright) font shape unchanged, use either \textmd{...} or {\mdseries ...}:

      \textbf{Some bold and some \textmd{non bold} text}
      {\bfseries Some bold and some {\mdseries non bold} text}
  • To force both normal font weight and normal font shape simultaneously, the preceding methods can be combined. Unless the font face default has been reset earlier (to \ttfamily or \sffamily, say; see the comment by @JonathanLandrum below), one can also use either \textnormal{...} or {\normalfont ...} to force both normal font weight and shape:

      \textbf{\textit{Some bold-italic, \textmd{non-bold italic}, \textup{non-italic bold}, and \textmd{\textup{{upright\slash non-bold} text}}.}
      {\itshape\bfseries Some bold-italic, {\mdseries non-bold italic}, {\upshape non-italic bold}, and {\mdseries\upshape upright\slash non-bold} text.}

The results generated by these methods are illustrated in the following MWE:

enter image description here


Some normal, i.e., upright and non-bold, text.
\textit{Some italic and some \textup{upright} text.}

\emph{Some italic and some \emph{upright} text.}

{\itshape Some italic and some {\upshape upright} text.}

\textbf{Some bold and some \textmd{non-bold} text.}

{\bfseries Some bold and some {\mdseries non-bold} text.}

\textbf{\textit{Some bold-italic, \textmd{non-bold italic}, \textup{non-italic bold}, and \textmd{\textup{upright\slash non-bold}} text}.}

{\itshape\bfseries Some bold-italic, {\mdseries non-bold italic}, {\upshape non-italic bold}, and {\mdseries\upshape upright\slash non-bold} text.}

| improve this answer | |
  • It should be noted that \normalfont will change the font face, as well, whereas the combination of \upshape and \mdseries will not. So if you are using this in combination with, for example, \ttfamily, the effect will be undone by the latter use of \normalfont. – Jonathan Landrum Aug 12 at 1:45
  • 1
    @JonathanLandrum - Many thanks for pointing out this inaccuracy in my answer. I've updated the answer to fix it. – Mico Aug 12 at 5:01
  • 2
    May also be worth noting that \mdseries/\textmd will also reser xondensed/extended/etc. and \upshape/\textup will also reset small caps, unless you also load fontaxes. – Davislor Aug 12 at 14:25

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.