TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a macro that is disabled after one use. The worksheet works fine until I need to clean the entire sheet and reuse it the next week. How do I reset the macro counter to zero so that I can use the macro again?

share|improve this question

closed as off topic by Mico, percusse, N.N., yo', egreg Sep 27 '12 at 9:51

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! We like to avoid greetings or signatures in post to keep them short. They are implied anyway. I'm not sure what you exactly mean with "clean the entire sheet" etc. Please add a minimal working example (MWE) that illustrates your problem. – Martin Scharrer Sep 23 '12 at 8:10
\setcounter{countername}{0} would work? BTW, follow the Martin's suggestions – Spike Sep 23 '12 at 8:37
@Spike: That sure sounds like an answer to me. Not sure why there is a vote to close as "off-topic" as it seems to be very much TeX related. – Peter Grill Sep 23 '12 at 9:14
@PeterGrill I was waiting for the MWE, to be sure that I didn't misunderstood the question. Do you think that I should transform the comment in a question right now? – Spike Sep 23 '12 at 11:26
Probably it's just me, but neither do I understand the situation described nor what's being asked... – Tom Bombadil Sep 23 '12 at 16:31

Browse other questions tagged or ask your own question.