cgnieder / chemmacros

comprehensive support for typesetting chemistry documents
LaTeX Project Public License v1.3c
33 stars 5 forks source link

Feature request: module reactants: add option to insert number into bracket #57

Open Nanderty opened 2 months ago

Nanderty commented 2 months ago

Hello Thank you for this amazing package! Would it be possible to add an option to include the number of the compound into the brackets, eg. name (number, mass, ...) as opposed to the current behaviour: name number (mass, ...)?

Sonja-K commented 2 weeks ago

If I understand you correctly, you would like to achieve the following output

chemmacros-example3 rather than this default one: chemmacros_example2

What is supposed to happen in cases in which only the number is displayed and the name of the compound is omitted? I have never seen this particular style being used in a journal. Do you have some links to example papers or journal style guides that you could share with me?

Nanderty commented 2 weeks ago

Yes, this is exactly what I mean! I think it would be fine to just not display the name if none is given. Even though this would probably be quite strange, enabling this hypothetical layout and not giving a name would probably be a niche case, where somebody knows what he is doing. Also this behaviour would be quite intuitive in my opinion. I could not quickly find any paper/journal using this style. The reason I request this ist that my university requires this style for practical protocols. I would definately understand if that is not enough reason for you to implement this.