I have successfully incorporated an aligned environment in my tabular environment, but now my second column is not aligned with my first. I think that I need to remove the automatic line break after the aligned environment, but do not know how. Is this my problem?
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,array,calc,tikz}
\begin{document}
\noindent {\bf Determine the average rate of change between the indicated points}\\
\begin{table}[!htbp]
\begin{tabular}{m{3in} m{3in}}
$\begin{aligned}
1. \hspace{1ex} f(x) &= x^2+5x+6\\
&\text{a. From -3 to 0.}\\
&\text{b. From -3 to -2.}\\
&\text{c. From -1 to 2.}
\end{aligned}$ &
2. \raisebox{dimexpr-\height+.7\normalbaselineskip}{
\begin{tikzpicture}[scale=0.25]
\draw[step=1cm,gray,very thin] (-5,-5) grid (5,5);
\draw[<->, ultra thick] (-6,0)--(6,0);
\draw[<->, ultra thick] (0,-6)--(0,6);
\node[below] at (6,0) {$x$};
\node[left] at (0,6) {$y$};
\draw[blue, thick, <->,domain=-1.5:4.5] plot (\x, {2*\x-3});
\end{tikzpicture}}\\
&\\
&\\
\end{tabular}
\end{table}
p
in the place ofm
in the table preamble. – Bernard Jul 16 '19 at 16:51