3
votes
2answers
49 views

Cross reference to align

What I want to do is to make a cross reference to program (P) and still be able to make cross references to each separate line in the alignment. \begin{align} (P)\quad \min ...
1
vote
1answer
74 views

Prevent multiple equation numbers when using \allowdisplaybreak with align

I have a very long equation of the following format \begingroup \allowdisplaybreaks \begin{align} a &= very long expression here\\ + & another long expression here\\ + & another long ...
4
votes
1answer
138 views

Multiple labels in aligned environment

I would like to format an optimization problem by \documentclass{article} \usepackage{amsmath} \begin{document} We want to label each line separately. The inserted text and formulas have to be ...
6
votes
2answers
155 views

Label one line in a begin align*

I have the following block of TeX: \begin{align*} m_n^+ = \dfrac{1}{n}\sum\limits_{k=N+1}^{n} =& \dfrac{1}{n}\sum\limits_{k=N+1}^{n}\left(a_k-L+L\right) \\ ...
2
votes
1answer
179 views

Error when setting a label in an alignat-environment which is embedded in a figure-environment

I want to label equations in a alignat-environment which is embedded in a figure-environment and it won't compile. Example: \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage{amsmath} ...
5
votes
1answer
145 views

Label a block or systems of equations with one label [duplicate]

Possible Duplicate: How to get only one vertically centered equation number in align environment with two equations I have a big system of equations which I want to label as one block. I do ...
4
votes
1answer
397 views

How to redefine \label command in align environment

I have a problem with the redefinition of \label inside of the align environment. The goal is to allow a different behavior of the label command inside of the align environment than outside of it ...
5
votes
1answer
411 views

Turn off numbering on unused equations [duplicate]

Possible Duplicate: How do I number equations only if they are referred to in the text? While I am writing a document, I like to use align rather than align* and label them for all ...
1
vote
2answers
92 views

How can I properly reference equations numbered by default in an align block?

I have two equations in an align block: \begin{align} 4x-3y&=2\\ 3x+2y&=1 \end{align} Both of these equations are numbered (1) and (2) respectively. In a sentence beneath this align ...
8
votes
2answers
705 views

In align environment, how can you label some (but not all) of the equations?

I know that the align environment labels all the lines, while the align* environment labels none of the lines. Is there a way to have the align environment label only some of the lines? For example, ...
4
votes
2answers
248 views

Referencing within an align environment

The following LaTeX document: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} E=mc^2 \\ \nonumber E=mc^2 \label{eq1} \end{align} ref \ref{eq1} \end{document} Does ...
5
votes
1answer
571 views

How can I use cross-references and hyperlinks to parts of an align environment?

I'm writing an exercise book, and in some exercises I'll have several numbered equations in an align environment, e.g., (1) x^2+x+1=0, (2) ax^3+2x=0, (3) x^5=2i, (4) x^4=-i, (5) x-1/x=2, (6) ...
8
votes
1answer
859 views

How to organize labels when there are too many equations?

I'm writing a moderately long text using LaTeX, and it's great to be able to organize chapters, sections, appendices, and everything else almost automatically. One thing has been bothering me though. ...