Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.