General ⇒ List of equations
-
- Posts: 7
- Joined: Fri Jul 20, 2007 12:09 am
List of equations
any ideas?
GF
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
List of equations
Edit: spelling issues.
Re: List of equations
If you have any ideas on how to do that, I'd certainly appreciate it.
Regards,
- Brian
List of equations
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
\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}
-
- Posts: 1
- Joined: Mon Jan 02, 2012 9:58 pm
Re: List of equations
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 3195 times
-
- ut-thesis.cls
- University of Toronto thesis class
- (31.57 KiB) Downloaded 1739 times
List of equations
These are the packages i use in my document:! LaTeX Error: Command\myequation
s already defined.
Or name\end...
illegal, see p.192 of the manual.
Code: Select all
\documentclass[12pt,a4paper,oldfontcommands,oneside]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{cite}
\usepackage[dvips]{graphicx}
\usepackage{subfig}
\usepackage{xcolor}
\usepackage{times}
\usepackage{tabu}
\usepackage{multirow}
\usepackage{textcomp}
\usepackage{placeins}
\usepackage[]{mcode}
\usepackage{comment}
\usepackage{adjustbox}
\usepackage{lscape}
\usepackage[utf8]{inputenc}
%following with the code
\usepackage{tocloft}
\newcommand{\listequationsname}{List of Equations}
\newlistof{myequations}{equ}{\listequationsname}
\newcommand{\myequations}[1]{
\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}\par}
\begin{document}
\tableofcontents*
\listoffigures
\listoftables
\listofmyequations
.....
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
List of equations
Code: Select all
\documentclass{memoir}
\usepackage{blindtext}
\newcommand{\listequationsname}{List of Equations}
\newlistof{listofequations}{equ}{\listequationsname}
\newcommand{\myequation}[1]{%
\addcontentsline{equ}{equation}{\protect\numberline{\theequation}#1}\par
}
\makeatletter
\let\l@equation\l@figure
\makeatother
\begin{document}
\tableofcontents*
\listofequations
\clearpage
\blindtext
\begin{equation}\label{eq:Eq1}
a=b
\end{equation}
\myequation{A equals B \ref{eq:Eq1}}
\clearpage
\begin{equation}\label{eq:Eq2}
b=c
\end{equation}
\myequation{C equals B \ref{eq:Eq2}}
\end{document}
Re: List of equations
