Comments (4)
As far as I can see the document you have linked makes no typographical suggestion at all?! Nowhere in the text it is said the numbers should be upright… I am not convinced that a mere usage in a draft document can be counted as recommendation.
However, if you insist then just put the numbers in math mode:
\documentclass{article}
\usepackage{chemmacros}
\begin{document}
\cip{$2$R,$3$S}
\end{document}
from chemmacros.
Although no explicit typographical suggestion is made, always the numbers are typeset upright. I referred to the draft document because I couldn't find a freely accessible PDF of the latest release of the IUPAC Blue Book. There is one behind a paywall, but if you don't have access I cannot show you that this document also shows preferred IUPAC names with upright numbers. It just feels weird to me that I should resort to putting the numbers in math mode to get the same result as there.
As another source not behind a paywall, in the IUPAC Red Book, again the numbers are typeset upright, for example on page 40 (52 in the PDF). In that section (IR-2.14.2), it is mentioned that these locants should be Arabic numerals. Granted, still nothing is explicitly said about whether these should be italic or not, but also in other cases the locant is not italicised in combination with an italic letter (e.g. 1H-1,2,3-disilagermirene on page 39 (51 in the PDF)), and in other cases it is explicitly stated when something should be italic.
from chemmacros.
I'll check other sources and in any way will add an interface for setting the appearance of numbers and letters differently. I'm not sure if I'll change the default appearance, yet.
from chemmacros.
This is now implemented and can be customized with the three options cip-inner-format
, cip-outer-format
and cip-number-format
.
from chemmacros.
Related Issues (20)
- \iupac in \title with achemso breaks with - being undefined HOT 1
- How to change the color of the oxidation numbers in chemmacros? HOT 1
- Font issues with XeLaTeX and \p HOT 6
- error while using siuntx's range-phrase command option HOT 1
- spectroscopy/NMR should accept alphanumerical input HOT 1
- iupac command and ligatures HOT 4
- Compilation error : undefined control sequence HOT 1
- Extra dash appears sometimes in IUPAC names after \{element} macros. HOT 2
- Clash with beamerswitch HOT 3
- \listofschemes not working in combination with the book class HOT 1
- Inconsistent counter representation and "chapter gap" in \listofschemes HOT 1
- Orbitals look weird. HOT 4
- Stereochemistry: \cip locants should not be printed in italics HOT 2
- Problem with chemmacros and KOMA-Script HOT 2
- Warning for \isotope command HOT 1
- Phases pos=sub HOT 2
- \theequation influences Reactions tag HOT 7
- Conflic between mhchem and chemmacros
- Why not directly require `amsmath` instead of `bm`? HOT 1
- with hyperref: failed to patch \hyper@refstepcounter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chemmacros.