GeneralTeX capacity exceeded, sorry [input stack size=5000].

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
AliMcAlly
Posts: 1
Joined: Wed Dec 08, 2021 9:22 pm

TeX capacity exceeded, sorry [input stack size=5000].

Post by AliMcAlly »

I have been looking online for a solution to this issue for the better part of an hour, and most people with this issue have pretty big files, one example from a 2015 post on here refers to a 80+ page document. I am getting this issue on a 10 slide beamer presentation (due in 12 hours). I can write regular letters, but not any math, which is kind of hard for a physics assignment. Can someone please help me? I'd rather not move to google slides or change the document class just to article.

Thank you!~

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
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

TeX capacity exceeded, sorry [input stack size=5000].

Post by Ijon Tichy »

This error does not depend on the number of pages of a document. It is almost always the result of a single coding mistake, e.g., missing arguments, some kinds of recursions like \url{…\url{…}} etc. So please show us a Infominimal working example, that can be used to reproduce your problem. Otherwise this question would become a panel game but not a target-oriented search for a solution.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply