General ⇒ Error \newcounter{lofdepth} and \newcouter{lotdepth}
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Error \newcounter{lofdepth} and \newcouter{lotdepth}
l.99 \newcounter{lofdepth}
?
l.112 \newcounter{lotdepth}
?
****************************************
Where is the problem?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Error \newcounter{lofdepth} and \newcouter{lotdepth}
Code: Select all
! LaTeX Error: Command \c@lofdepth already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.99 \newcounter{lofdepth}
Your command was ignored.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Re: Error \newcounter{lofdepth} and \newcouter{lotdepth}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Error \newcounter{lofdepth} and \newcouter{lotdepth}
Somewhere in your code (exactly lines 99 and 112) there must those redefinitions of the affected counters.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Error \newcounter{lofdepth} and \newcouter{lotdepth}
HTH,
Axel