I am defining my own command and need to check, which mode the user has set, whether reqno or leqno. Is there a way to do this?

1 Answer 1


If amsmath is used then


is true or not.

For article and other classes, you need to check the definition of \@eqnnum or you could use

  • Okay I will try this.
    – Thomas
    Nov 27, 2014 at 13:08
  • The first option worked (I have not tried the second suggestion). Thanks!
    – Thomas
    Nov 27, 2014 at 13:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .