Graphics, Figures & Tableschemical formula numbering

Information and discussion about graphics, figures & tables in LaTeX documents.
bit
Posts: 14
Joined: Wed Feb 11, 2009 1:07 am

chemical formula numbering

Post by bit »

Dear friends,

is it possible to numbering a specific chemical compound in a chemical scheme with the particular numbering type of 1a-1c, using chemstyle package?

I want this compound to represent a general chemical reaction, where the following 1a, 1b, 1c compounds will be based on this general one. (I hope I am clear!)

Can chemscheme handle it automatically?

And furthermore, can anyone help me with the use of the \schemerefsub command in chemscheme?

Thank you in advance,

Alex

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

chemical formula numbering

Post by josephwright »

chemstyle/chemscheme don't do the numbering themselves, but pass this job on to either chemcompunds or bpchem. The standard setting is to use chemcompounds, as it is a little easier to use, but for sub-numbering you need bpchem:

Code: Select all

\usepackage[tracking=bpchem]{chemstyle}
You can then use use the \CNlabel, \CNref and \CNsubref macros to track your compounds. Typically, this might look like:

Code: Select all

We took compound \CNlabelsub{alk}{Me} and \CNlabelsub{alk}{Et} ...
\begin{scheme}
  \schemesubref{alk}{Me}
  \schemesubref{alk}{Et}
  \includegraphics{...}
\end{scheme}
Joseph Wright
bit
Posts: 14
Joined: Wed Feb 11, 2009 1:07 am

chemical formula numbering

Post by bit »

Thank you for answering Joseph.

Your example indeed helped me with assigning sub-numberings!

However, maybe I was not so clear to my point.

What I want to do is to assign under a specific compound (which belongs in a scheme) the numbering "1a-d", and not "1a".

This is a standard format in some chemical journals, where one presents at the beginning of his experimental part, a basic-general chemical reaction in a scheme and under this general corresponding reaction (in the scheme) lies this kind of sub-numbering: for example "1a-d" or "1-4", where it is meant that the four (1a, 1b, 1c, 1d or 1,2,3,4) compounds, are -modified- realizations based on the first basic "1a-d" reaction.

You can check scheme 23, p. 23 of this paper here: http://www.arkat-usa.org/get-file/29257/ or scheme 4 of this http://www.arkat-usa.org/get-file/27301/ in order to have a clear picture of what I mean.

Can I handle this kind of nubering with chemscheme or any other package automatically?

Any ideas on this?

Thanks in advance.

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

Re: chemical formula numbering

Post by josephwright »

Not that I know of, I'm afraid. As with many things, automation will only take you so far: coming up with interfaces that cover every case can be very difficult!
Joseph Wright
Post Reply