6
votes
2answers
4k views

\mbox does not draw a box inside align*

\mbox doesn't work inside align*: \begin{document} \usepackage{mhchem} \begin{align*} \ce{K_w} &= \ce{[H3O+][OH^-]} \\ -\log \ce{K_w} &= -\log ( \ce{[H3O+][OH^-]} ) \\ -\log ...
4
votes
2answers
436 views

Text containing math above and below equilibrium sign won't compile (using mhchem)

Why won't this compile? I suspect the math inside the []s are preventing compilation. If so how do I make this work? Thanks. \documentclass[12pt]{article} \usepackage[version=3]{mhchem} ...
1
vote
1answer
364 views

Missing $ error

Why doesn't this code compile? % Oxidation and reduction % Author: Arne Röhrs % Note that two compilations are necessary. \documentclass{article} \usepackage{tikz} ...