Skip to content
Discussion options

You must be logged in to vote

You will need to put the \usepackage{mchem} command in the document's preamble.
This can be done by using --include-in-header (with a file containing the code you want to add) or through YAML metadata (setting the variable header-includes):

---
header-includes: |
  \usepackage{mhchem}
...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by athyfr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants