Last active
December 27, 2015 19:29
-
-
Save thelahunginjeet/7377525 to your computer and use it in GitHub Desktop.
useful latex commands for chemical reactions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\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