GeneralHow to create a list of equations with scrbook?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
dmarc
Posts: 7
Joined: Sat Aug 20, 2022 3:37 pm

How to create a list of equations with scrbook?

Post by dmarc »

Hey,

I'm trying to create a list of equations. Therefore I've tried the following code from:
https://latex.org/forum/viewtopic.php?t=428

Code: Select all

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

\listofmyequations
Unfortunately it doesn't work with my doccument. I'm using the KOMA class scrbook.

Thank you so much!

Recommended reading 2024:

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

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

User avatar
MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

How to create a list of equations with scrbook?

Post by MjK »

See »How to generate a list of equations similar to the list of figures or list of tables« in the KOMA-Script wiki. The page is also available in German.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
dmarc
Posts: 7
Joined: Sat Aug 20, 2022 3:37 pm

How to create a list of equations with scrbook?

Post by dmarc »

Thank you so much!
I've added some horizontal space to make it look nicer.

Code: Select all

\setequationentry{\hspace{10pt}First equation}
User avatar
MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

How to create a list of equations with scrbook?

Post by MjK »

dmarc wrote: I've added some horizontal space to make it look nicer.

Code: Select all

\setequationentry{\hspace{10pt}First equation}
Sorry, but this is nonsense at least but not only if you have multi line entries. If you want more intend for the text, change the number width parameter of the entry. See the last example of How to adjust the indents in the table of contents to the actual width of the numbers. You can change the parameters of the entries also with the optional argument of \DeclareNewTOC. See the manual for more information.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
Post Reply