5

\large and other font size commands need to be placed inside a group:

In this text {\large some part} is large.

screenshot

Whereas \textbf and other styling commands receive a parameter:

In this text \textbf{some part} is bold.

screenshot

Why the difference?

AndreKR
  • 1,025

1 Answers1

7

\textbf{stuff} (roughly) does {\bfseries stuff}, which is the counterpart for \large you are looking for. \textbf is defined in terms of \bfseries with:

\DeclareTextFontCommand{\textbf}{\bfseries}

You can do the same to create a \textlarge:

\documentclass{article}
\DeclareTextFontCommand{\textlarge}{\large}
\begin{document}
In this text \textlarge{some part} is large.
\end{document}