As of version 5.5 the chemmacros package includes a new module named polymers. Currently it mostly defines a few macros for usage in the \iupac command (provided by the mandatory nomenclature module) such as
\NewChemIUPAC\copolymer {\textit{co}}
\NewChemIUPAC\statistical{\textit{stat}}
\NewChemIUPAC\random {\textit{ran}}
\NewChemIUPAC\alternating{\textit{alt}}
\NewChemIUPAC\periodic {\textit{per}}
\NewChemIUPAC\block {\textit{block}}
\NewChemIUPAC\graft {\textit{graft}
}
and a few more. Additionally it defines a macro for usage with the chemfig package. In the chemfig manual there is presented some code defining the macros \setpolymerdelim and \makebraces which allows users to add polymer parentheses to formulas. The polymers module now defines a macro \makepolymerdelims based on this very idea and adds a few options for customization. If you have further ideas and suggestions what the polymers module should or could include please feel free to comment here or to drop me an email.
Picture: © Tim Reckmann/pixelio

Leave a Reply

Your email address will not be published. Required fields are marked *