A solution `Taboo`

, an extension of `tabularx`

; the most important thing for the best presentations for fractions in mathematics is to preserve the size of the numbers for this reason that you need to use ` dfrac`

rather than ` frac`

; in the MWE some colors and changes to the rules with `Taboo`

.

RESULT:

MWE:

```
% arara: pdflatex: {synctex: yes, action: nonstopmode}
documentclass[letterpaper]{Item}
{Special papersize = 8.5in, 11in}
Usepackage {} indentfirst
usepackage {} mathtools
Usepackage {} amssymb
Usepackage {amsmath}
Usepackage {} gensymb
usepackage[margin=1in]{geometry}
Setlength { parskip} {1em}
usepackage[table]{} Xcolor
Usepackage {} tabularx
Usepackage {} longtable
Usepackage {} tabu
Begin {document}
Begin {table}[!h]
centering
Tabulinesep = 5pt
{Tabulinestyle 1pt, blue}
begin {tabu} at 0.5 linewidth {| X[c]| X[c]|[0.75pt]X[c]|[0.75pt]X[c]|[0.75pt]X[c]|[0.75pt]X[c]|}
Rowfont { leavevmode color {white}}
Multicolumn {1} {c |} {}
& Cellcolor {blue! 30} $ 0 $
& {Pi } {blue cellcolor! 40} $ dfrac {6} $
& {Pi } {blue cellcolor! 50} $ dfrac {4} $
& {Pi } {blue cellcolor! 60} $ dfrac {6} $
& Multicolumn {1} {c |} {! Cellcolor {blue 70} $ dfrac { pi} {2}} $
\ tabucline -
% row2
$ sin x $
& $ 0 $
& $ Dfrac {1} {2} $
& $ Dfrac { sqrt {2}} {2} $
& $ Dfrac { sqrt {3}} {2} $
& $ 1 $
\[-0.5pt] tabucline [0.5pt on 3pt blue] -
% Row3
$ cos x $
& $ 1 $
& $ Dfrac { sqrt {3}} {2} $
& $ Dfrac { sqrt {2}} {2} $
& $ Dfrac {1} {2} $
& $ 0 $
\[-0.5pt] tabucline [0.5pt on 3pt blue] -
% row4
$ tan x $
& $ 0 $
& $ dfrac { sqrt {3}} {3} $
& $ 1 $
& $ sqrt {3} $
&
\ tabucline -
End {} tabu
End {table}
End {document}
```

Source link