Math & Sciencechemstyle | Reset 'chemcompounds' Counter

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

chemstyle | Reset 'chemcompounds' Counter

Post by BoudewijnD »

Hi,

I'm currently using chemstyle for writing my thesis and it works great. However I would like to restart the numering of the compound for each chapter, so that each chapter starts with compound number 1.

Is there a way to reset the counter of chemcompounds?

Thanx,
\Boudewijn

Recommended reading 2024:

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

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

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: chemstyle | Reset 'chemcompounds' Counter

Post by josephwright »

I'm afraid I'm not sure how to achieve this, but as a working chemist I'd urge against it unless you are going to prefix them with the chapter number. (Even the later case is a pain: what if you have the same compound in two different chapters.)
Joseph Wright
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

Re: chemstyle | Reset 'chemcompounds' Counter

Post by BoudewijnD »

Then I will probally leave it like it is. And hope that my prof is oke with that. because in the last 10 thesises it was not the case :(
Post Reply