I'm writing a rapport with a lot equations and I would like to use arrow to move from an equation from an another one. This is the code:
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{eqnarray*}
\cos\theta dF &=& k_{\text{abs}}\rho_{a}dz \\
&\begin{tikzpicture}
\draw[<-] (0,0) -- (0,5);
\end{tikzpicture} & \begin{tikzpicture}
\draw[step=1cm, white] (0,0) grid(5,5);
\node at (0,3.5) {$\tau\equiv\int_{z} k_{\text{abs}}\rho_{a}dz$ (la profondeur optique)};
\node at (-2,2.5) {$\Leftrightarrow d\tau = -k_{\text{abs}}\rho_{a}dz$};
\end{tikzpicture} \\
\end{eqnarray*}
\end{document}

Moreover, the code I have written is a bit complicated and I wonder there is an easier code to write this system. Do you have an idea?