\documentclass[a4paper]{article}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\begin{document}
\thispagestyle{empty}
\parbox{.5\linewidth}{\noindent
\textbf{bold}\\
\textit{italics}\\
\textsc{small caps}\\
\texttt{non-proportional}\\
\textsl{slanted}\\
\underline{underlined}\\
x\textsubscript{subscript}\\
x\textsuperscript{superscript}
}
\end{document}
