latex

Text Formatting

Emphazise Text

In order to emphasize text the command \emph can be used which usually displays the text in an italics font:

This is some text with \emph{emphasized words}.

Strike through text

The command \sout of the package ulem strikes through a text:

\sout{This text is striked through}

The package ulem redefines the command \emph. When you do not want to have this behavior you can use the package ulem with the option normalem:

\usepackage[normalem]{ulem}

Bold text

In order to typeset text in bold, use \textbf:

\textbf{This text is typeset in bold.}

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow