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?
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
- 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