I am having a problem in aligning some symbols under an equation... This is the code:

& \uparrow & \uparrow \\
& k & k

...and the output I get:

I also tried using the array environment instead, but still can't figure out how to put the arrow (and letter k) in the exact position. How should I do?

Thanks in advance.


Same thing happens over here:

D(\ldots,\,A^k & +tA^j,\,\ldots) = D(\ldots,&\,A^k,\,\ldots) + D(\ldots,&\,tA^j,\,\ldots) \\
& \uparrow & \uparrow & \uparrow \\
& k & k & k

which gives:

enter image description here

1 Answer 1


You don't have to align the \uparrows: \underset and a matrix environment will do:



  D(\ldots,\,\underset{\begin{matrix} \uparrow \\ k \end{matrix}}{tA^j},\,\ldots) & =tD(\ldots,\,\underset{\begin{matrix} \uparrow \\ k \end{matrix}}{A}^j,\,\ldots) \\
  D(\ldots,\,A^k \underset{\begin{matrix} \uparrow \\ k \end{matrix}}{+}tA^j,\,\ldots) & = D(\ldots,\,\underset{\begin{matrix} \uparrow \\ k \end{matrix}}{A}^k,\,\ldots) + D(\ldots,\,\underset{\begin{matrix} \uparrow \\ k \end{matrix}}{tA^j},\,\ldots)


enter image description here

  • Didn't know about the \underset command, thanks a lot!
    – CAKES
    Sep 26, 2017 at 17:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.