[Tex/LaTex] Text under or over

symbols

I wish to make such a explanation under the formulas:enter image description here

What is the easiest way?

Best Answer

I suggest you use a combination of \underset/\overset and \substack macros to place the explanatory text and the down/up-arrows below/above their associated formulas. With \substack, you won't have to provide lots of \scriptstyle (or similar) font-sizing instructions.

As the second display equation below shows, you may want to introduce linebreaks in some of the \underset and \overset constructs in order to make the overall equation a bit more compact.

enter image description here

\documentclass{article}
\usepackage{mathtools}
\begin{document}

\[
\int \underset{\substack{\downarrow \\ \text{Integrand}}}{f(x)} dx = 
\underset{\substack{\downarrow \\ \text{Anti-deriverte til  $f(x)$}}}{F(x)} + 
\overset{\substack{\text{Integrasionkonstant}\\\uparrow}}{C} 
\]

\bigskip

\[
\int \underset{\substack{\downarrow \\ \text{Integrand}}}{f(x)} dx = 
\underset{\substack{\downarrow \\ \text{Anti-deriverte} \\ \text{til  $f(x)$}}}{F(x)} + 
\overset{\substack{\text{Integrasion-}\\ \text{konstant}\\ \uparrow}}{C} 
\]

\end{document}