Skip to content

Instantly share code, notes, and snippets.

@thelahunginjeet
Last active December 27, 2015 19:29
Show Gist options
  • Save thelahunginjeet/7377525 to your computer and use it in GitHub Desktop.
Save thelahunginjeet/7377525 to your computer and use it in GitHub Desktop.
useful latex commands for chemical reactions
\usepackage{amsmath}
% ensures non-italicized chemical species name
\newcommand{\ch}[1]{\mathrm{#1}}
% adds brackets to indicate concentrations
\newcommand{\conc}[1]{[\mathrm{#1}]}
% single right reaction arrow, with rate argument on top
\newcommand{\react}[1]{\stackrel{#1}{\rightarrow}}
% double left/right reaction arrow decorated above/below with rates
\newcommand{\doublereact}[2]{\mathrel{\substack{#1\\\rightleftharpoons\\#2}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment