\documentclass[a4paper]{book} \usepackage{xcolor} \usepackage{graphics} \usepackage{latexsym} \usepackage{marvosym} \begin{document} \begin{titlepage} \begin{center} \sffamily\bfseries\LARGE{xmldoc styles check} \end{center} \end{titlepage} \chapter{The only chapter} \begin{itshape}emph\end{itshape} for emphasized. \begin{bfseries}strong\end{bfseries} is usually bold. \begin{ttfamily}code\end{ttfamily} for code exeamples. \begin{slshape}remark\end{slshape} is highlighted. For $^{superscript}$ and $_{subscript}$ text. Primary colors are \textcolor{red}{red}, \textcolor{green}{green} and \textcolor{blue}{blue}. Sizes are \large{big} and \small{small}. \end{document}