TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I write, for example, in Math.SE and I want some equation to appear in the middle of the line I just use


instead of just one dollar sign.

How can I do something similir in Lyx ? doing something like ctrl+M twice didn't work.

share|improve this question
If there are any other relavant tags plase add them, I am not very firmilir with tags here. – Belgi Oct 31 '12 at 7:01
up vote 4 down vote accepted

For an unnumbered equation, Ctrl + Shift + M, or Insert --> Math --> Display formula.

If you want a numbered equation, you can either

  • Ctrl + Shift + M followed by Alt+MN (Note: Release the Alt and M keys before hitting N.)
  • Ctrl + Shift + M, then right click it and choose Number this formula.
  • Insert --> Math --> Numbered formula

If you want several equations after one another, use one of the AMS environments, either gather or align. The latter lets you align after e.g. the equals sign in each line. Both of these are found in Insert --> Math menu.

share|improve this answer
Thank you for your answer, I tried it for unnumbered equation and it worked. Did you mean that if I want to number an equation after this I can do so by Alt+mn ? if so, the combination did not work for me (it tried to open the Navigation tab) – Belgi Oct 31 '12 at 7:22
@Belgi Yes, but you have to release the Alt key before pressing N. (Sorry, should perhaps have mentioned this.) So hold down Alt and press M, then release everything, and press N. – Torbjørn T. Oct 31 '12 at 7:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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