Ivan Werning wrote:
How do I change an equation number that was chosen automatically from forcing a particular number or symbol?

That is, I want the analog of \tag in Latex

For example, I have an equation that is numbered "(5)" which is chosen by default because it comes after "(4)". That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation "(3')" because it is a variant of a previous equation numbered "(3)".


Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type "3'" (or "3^\prime" if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript.

I'm not sure if there's a more LyXish way to do it.

HTH,
Paul

Reply via email to