General ⇒ Tracing commands
Tracing commands
Let´s say I have my tex file running with no problems and I want to change the format of a particular thing.
Are there any logical steps to follow in order to find out which are the commands handling that particular thing format? Then, I would look for information about those commands in the packages manual and change them to fit my needs.
Thanks.
Damián.
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Tracing commands
usually all commands you are using are explained in its package/class documentation. There you can find out how to change it to your personal needs.
Re: Tracing commands
Maybe I´m using a package that reformat something I was not aware of. I was looking for a way to trace which commands are handling, for example, the format of the chapter title (could be anything else).
Thanks.
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Tracing commands
\show
can be enough. Package trace is more verbose:Code: Select all
\documentclass{article}
\usepackage{trace}
\begin{document}
\traceon
\tableofcontents
\traceoff
\show\tableofcontents
\end{document}
You can read much more about tracing over at TeX.SX
Re: Tracing commands
Thanks.
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.