font sizes in latex code example

Example 1: latex text size

\Huge
\huge
\LARGE
\Large
\large
\normalsize
\small
\footnotesize
\scriptsize
\tiny

Example 2: latex font sizes

Change global font size:
\documentclass[12pt]{report}

Example 3: latex default font size

\documentclass[12pt]{book}

Example 4: latex change size of text

%Article
\documentclass[9pt]{extarticle}
%Report
\documentclass[14pt]{extreport}

Example 5: font size table latex

\documentclass{article}
\usepackage{graphicx}
\begin{document}

\begin{table}
\resizebox{\textwidth}{!}{%
  \begin{tabular}{cc}
    Knuth & Lamport
  \end{tabular}}
\end{table}

\end{document}

Tags:

C Example