Hello,
I've been using LaTeX for the last months and now I'm trying to make my own class (.cls). I admit it's harder than I thought, but it progresses. Nevertheless, I still don't have any idea of the meaning of some TeX commands like \p@, \relax or \thanks. I use them as I saw on some examples, but I would like to know what am I doing...
Can someone please tell me where to get information about this kind of basic commands? or, at least, explain me what does these three do?
Thank you very much!
General ⇒ Help me with \p@
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Help me with \p@
Well, you've picked three different types of control sequence there! \p@ is an internal LaTeX command that is also found in the plain TeX format. You can read source2e for this type of thing. In this case, it is a single token which means '1 pt'.
\relax is a TeX primitive. The best references for these are 'The TeXbook' and 'TeX by Topic'. The later is available for free on CTAN and also if you do 'texdoc texbytopic'.
Finally, \thanks is a public LaTeX command, which is documented in lots of places. So that one you should find in something like the 'Guide to LaTeX'.
\relax is a TeX primitive. The best references for these are 'The TeXbook' and 'TeX by Topic'. The later is available for free on CTAN and also if you do 'texdoc texbytopic'.
Finally, \thanks is a public LaTeX command, which is documented in lots of places. So that one you should find in something like the 'Guide to LaTeX'.
Joseph Wright