You can edit almost every page by Creating an account and confirming your email.

Chemmacros

From EverybodyWiki Bios & Wiki


chemmacros
Developer(s)Clemens Niederberger
Initial release2012
Written inTemplate:Linked TeX wordmark
Engine
    Operating systemCross-platform
    PlatformTeX
    TypeTypesetting, Scientific publishing
    LicenseLaTeX Project Public License
    Websitectan.org/pkg/chemmacros

    Search Chemmacros on Amazon.

    Chemmacros is a Template:Linked TeX wordmark package used to simplify and enhance the typesetting of computational chemistry, such as chemical equations, reactions, formulas, and mechanisms. It provides a comprehensive interface for working with chemical notation, and is designed to integrate well with other LaTeX packages like mhchem and siunitx.[1]

    Overview

    chemmacros allows users to write chemical expressions with clearer syntax and better typographic results than raw LaTeX or math mode. The package is modular and extensible, allowing users to load only the features they need, such as reaction arrows, oxidation states, isotope notation, and physical quantities.

    Features

    • Easy input of chemical formulas and reactions
    • Predefined macros for oxidation states, charges, and isotopes
    • Reaction schemes with support for reagents and conditions
    • Support for IUPAC-style nomenclature
    • Integration with packages like mhchem and siunitx

    Example

    A basic example using chemmacros:

    \documentclass{article}
    \usepackage{chemmacros}
    \chemsetup{modules = reactions}
    
    \begin{document}
    \ch{2H2 + O2 -> 2H2O}
    \end{document}
    
    Would render as:
    2H2 + O2 → 2H2O

    Example 2

    \setchemfig{atom sep=2em}
    \chemfig{-[@{op,.75}]CH_2-CH(-[6]Cl)-[@{cl,0.25}]}
    \makepolymerdelims{5pt}[27pt]{op}{cl}
    \chemfig{-[@{op,.75}]CH_2-CH(-[6]Cl)-[@{cl,0.25}]}
    \makepolymerdelims[delimiters=()]{5pt}[27pt]{op}{cl}
    
    Would render as:
    Example 2 output

    Modules

    chemmacros is organized into modules, such as:

    Use cases

    The package is widely used in:

    See also

    References

    External links



    This article "Chemmacros" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Chemmacros. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.