I need to put diagonal arrows under an equation (the red ones in the picture).
I tried using \swarrow \qquad \searrow, but they are not positioned where I need them.
I would prefer not to use tikzmark. Is there another way to achieve this?
Thanks for your help.
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\usepackage{multicol,array,tabularx,xcolor,enumitem}
\usepackage{amsmath,amsfonts,amssymb,mathrsfs}
\pagestyle{empty}
%
%
%
%
\definecolor{modra}{cmyk}{1,0,0,0} %%%%DEFINCIE%%%%%BARVY
\definecolor{cerna}{cmyk}{0,0,0,1}
\definecolor{bila}{cmyk}{0,0,0,0}
%
%\color{modra}
%
\begin{document}
\begin{align*}
S & = \rho \cdot \dfrac{a + b +c}{2} & S & = \dfrac{a \cdot b}{2} \\
\rho \cdot \dfrac{a + b +c}{2} & = \dfrac{a \cdot b}{2} \qquad | \cdot 2 & & \\
18 (a +b+ c ) & = a \cdot b & a & = b \\
18 (a + a + c ) & = a \cdot a & c^2 & = a^2 + b^2 \\
18 (2a + c ) & = a^2 & c^2 & = a^2 + a^2 = 2a^2 \\
36 a + 18 c & = a^2 & c & = \sqrt{2a^2} = a \sqrt{2} \\
36 a + 18 a \sqrt{2} & = a^2 & & \\
a^2 - 36 a - 18 a \sqrt{2} & = 0 & & \\
a \left( a - 36 - 18 \sqrt{2} \right) & = 0 & & \\
\Large \swarrow \qquad \searrow
\end{align*}
%
%
\end{document}
tikzmark?\usepackage[utf8]{inputenc}is useless now.