This example demonstrates how the
chemnum package can be used to automatically number compounds in reaction schemes created with ChemDraw (saved as .eps files). While the
chemstyle/chemscheme package can also be used, its author recommends the use of
chemnum as it's deemed to be clearer.
Ideally, the ChemDraw-generated .eps files should contain "TMP1", "TMP2" etc as temporary markers, which will then be replaced with automatically incrementing compound counters using the
\replacecmpd command. Switch the LaTeX engine to LaTeX+dvipdf from the project's Settings icon (the gear icon) so that the replacement actually takes place.
Overleaf is perfect for all types of projects — from papers and presentations to newsletters, CVs and much more! It's also a great way to learn how to use LaTeX and produce professional looking projects quickly.
Upload or create templates for journals you submit to and theses and presentation templates for your institution. Just create it as a project on Overleaf and use the publish menu. It's free! No sign-up required.
New template are added all the time. Follow us on twitter for the highlights!
Overleaf is a free online collaborative LaTeX editor. No sign up required.