I have been using LaTeX Overleaf (overleaf.com) for some time now, and I have been trying to create a trigonometry table. In the first line of the table, I tried to make the alpha bold in the first cell, but if I put it inside the dollar signs, it would create a lot of errors and crash the pdf converter. If I put the \textbf outside the dollar signs, it would not make the alpha bold. Could anyone please help me fix this problem? Thank you! My code is below this paragraph.
\begin{tabular}{||c|c|c|c||c|c|c||}
\hline
\hline
$\textbf{\alpha}$ &sin($\alpha$) &cos($\alpha$) &tan($\alpha$) &cosec($\alpha$) &sec($\alpha$) &cot($\alpha$)\\
\hline
\hline
\textbf{0}$^\circ$ & $\textbf{0}$ &$\textbf{1}$ &$\textbf{0}$ &\textbf{undefined} &$\textbf{1}$ &\textbf{undefined}\\
\hline
\hline
$15^\circ$ &$\frac{\sqrt{6}-\sqrt{2}}{4}$ &$\frac{\sqrt{6}+\sqrt{2}}{4}$ &$2-\sqrt{3}$ &$\sqrt{6}+\sqrt{2}$ &$\sqrt{6}-\sqrt{2}$ &$2+\sqrt{3}$\\
\hline
$30^\circ$ &$\frac{1}{2}$ &$\frac{\sqrt{3}}{2}$ &$\frac{\sqrt{3}}{3}$ &$2$ &$\frac{2\sqrt{3}}{3}$ &$\sqrt{3}$\\
\hline
$45^\circ$ &$\frac{\sqrt{2}}{2}$ &$\frac{\sqrt{2}}{2}$ &$1$ &$\sqrt{2}$ &$\sqrt{2}$ &$1$\\
\hline
$60^\circ$ &$\frac{\sqrt{3}}{2}$ &$\frac{1}{2}$ &$\sqrt{3}$ &$\frac{2\sqrt{3}}{3}$ &$2$ &$\frac{\sqrt{3}}{3}$\\
\hline
$75^\circ$ &$\frac{\sqrt{6}+\sqrt{2}}{4}$ &$\frac{\sqrt{6}-\sqrt{2}}{4}$ &$2+\sqrt{3}$ &$\sqrt{6}-\sqrt{2}$ &$\sqrt{6}+\sqrt{2}$ &$2-\sqrt{3}$\\
\hline
\hline
$90^\circ$ &$1$ &$0$ &undefined &$1$ &undefined &$0$\\
\hline
\hline
$105^\circ$ &$\frac{\sqrt{6}+{\sqrt{2}}}{4}$ &$\frac{\sqrt{2}-\sqrt{6}}{4}$ &$-2-\sqrt{3}$ &$\sqrt{6}-\sqrt{2}$ &$-\sqrt{6}-\sqrt{2}$ &$\sqrt{3}-2$\\
\hline
$120^\circ$ &$\frac{\sqrt{3}}{2}$ &$-\frac{1}{2}$ &$-\sqrt{3}$ &$\frac{2\sqrt{3}}{3}$ &$-2$ &$-\frac{\sqrt{3}}{3}$\\
\hline
$135^\circ$ &$\frac{\sqrt{2}}{2}$ &$-\frac{\sqrt{2}}{2}$ &$-1$ &$\sqrt{2}$ &$-\sqrt{2}$ &$-1$\\
\hline
$150^\circ$ &$\frac{1}{2}$ &$-\frac{\sqrt{3}}{2}$ &$-\frac{\sqrt{3}}{3}$ &$2$ &$-\frac{2\sqrt{3}}{3}$ &$-\sqrt{3}$\\
\hline
$165^\circ$ &$\frac{\sqrt{6}-\sqrt{2}}{4}$ &$\frac{-\sqrt{6}-\sqrt{2}}{4}$ &$\sqrt{3}-2$ &$\sqrt{6}+\sqrt{2}$ &$\sqrt{2}-\sqrt{6}$ &$-2-\sqrt{3}$\\
\hline
\hline
$180^\circ$ &$0$ &$-1$ &$0$ &undefined &$-1$ &undefined\\
\hline
\hline
$195^\circ$ &$\frac{\sqrt{2}-\sqrt{6}}{4}$ &$\frac{-\sqrt{6}-\sqrt{2}}{4}$ &$2-\sqrt{3}$ &$-\sqrt{6}-\sqrt{2}$ &$\sqrt{2}-\sqrt{6}$ &$2+\sqrt{3}$\\
\hline
$210^\circ$ &$-\frac{1}{2}$ &$-\frac{\sqrt{3}}{2}$ &$\frac{\sqrt{3}}{3}$ &$-2$ &$-\frac{2\sqrt{3}}{3}$ &$\sqrt{3}$\\
\hline
$225^\circ$ &$-\frac{\sqrt{2}}{2}$ &$-\frac{\sqrt{2}}{2}$ &$1$ &$-\sqrt{2}$ &$-\sqrt{2}$ &$1$\\
\hline
$240^\circ$ &$-\frac{\sqrt{3}}{2}$ &$-\frac{1}{2}$ &$\sqrt{3}$ &$-\frac{2\sqrt{3}}{3}$ &$-2$ &$\frac{\sqrt{3}}{3}$\\
\hline
$255^\circ$ &$\frac{-\sqrt{6}-\sqrt{2}}{4}$ &$\frac{\sqrt{2}-\sqrt{6}}{4}$ &$2+\sqrt{3}$ &$\sqrt{6}-\sqrt{2}$ &$-\sqrt{6}-\sqrt{2}$ &$2-\sqrt{3}$\\
\hline
\hline
$270^\circ$ &$-1$ &$0$ &undefined &$1$ &undefined &$0$\\
\hline
\hline
$285^\circ$ &$\frac{-\sqrt{6}-\sqrt{2}}{4}$ &$\frac{\sqrt{6}-\sqrt{2}}{4}$ &$-2-\sqrt{3}$ &$\sqrt{2}-\sqrt{6}$ &$\sqrt{2}+\sqrt{6}$ &$\sqrt{3}-2$\\
\hline
$300^\circ$ &$-\frac{\sqrt{3}}{2}$ &$\frac{1}{2}$ &$-\sqrt{3}$ &$-\frac{2\sqrt{3}}{3}$ &$2$ &$-\frac{\sqrt{3}}{3}$\\
\hline
$315^\circ$ &$-\frac{\sqrt{2}}{2}$ &$\frac{\sqrt{2}}{2}$ &$-1$ &$-\sqrt{2}$ &$\sqrt{2}$ &$-1$\\
\hline
$330^\circ$ &$-\frac{1}{2}$ &$\frac{\sqrt{3}}{2}$ &$-\frac{\sqrt{3}}{3}$ &$-2$ &$\frac{2\sqrt{3}}{3}$ &$-\sqrt{3}$\\
\hline
$345^\circ$ &$\frac{\sqrt{2}-\sqrt{6}}{4}$ &$\frac{\sqrt{6}+\sqrt{2}}{4}$ &$\sqrt{3}-2$ &$-\sqrt{6}-\sqrt{2}$ &$\sqrt{6}-\sqrt{2}$ &$-2-\sqrt{3}$\\
\hline
\hline
$360^\circ$ &$0$ &$1$ &$0$ &undefined &$1$ &undefined\\
\hline
\hline
\end{tabular}
\end{center}

\amsmathin preamble and than for bold \alpha use:$\boldsymbol{\alpha}$– Zarko Apr 17 '22 at 08:09\textbfargumen is for text, you can no use math commands such as\alpha– David Carlisle Apr 17 '22 at 08:13\centeringinstead of\begin{center}...\end{center}. See https://tex.stackexchange.com/q/2651/219947 – Imran Apr 17 '22 at 08:28