Any ways of incorporating a figure in a section headline ?TeX capacity exceeded, sorry [input stack size=5000]
General ⇒ includegraphics in headlines ?
includegraphics in headlines ?
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
includegraphics in headlines ?
if you showed us the code producing this error we probably could provide better help.
In generall including graphics in section headline is possible. I reckon you want to show the logo inside the section headline in the document body, not in the table of contents. Therefore you may use the optional parameter of \section etc., for example:
Code: Select all
\section[Text]{Text\includegraphics{filename}}
Re: includegraphics in headlines ?
It's working now... After all the trouble i went through all you had to do was insert [] after section...