Text FormattingEquation Numbering

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Equation Numbering

Post by latexhelp1 »

How do you number only a subset of the lines within a begin{align}?

In the following example, the equation spans more than one line, and I only want the first line to be numbered. I am using \begin{align} because I like that the two lines can be aligned.

Below is an example:

Code: Select all

\documentclass[12pt]{article}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fullpage}
\usepackage{times}
\usepackage{bbm}
\usepackage{color}
\usepackage[stable]{footmisc}
\usepackage{setspace} 
\usepackage[T1]{fontenc}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{mathptmx}

\begin{document}  

\begin{align}
y_{icb} &= \alpha +  \pi_1 A + \pi_2 B + \pi_3 C + \pi_4 D + \pi_5 E +  \pi_6 F + \pi_7 G \pi_8 H + \pi_9 I  \\
&+  \beta_1 AA + \beta_2 AB + \beta_3 AC + \beta_4 AD + \beta_5 AE +  \beta_6 AF + \beta_7 AG + \beta_8 AH + \beta_9 AI 
\end{align}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Re: Equation Numbering

Post by Montag »

File (g00gle the filename): amsldoc.pdf
Once you opened the file, search for: notag

:)
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Equation Numbering

Post by localghost »

Montag wrote:File (g00gle the filename): amsldoc.pdf […]
Why always use a search engine? The amsmath manual is available on CTAN or via command line.

Code: Select all

texdoc amsmath
That's much faster (and much smarter).


Thorsten
Post Reply