Graphics, Figures & Tableshow to delete a counter?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
avoyance
Posts: 13
Joined: Sun Feb 13, 2011 1:53 am

how to delete a counter?

Post by avoyance »

LaTex has command to set a counter. But there seems to have no command to delete a counter.

The problem happens when I use a TiKz program
http://www.texample.net/tikz/examples/fibonacci-spiral/
to plot a fibonacci-spiral.
It uses three counter a,b,temp.
I use \include{chapter number} to include a file containing this program. \include will the counters into .aux file.
But sometimes I do not want to include this file when testing my writing. Therefore,
I use \includeonly{other chapter} to compile.
\includeonly will read the .aux file, which contains the counter a,b,temp. Hence error message pop up.

Therefore, how can I "delete" a counter? or somehow modify the fibonacci-spiral program not to use counters?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply