MacMost Q&A Forum • View All Forum QuestionsAsk a Question

How Can I Make My Equations Be Generated With an ID Number In LaTex Equation?

How can I make my equations be generated with an identifiable number in LaTex equation?

For example

X + 12 (1.1)

4X – 5 (1.2)

This designation is used in textbooks or theses.

In forums I have read that use the following (latex)

begin{equation}

cdot OH + RH rightarrow Rcdot H_2O

end{equation}

but not show me the number of the equation.

Macbook Pro with retina display, processor 2.7 GHz Intel Core i5, ram 8 and 128GB PCIe-based SSD, pages version 6.1.1
—–
Marlon César

Comments: 4 Responses to “How Can I Make My Equations Be Generated With an ID Number In LaTex Equation?”

    7 years ago

    Why not just include the number as a separate piece? So have the LaTex equation, then follow it with the text (1.1). Or, put it before, whichever you want.

    Marlon César
    7 years ago

    Yes, I have been doing what it says, but in the end is not aligned to the right margin, I have to put spaces that vary in each equation, so I preferred to be put automatically with some command.

    7 years ago

    Marlon: Have you tried using tabs to get things aligned? Or maybe using a table and putting the numbering in one column and the equation in the other?

    Marlon César
    7 years ago

    Yes, I think doing in two columns could be a solution, however I thought there might be some way to do automatic. Thanks for the help Gary: D

Comments Closed.