Math & ScienceList of equations

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
mavzolej
Posts: 4
Joined: Tue May 31, 2011 9:36 am

List of equations

Post by mavzolej »

Hi everyone! I'm sorry, if this problem has already been discussed before. However, I did not find anything on the internet.

What I need is combination of numbered list and numbered formula.
That must look like:

1. [formula] (2.7)
2. [formula] (2.8)
3. [formula] (2.9)

Or like:
1. [formula]
2. [formula] (16)
3. [formula]

If I just put {equation} inside {enumerate}, I get:
1.
[formula] (2.7)
2.
[formula] (2.8)
3.
[formula] (2.9)

Looks bad. Possible solutions:

a. Pasting numbered formula without new line (how??).
b. Pasting numeration appropriate to numeration of formulae (how??). We could use:
{enumerate} + $[formula]$ + (#).

Thanks!

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

List of equations

Post by localghost »

Please do a Forum Search first. I remember that this problem has already been discussed (and solved).


Best regards and welcome to the board
Thorsten
mavzolej
Posts: 4
Joined: Tue May 31, 2011 9:36 am

List of equations

Post by mavzolej »

What I found:

Code: Select all

\usepackage{enumitem}

\begin{enumerate}
	\item $y = f(x)$ % compare with this
\end{enumerate}

\begin{enumerate}
  \item \rule{0pt}{1pt}\vspace*{-14pt}
    \begin{equation}
      \hspace{-483pt} y=f(x)
    \end{equation}
\end{enumerate}
Last edited by Stefan Kottwitz on Tue May 31, 2011 11:05 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

List of equations

Post by localghost »

What I found [1]. Well then?

[1] View topic: List of equations
mavzolej
Posts: 4
Joined: Tue May 31, 2011 9:36 am

List of equations

Post by mavzolej »

Yeaaaaaaaaaaaaaah!!!

Code: Select all

\def\Item$#1${\item $\displaystyle#1$
   \hfill\refstepcounter{equation}(\theequation)}

\begin{document}

\begin{enumerate}
\item foo
\Item $ 1+2=3 $
\item bar
\Item $f(x)=\int\limits_a^bx^2\mathrm{d}x$
\end{enumerate}
Post Reply