How to numerate formulas in Lyx? Is there exist LaTeX command like "\tag "? I haven't found corresponding info before.

  • 2
    Well you can do it easily with the environment equation no need to add tags as long as you are satisfied with the automatic numbering. In other case you should use the \tag{} command loading in the preamble before the amsmath package. – Aradnix Aug 20 '14 at 0:28
  • @Aradnix That comment is only semi-useful, as the OP uses LyX. – Torbjørn T. Aug 20 '14 at 4:58
  • @TorbjørnT. OP? – Aradnix Aug 20 '14 at 5:01
  • 3
    @Aradnix 'Original poster', i.e. PhysiXxx. – Torbjørn T. Aug 20 '14 at 5:02
  • 5
    PhysiXxx: see if tex.stackexchange.com/questions/83531/… answers your questions. See also tex.stackexchange.com/questions/57948/… – Torbjørn T. Aug 20 '14 at 5:05

When you say formulas, I assume you mean formulas in a display: Insert > Math > Display Formula (there is a keyboard shortcut, but I don't remember what the default is). These are LaTeX \[ \] environments, and become \equation environments upon labeling or numbering.

Once you have inserted your display, you right-click the display and may from there choose to number it or label it for cross-reference. Again, keyboard shortcuts exist.

PS. If you want an \align environment, Shift + Enter with the cursor in the display, then number lines (e.g. by right-clicking).

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.