TeX - LaTeX Asked on June 18, 2021
I am giving a presentation and I would like to make the slides in the following order:
The commands are:
documentclass{beamer}
usepackage{tikz}
usetikzlibrary{arrows.meta}
newcommandmyarrow{%
tikzdraw[red,dashed,thick,-Triangle] (0,0) -- ++(0,-1.1);
}
begin{document}
begin{frame}
$begin{array}{cccccc}
& f(x) & = & sqrt{x^2 + 500^2} cdot 640,00 & + & (2000 - x) cdot 312,00
& & & & &
& & & myarrow & & myarrow
& & & & &
Rightarrow & f'(x) & = & 640,00frac{1}{2sqrt{x^2 + 500^2}}2x & + & 312,00(-1)
end{array} $
end{frame}
end{document}
I know the pause
command, but I don’t think it works in this case, because the second arrow is before the text that needs to appear on the last line.
You can use onslide
:
documentclass{beamer}
usepackage{tikz}
usetikzlibrary{arrows.meta}
newcommandmyarrow{%
tikzdraw[red,dashed,thick,-Triangle] (0,0) -- ++(0,-1.1);
}
begin{document}
begin{frame}
$begin{array}{cccccc}
& onslide<1->{f(x) & = & sqrt{x^2 + 500^2} cdot 640,00 & + & (2000 - x) cdot 312,00}
& & & & &
& & & onslide<2->{myarrow} & & onslide<3->{myarrow}
& & & & &
onslide<2->{Rightarrow & f'(x) & = & 640,00frac{1}{2sqrt{x^2 + 500^2}}2x} & onslide<3->{+ & 312,00(-1) }
end{array} $
end{frame}
end{document}
Correct answer by egreg on June 18, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP