3

Why does the following formula have problem?

$\ce{A ->[k''] B}$

It doesn't have any problem with prime symbol but with second symbol it won't be compiled.

Any idea about how to use second symbol in this package?

1

1 Answer 1

2

Grouping the argument seems to solve the issue.

\documentclass{article}
\usepackage{mhchem}
\begin{document}
$\ce{A ->[{k''}] B}$
\end{document}

enter image description here

If one needed the k in math mode, then $\ce{A ->[{$k''$}] B}$ would do.

\documentclass{article}
\usepackage{mhchem}
\begin{document}
$\ce{A ->[{$k''$}] B}$
\end{document}

enter image description here

1
  • Actually the k must be in math mode. I am willing to bet that it represent a velocity constant…
    – cgnieder
    Sep 22, 2016 at 12:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .