Hi.
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.
General ⇒ Tracing commands
Tracing commands
To see a world in a grain of sand,
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
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.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Tracing commands
Hi,
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.
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.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Tracing commands
Hi johannes.
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.
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.
To see a world in a grain of sand,
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
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
Sometimes a single
You can read much more about tracing over at TeX.SX
\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
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Tracing commands
\show was exactly what I was looking for.
Thanks.
Thanks.
To see a world in a grain of sand,
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.