tex >> Numbering a multi-part equation ?

by northly » Tue, 11 Nov 2003 03:16:42 GMT

Hello,

I have a single equation which has two parts and I'd like to number
the first part, say 1a, and the second part 1b. I'd like the equation
to be numbered like this:

z+y : r>0 (1a)
x = {
z-y : r<0 (1b)

The current code i have so far which produces only one numeric numbering
for the whole equation is:

\begin{equation}
x = \left \{ \begin{array} {c @{\quad : \quad}c}
z+y & r>0 \\
z-y & r<0
\end{array} \right.
\end{equation}

Any help is appreciated.

sami


tex >> Numbering a multi-part equation ?

by Herbert Voss » Tue, 11 Nov 2003 04:04:06 GMT


sami schrieb:

\documentclass[12 pt]{article}
\usepackage{amsmath}
\begin{document}

\begin{minipage}{0.9\textwidth}
\begin{align*}
x = \begin{cases}
z+y\quad &:\quad r>0\\
z-y\quad &:\quad r<0
\end{cases}
\end{align*}
\end{minipage}%
\begin{minipage}{0.05\textwidth}
\begin{subequations}
\begin{eqnarray}
\\
~
\end{eqnarray}
\end{subequations}
\end{minipage}

\end{document}


Herbert




tex >> Numbering a multi-part equation ?

by Donald Arseneau » Tue, 11 Nov 2003 04:53:04 GMT

XXXX@XXXXX.COM (sami) writes:



\usepackage{cases}

Donald Arseneau XXXX@XXXXX.COM


Numbering a multi-part equation ?

by northly » Thu, 13 Nov 2003 01:55:47 GMT

Thanks all

it works now.


Similar Threads

1. equation numbering for multipart equation

How can I get separate equation numbering for equations like in "cases"
environment?


For example:
\begin{equation}
f(x)=\begin{cases}
            \frac{1}{2} \\
            x^2         \\
            1
      \end{cases}
\end{equation}

should look like

         1/2       (1.1)
f(x) = { x^2       (1.2)
         1         (1.3)

The lines in my real problem are quite complicated and have different
heights.
Further, I would like to be able to refer to the labels, and the labels
should align at the right margin of the text, just like with usual
equation numbers.

Any help appreciated!

2. Text equation - multi-line text in equation environment

3. equation number, table number, figure number linked to the same paragraph number - Wanted ideas

I have a paragraph number, example

A-XXX

Then I want to have equations like:

... Eq A-1
... Eq A-2
.. liked to this paragraph

And also

.. fig A-1
... fig A-2
..linked only to this paragraph

...

At the end. I want to have...


A-XXX

... Eq A-1
... fig A-1
... fig A-2
... Eq A-2
... Eq A-3
... fig A-3

B-XXX

... Eq B-1
... fig B-1
... Eq A-2
... Eq A-3
... fig B-2

Thanks for ideas 


4. References in multi-part documents?

5. Generating multi-part HTML with XSL?

Hi,

I have an XML-file out of which I generate a HTML-file with an XSL. It
seems that it is only possible to generate one single HTML-file and
not multiple files e.g. in order to distribute different chapters of a
book in their own *.html - files. Is that true or is there some way to
do that?

Thanks in advance! P.Caspers

6. How to color equation without coloring equation number.

7. Equation numbers only on referenced equations

Hello,

When I typeset a document with equations, I like that only those
equations that are referenced somewher in the text are numbered. Is
there any way to do that automagically, from the \ref{} tags found,
instead of having to manually change equation for equation*?

I've searched the web extensively, but haven't found any clue.

Thanks in advance,

Vtor

8. Equation number to left side of the equation