[Tex/LaTex] Create \uparrow in math mode with variable length

arrowsmath-mode

How to make \uparrow to be as long as the object left to it? Is there a way like for brackets \right] ? How to make this look nice:

\documentclass[15pt, a4paper]{scrartcl}

\usepackage{amsmath,amssymb,stmaryrd}   

\begin{document}

\[ s_R \uparrow \Rightarrow \left( \dfrac{L_A}{L}\right)_{dec.} \uparrow \]

\end{document}

enter image description here

I'm looking for an easy way within the environment [] or align. I hope there is a tikz-free way for achieving this. Thank you 🙂

Best Answer

Try \left. ... \right\uparrow

If dec. is a name you also ought to use _{\textup{dec.}} do it is not read as three indices and a dot.

Related Question