is it possible to align a figure and an equation next to each other? The equation contains multiple lines, and is therefore written as:
Code: Select all
\begin{align*}
A & += (1-d_y)((1-d_x)x_{i,j}),\\
B & += (1-d_y)((d_x)x_{i,j}),\\
C & += (d_y)((1-d_x)x_{i,j}) \mbox{ and} \\
D & += (d_y)((d_x)x_{i,j}).
\end{align*}
Thanks is advance!