[Tex/LaTex] Enlarging the table

scalingtables

How to enlarge this table? Thank you in advance

\begin{table}[ht]
            \large
            \centering

            \begin{tabular}{c|c||*{8}{c|}}
                \multicolumn{2}{c}{} & \multicolumn{8}{c}{j} \tabularnewline
                \cline{2-10}
                \multirow{9}*{\rotatebox{90}{i}} &  & \bfseries 0 & \bfseries 1 & \bfseries 2 & \bfseries 3 & \bfseries 4 & \bfseries 5 & \bfseries 6 & \bfseries 7  \tabularnewline[1 ex] 
                \cline{2-10} & \bfseries 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline [1ex] 
                \cline{2-10} & \bfseries 1 & 0 & 1 & 1 & 1 & 1 & 1 & 1 & 1\tabularnewline [1ex] 
                \cline{2-10} & \bfseries 2 & 0 & 1 & 1 & 4 & 5 & 5 & 5 & 5 \tabularnewline [1ex] 
                \cline{2-10} & \bfseries 3 & 0 & 1 & 1 & 4 & 5 & 6 & 6 & 9 \tabularnewline [1ex] 
                \cline{2-10} & \bfseries 4 & 0 & 1 & 1 & 4 & 5 & 7 & 8 & \bfseries 9 \tabularnewline [1 ex]
                \cline{2-10}
            \end{tabular}
        \end{table} 

Best Answer

\documentclass[10pt,a4paper,twoside]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{multirow}
\begin{document}
\begin{table}[ht]
    \Huge
    \centering
    \scalebox{1.5}{ %This is for scaling.
    \begin{tabular}{c|c||*{8}{c|}}
        \multicolumn{2}{c}{} & \multicolumn{8}{c}{j} \tabularnewline
        \cline{2-10}
        \multirow{9}*{\rotatebox{90}{i}} &  & \bfseries 0 & \bfseries 1 & \bfseries 2 & \bfseries 3 & \bfseries 4 & \bfseries 5 & \bfseries 6 & \bfseries 7  \tabularnewline[1 ex] 
        \cline{2-10} & \bfseries 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \tabularnewline [1ex] 
        \cline{2-10} & \bfseries 1 & 0 & 1 & 1 & 1 & 1 & 1 & 1 & 1\tabularnewline [1ex] 
        \cline{2-10} & \bfseries 2 & 0 & 1 & 1 & 4 & 5 & 5 & 5 & 5 \tabularnewline [1ex] 
        \cline{2-10} & \bfseries 3 & 0 & 1 & 1 & 4 & 5 & 6 & 6 & 9 \tabularnewline [1ex] 
        \cline{2-10} & \bfseries 4 & 0 & 1 & 1 & 4 & 5 & 7 & 8 & \bfseries 9 \tabularnewline [1 ex]
        \cline{2-10}
    \end{tabular}
}
\end{table} 
\end{document}

For enlarging the table, change large to huge. Furthermore, for the scaling purpose, you can use \scalebox{} just before the tabular environment. Hope this helps.

Related Question