Featured Book

LaTeX Beginners Guide

Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 10 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

List of equations

Add tags LaTeX specific issues not fitting into one of the other forums of this category.

List of equations

Postby Goldfinger820 on Fri Jul 20th, 2007

Is there an easy way to create a list of equations? I have used \begin{equation} to number my equations and would like to form a list of them in my front matter, similar to that created for list of figures or list of tables.....


any ideas?

GF
Goldfinger820
 
Posts: 7
Joined: Fri Jul 20th, 2007

Re: List of equations

Postby gmedina on Mon Jul 23rd, 2007

Try the tocloft package; it lets you create new "Lists of ...".
Edit: spelling issues.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
gmedina
 
Posts: 2313
Joined: Wed Jul 11th, 2007
Location: Colombia

Re: List of equations

Postby braverock on Wed Jul 25th, 2007

tocloft doesn't have an easy way to generate a list from an existing tag like {equation}

If you have any ideas on how to do that, I'd certainly appreciate it.

Regards,

- Brian
braverock
 
Posts: 2
Joined: Wed Jul 25th, 2007

Re: List of equations

Postby gmedina on Thu Jul 26th, 2007

braverock wrote:...tocloft doesn't have an easy way to generate a list from an existing tag like {equation}...

Are you sure? The following seems quite easy:

Code: Select all  •  Open in writeLaTeX
\documentclass{article}
\usepackage{amsmath}
\usepackage{tocloft}

\begin{document}
\newcommand{\listequationsname}{List of Equations}
\newlistof{myequations}{equ}{\listequationsname}
\newcommand{\myequations
}[1]{%
\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}\par}

\listofmyequations

\begin{equation}\label{eq:Eq1}
   a=b
\end{equation}
\myequations{Equation number \ref{eq:Eq1}}

\newpage

\begin{equation}\label{eq:Eq2}
   b=c
\end{equation}
\myequations{Equation number \ref{eq:Eq2}}

\end{document
}


Edit: the code I posted is somehow "redundant"; there are easier versions. (I just took a portion of a more elaborate code that I wrote to test the suggestion I gave to GoldFinger820 in my first reply).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
gmedina
 
Posts: 2313
Joined: Wed Jul 11th, 2007
Location: Colombia

Re: List of equations

Postby pweinstein on Mon Jan 2nd, 2012

Thanks gmedina, this is great. It is simple and does just what I was looking for.

This may be a dumb question (I'm a complete newbie) but is there a way to get the formatting of the list of equations to be the same as the list of tables/list of figures. I'm using the \listoftables command and PdfLaTeX to build.

I've uploaded the my university's class file in case there is something starnge in there as well as a PDF of the relavant pages.

Thanks and happy 2012!

Peter
Attachments
lists.pdf
Example of formatting differnces between list of tables and list of equation
(43.04 KiB) Downloaded 483 times
ut-thesis.cls
University of Toronto thesis class
(31.57 KiB) Downloaded 156 times
pweinstein
 
Posts: 1
Joined: Mon Jan 2nd, 2012


Return to General

Who is online

Users browsing this forum: No registered users and 10 guests