# How do I format the following table?

Here is a MWE:

{
\textbf{EXACT VALUES OF TRIGONOMETRICAL RATIOS}\\\\
\renewcommand{\arraystretch}{1.5}
\setlength{\extrarowheight}{1.5pt}
\begin{tabular}{|c|c|c|c|c|}
\hline
\multicolumn{2}{|c|}{Angle ($\theta$)} & &  &  \\
Degrees & Radians & $\sin{\theta}$ & $\cos{\theta}$ & $\tan{\theta}$ \\
\hline
$0^{\circ}$ & 0 & 0 & 1 & 0 \\
\hline
$30^{\circ}$ & $\frac{\pi}{6}$ & $\frac{1}{2}$ & $\frac{\sqrt{3}}{2}$ & $\frac{1}{\sqrt{3}}$ \\
\hline
$45^{\circ}$ & $\frac{\pi}{4}$ & $\frac{1}{\sqrt{2}}$ & $\frac{1}{\sqrt{2}}$ & 1 \\
\hline
$60^{\circ}$ & $\frac{\pi}{3}$ & $\frac{\sqrt{3}}{2}$ & $\frac{1}{2}$ & $\sqrt{3}$ \\
\hline
$90^{\circ}$ & $\frac{\pi}{2}$ & 1 & 0 & undefined \\
\hline
\end{tabular}
}


Actual Table:

• Consider using array. – user156344 Apr 15 '19 at 7:46
• The table you posted is already complete. What is the question? – Henri Menke Apr 15 '19 at 7:54
• Off-topic: Writing \sin{\theta}, \cos{\theta}, and \tan{\theta} is somewhat misleading, as the macros \sin, \cos, and \tan do not take arguments. It's better, and certainly cleaner, to write \sin\theta, \cos\theta, and \tan\theta. – Mico Apr 15 '19 at 8:27
• Please clarify what you're trying to achieve. E.g., do you need an unusual math or text font? Do you need to render the contents of some cells in bold? Do you want the fractions typeset in display style? Something else? – Mico Apr 15 '19 at 8:34

Not knowing what improvement are you looking for, but this may be a start. I use table environment to have a caption, array environment so that I don't have to type $ so much, fixed column width, booktabs commands and \multirow for multi-row text. \documentclass{article} \usepackage{booktabs} \usepackage{amsmath} \usepackage{multirow} \usepackage{array} \newcolumntype{C}{>{\hfil$}p{1.5cm}<{$\hfil}} % https://tex.stackexchange.com/a/340000/156344 \begin{document} \begin{table} \centering \caption{Exact values of trigonometrical ratios} \renewcommand{\arraystretch}{1.5}$\begin{array}{CCCCC}
\toprule
\multicolumn{2}{c}{\text{Angle ($\theta$)}} & \multirow{2}{*}{$\sin\theta$} & \multirow{2}{*}{$\cos\theta$} & \multirow{2}{*}{$\tan\theta$} \\
\text{Degrees} & \text{Radians} & & & \\
\midrule
0^{\circ} & 0 & 0 & 1 & 0 \\
30^{\circ} & \frac{\pi}{6} & \frac{1}{2} & \frac{\sqrt{3}}{2} & \frac{1}{\sqrt{3}}\\
45^{\circ} & \frac{\pi}{4} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & 1 \\
60^{\circ} & \frac{\pi}{3} & \frac{\sqrt{3}}{2} & \frac{1}{2} & \sqrt{3} \\
90^{\circ} & \frac{\pi}{2} & 1 & 0 & \text{undefined} \\
\bottomrule
&   0
&   \frac{\sqrt 3}{3}
&   1
&   \sqrt 3
&   \black
&   \\
\hline%
\end{tabular}
\end{document}