\textbf{}
command. See the "B" column in my MWE. Can this be fixed?Code: Select all
\documentclass{article}
\usepackage{array} % Provides for a more flexible array and tabular environment, like the column defs below
\usepackage{booktabs} % For fancy stuff in arrays and tables
\usepackage{multicol,multirow}
\newcolumntype{L}{>{\begin{math}}l<{\end{math}}}%
\newcolumntype{C}{>{\begin{math}}c<{\end{math}}}%
\newcolumntype{R}{>{\begin{math}}r<{\end{math}}}%
\newcolumntype{B}{>{\textbf{}r<{}}}%
\begin{document}
\title{Conic Sections}
\begin{tabular}{|B|L|L|}
\toprule
\multicolumn{3}{c}{\large\textbf{Parabola}\normalsize} \\
\toprule
& \text{Vertical Axis} & \text{Horizontal Axis} \\
\midrule
Equation & \left(x-h\right)^2 = 4p \left(y-k\right) & \left(y-k\right)^2 = 4p \left(x-h\right) \\
\midrule
Axis of symmetry & x=h & y=k \\
\midrule
Vertex & \left(h,k\right) & \left(h,k\right) \\
\midrule
Focus & \left(h,k+p\right) & \left(h+p,k\right) \\
\midrule
Directrix & y=k-p & x=h-p \\
\midrule
Direction of opening & p>0 \Rightarrow up & p>0 \Rightarrow right \\
& p<0 \Rightarrow down & p<0 \Rightarrow left \\
\bottomrule
\multicolumn{3}{l}{Note: $d_1=d_2$, dist. to directrix=dist. to focus} \\
\bottomrule
\end{tabular}
\end{document}