diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-21 13:58:54 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-21 13:58:54 +0000 |
commit | 4683bcefcc8e380dda5f46ff09833a4b9b7f7804 (patch) | |
tree | 114f6e4f828c88b59884c61813315b67314dfc54 /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html | |
parent | baafafa261f8d350aaed51a28fb3c8627aa78237 (diff) |
FAQ-en v3.18
git-svn-id: svn://tug.org/texlive/trunk@8900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html index bba7f14641b..b7180d7fc5c 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-the-commands.html @@ -3,7 +3,7 @@ </head><body> <h3>Redefining counters’ <code>\</code><code>the-</code>commands</h3> <p/>Whenever you request a new LaTeX counter, LaTeX creates a bunch -of behind-the-scenes commands, as well as definining the counter +of behind-the-scenes commands, as well as defining the counter itself. <p/>Among other things, <code>\</code><code>newcounter{</code><em>fred</em><code>}</code> creates a command <code>\</code><code>the</code><code><em>fred</em></code>, which expands to “the value of @@ -24,11 +24,13 @@ find yourself redefining things left, right and centre. Rather, use the standard techniques for <a href="FAQ-seccntfmt.html">adjusting the presentation of section numbers</a>. <p/>Or, suppose you want the page number to appear at the bottom of each -page surrounded by dashes (“<code>-</code><code>- nnn -</code><code>-</code>”). Would you want to -achieve this by redefining <code>\</code><code>thepage</code>, given the likely appearance -of the table of contents with the dashes attached every page number, -or of the modified <code>\</code><code>pageref</code> references. In this case, the -modification is best done by redefining the page style itself, perhaps +page surrounded by dashes (as in +“<code>-</code><code>-~</code><code>nnn~-</code><code>-</code>”). +If you try to achieve this by redefining <code>\</code><code>thepage</code>, problems will +arise from the use of the page number in the table of contents (each +number will have the dashes attached), and <code>\</code><code>pageref</code> references +will be oddly modified. In this case, the change of appearance is +best done by redefining the page style itself, perhaps using <a href="FAQ-fancyhdr.html">package <i>fancyhdr</i></a>. <p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=the-commands">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=the-commands</a> </body> |