Hi, Anyone
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
LyX ⇒ equation numbering in multiline equation
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
equation numbering in multiline equation
Hi Ekos,
welcome to the board!
It can easily be accomplished with amsmath, even with alignment. Have a look at this compilable demonstration example:
The documentation for amsmath can be found here.
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
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
LaTeX.org admin
Re: equation numbering in multiline equation
Last time I checked (LyX 1.5.5) there was no built-in support for subequations environment. You have to insert it manually as TeX string (RET - Red Evil Text in LyX's terminology). And make sure that amsmath is selected as Stefan suggests.
Cheers,
Tomek
Cheers,
Tomek