LyX ⇒ equation numbering in multiline equation
equation numbering in multiline equation
I am Ekos, new member in Latex community and new user of Latex. Now, I am writing monthly technical report.
I would like to numbering multiline equations such as
2.23a
2.23b
2.23c
2.23d
but I could not find the way to do it. Anyone can help me?
Thank a lot and Best Regards,
Ekos
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
equation numbering in multiline equation
welcome to the board!
It can easily be accomplished with amsmath, even with alignment. Have a look at this compilable demonstration example:
Code: Select all
\documentclass[a4paper,10pt]{book}
\usepackage{amsmath}
\begin{document}
\chapter{Subequations}
\begin{subequations}
\begin{equation}
e^{\pi} + 1 = 0
\end{equation}
\begin{equation}
E = mc^2
\end{equation}
\end{subequations}
\chapter{Subequations with alignment}
\begin{subequations}
\begin{align}
z_0 &= 0 \\
z_{n+1} &= z_n^2+c
\end{align}
\end{subequations}
\end{document}
For explanation above I've used LaTeX code, you can use this subequation environment in LyX too, just make sure that amsmath is enabled. If needed check Document -> Settings -> Math options, activate "Use AMS math package automatically" or even choose "Use AMS math package".
Stefan
Re: equation numbering in multiline equation
Cheers,
Tomek