Please do not mark this as duplicate question. I looked at previous posts and could not solve the problem. I have this line in my tex script:

\includegraphics \includegraphics[width=\textwidth,natwidth=610,natheight=642]{test.jpg}

It produces this error:

Error: TeX capacity exceeded, sorry [parameter stack size=10000].

When I comment the line, I can compile the script successfully. I also included these packages for it to work:


EDIT: My image has reasonable size. It is about 150 KB.

  • 2
    Why do you have two \includegraphics? – Ulrike Fischer Jul 21 '16 at 14:35
  • 5
    You've got \includegraphics twice in your code line: if that's really the case, you'll need to fix it. – Joseph Wright Jul 21 '16 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.