Questions tagged [chemnum]

A modern and flexible package for the num­ber­ing of chem­i­cal com­pounds, including sub-labels, and the creation of lists of compounds. (i.e. Compounds 1, 2a, 3-5)

Filter by
Sorted by
Tagged with
0 votes
0 answers
51 views

Chemnum with pdfLaTeX

I am trying to get replacement feature in .eps files that bases on psfrag in chemnum to work with pdfLaTeX in Overleaf. I know that I need a package such as auto-pst-pdf, epstopdf, eps-to-pdf or even ...
2 votes
0 answers
43 views

chemnum: compound referencing in scheme not possible using EPSF-3.0

Using the chemscheme and chemnum packages, I would like to number compounds in a chemical scheme as described in: https://www.overleaf.com/latex/templates/automatically-numbering-compounds-in-chemical-...
0 votes
0 answers
80 views

Chemical drawing software with latex script export

I have a query Any chemical drawing software is available that is able to export the structures or reactions to latex script, and then compiled by a latex editor Thanks in advance
0 votes
0 answers
43 views

How to use BOTH chemnum to number compounds AND Arial as font in parallel

I write my thesis with Overleaf, and use \chemnum to number my compounds (replacing place holders as TMP1 in .eps files). \documentclass[twoside,12pt]{report} \usepackage[utf8]{inputenc} \usepackage[...
  • 1
0 votes
0 answers
124 views

How can I get LaTeX chemnum package to work alongside .png images?

I have been trying (for too long now) to get LaTeX to automatically label chemical compounds in my document in overleaf in combination with being able to add .png images using the \insertgraphics ...
1 vote
0 answers
83 views

Problem importing .eps files from ChemDraw 20 (MikTeX 4.6; TexMaker 5.1.2) and chemnum won't work

relative newbie writing my thesis using ChemDraw 20 for structures, including different chapter using \include. I can't seem to be able to import .eps files from chemdraw into my main file. Under the '...
  • 11
1 vote
0 answers
114 views

Using scrartcl with auto-pst-pdf, scrlayer-scrpage, chemnum and hyperref results in error

I'm trying to write a protocol for my Masters (similar to a Bachelors Thesis) which includes chemical formulae which I am attempting to number. My originally tried MWE was this one, it doesn't matter ...
1 vote
1 answer
39 views

I can use \refcmpd{a} in \ch{} environment, but not \refcmpd{a.one}?

I'm trying to show a reaction with chemformula involving a compound I've named using chemnum. If I use \cmpd{a} or \refcmpd{a} it works fine. However, if I use a sublabel, such as \refcmpd{a.one} then ...
  • 17.6k
0 votes
1 answer
84 views

Multple levels of sublevels in chemnum, expanding on previous answer

What I want is the ability to label things like: \cmpd{ln.eu.six} and get 10Eu.6H2O. I've got the first part working., but chemnum out of the box only supports one level of sublabels. There is a ...
  • 17.6k
0 votes
0 answers
89 views

Fixing automatic scheme numbering

I want to use either the chemscheme or chemnum package to automatically label my compounds in my document. Both of these function via the .eps format which is a problem when using pdfLaTeX, the ...
  • 11
0 votes
0 answers
36 views

Is it there a way to show all keys in eps schemes with chemnum?

I find the show-keys feature from chemnum super handy, as it allows me to keep track of all the plenty compounds I use throughout my document. But I ran into a hiccup, which I could not resolve: If I ...
0 votes
0 answers
149 views

include PDF, PNG/JPEG images with DVI-PS-PDF chain (needed for \chemnum package) (Texstudio)

I am writing a chemical report in TexStudio and include several different image formats, mainly EPS, created with ChemDraw. The drawings are included with the graphicx package and \includegraphics. As ...
  • 1
1 vote
1 answer
46 views

Using pos option in chemnum changes the size of some labels

I am using pos options to change the alignment of chemnum tags. However, it changes the size of the labels. It appears to negate the defined font size in the preamble. What options am I missing? MWE ...
  • 13
0 votes
1 answer
157 views

Change the target of the hyperlink in chemnum

I was reading the manual for chemnum today and noticed the hyperlinks option for the first time. It is a great idea, so that when I reference ''Compound 4`` 30 pages after I define it, its easy to ...
  • 17.6k
2 votes
1 answer
58 views

Is this the best way to label the lanthanides using chemnum?

I want to label a series of compounds with the lanthanides, i.e. 10la and I'm using the chemnum package. The manual gives some hints about this, saying you could do \newcmpdcounterformat{arabic}{\@...
  • 17.6k
0 votes
1 answer
188 views

Chemmacros breaks auto-pst-pdf

this is my first time here but I will try to do my best. My document stopped compiling and I was able to boil it down to the following MWE. Basically I need chemnum (and therefore auto-pst-pdf) to ...
1 vote
0 answers
101 views

auto-pst-pdf creates ghostscript error [duplicate]

I am using pdflatex (shell-escape is enabled) with auto-pst-pdf, psfrag and chemnum to replace tags in eps-files for auto-numbering molecules in my B.Sc. thesis. It went fine until this week, when I ...
  • 31
2 votes
0 answers
204 views

Alternative to auto-pst-pdf for chemnum

Does anyone know what I could use instead of auto-pst-pdf combined with chemnum to replace tags in eps-files? Since this week it doesn't work anymore. Pstool (\usepackage[mode=nonstop,crossref=true,...
  • 31
1 vote
1 answer
99 views

Adding a third level of compounds distinction in chemnum?

Essentially I would like to add a "sub-sub-label" to my compounds' numbering using chemnnum. Why and how exactly I want this I'm describing a series of chiral compounds, numbering them 1a, ...
  • 21
3 votes
1 answer
159 views

chemnum - wrong numbering in text

This is a follow up question to this answer here. I am getting trouble with the numbering in text, when i combine the first scheme with a second scheme. If i include the text at position one, the ...
2 votes
1 answer
104 views

chemnum - expand the replaced label by a few characters

I would like to label a compound like this, in my chemdraw file: Can chemnum replace the TMP in an .eps-file with 1a: M = Ti, n = 2 for example? Here is a similar question, but i would like to expand ...
2 votes
1 answer
125 views

chemnum: bringing custom labels to PDF bookmarks

This question was already asked on GitHub. The author of the great chemnum package initially proposed that one can define custom labels for chemical compounds. This is very useful when referencing ...
  • 457
0 votes
0 answers
94 views

How to compress a list of main compound labels using chemnum

I'm trying to typeset a chemistry document (my thesis) and I have a list of labels using chemnum. I want to refer to compounds 106-111 exactly like that: "106-111". When I use \cmpd[a,b,c,d,e,f] or \...
  • 1
1 vote
3 answers
531 views

Chemnum wont replace TMP markers in eps files

I'm new to latex but would really like to use it to write my dissertation (chemistry, obviously). Labwork is nearly done, but that seems to be the lower hurdle right now :D Right now, I'm trying to ...
0 votes
0 answers
132 views

Using chemnum package with Chemdraw 18.2 not working

I have seen multiple people having issues with .eps files generated from later ChemDraw versions losing their text strings, so automatic numbering packages like chemnum and chemstyle don't work. Has ...
  • 1
0 votes
0 answers
86 views

Unwanted movement of content in eps files when compiled with PDFLaTeX (PDFLaTeX, chemnum, auto-pst-pdf)

To include chemical structures in my pdf file, I export the content (from ChemDraw) as .eps file and include it via includegraphics. Additionally, I number my compounds using the chemnum package via ...
3 votes
1 answer
124 views

Labelling E and Z stereoisomers with chemnum

I am currently writing my chemistry thesis, which is significantly focused on photoisomerisation. I am using chemnum for compound number. For example, here is azobenzene photoisomerisation: As far ...
0 votes
1 answer
48 views

chemnum: label-format not affecting \cmpd definition globally?

When compiling the code \documentclass{article} \usepackage{chemnum} \begin{document} \cmpd*[label-format=\bfseries\textsuperscript,pre-label-code=\textbf{Me\textsubscript{2}L}]{Me2bdc} \resetcmpd[1]...
  • 457
1 vote
1 answer
228 views

How to use chemnum with chemdraw in xepersian?

Pay attention to the first code that represents the numbering of molecules in a scheme that is imported into LaTeX from the ".eps" file and by the command pdflatex -shell-escape file1.tex runs ...
1 vote
1 answer
126 views

\setlabel from chemnum package changes font size when used referred to in text

Good evening, I am using \setlabel from the chemnum package to rename some of my figures and make them contain references to other labelled compounds (\cmpd). \documentclass[a5paper, 11pt, ...
  • 23
1 vote
0 answers
171 views

Including both PDF and EPS files (chemnum + auto-pst-pdf) [closed]

I'm replacing strings within EPS files using the chemnum package. As I prefer to use pdflatex, auto-pst-pdf should be required as well. So, compiling mwe.tex: \documentclass{article} \usepackage[T1]{...
  • 457
3 votes
0 answers
275 views

Chemfig schemes and tikz external

Is there any way to externalise a chemfigscheme with tikz? At the moment a good fix to externalise simple chemfig pictures is to place them inside a \begin{tikzpicture}...\end{tikzpicture}...
  • 431
2 votes
1 answer
231 views

Adding suggestions for arguments to the chemnum-package

I am writing my thesis in chemistry and use the chemnum-package to number my compounds. Because it is gotten quite a few compounds now, I would like to get suggestions from texstudio, which tags for ...
  • 225
2 votes
1 answer
73 views

Alphabetic counter in chemnum

I wanted to use the alphabetic counter just for a scheme in my thesis. I get a double letter counter. \documentclass[12 pt,a4 paper,oneside,openright,titlepage]{book} \usepackage{chemnum} \...
  • 33
2 votes
1 answer
148 views

Change font of \cmpd+{} in chemnum package

I want to have my numbered compounds in bold throughout my text but I want them to have a different format when used in section headers. I tried using the command \cmpd+[format=\normalfont]{label} but ...
  • 478
4 votes
2 answers
61 views

\submaincmpdplain and \subcmpdplain not working correctly when sub-labels initiated with \initcmpd

I have come across something weird with the chemnum package. I am trying to have my compound numbers in the pdf bookmarks. So I am using \texorpdfstring{}{} within my section titles. However, the sub-...
  • 912
1 vote
0 answers
230 views

Chemnum commands not recognized

I am writing my Master thesis in Latex (Texstudio). I need to draw a lot of molecules and want to number them throughout the whole thesis. For some strange reason, the package chemnum isn't working. ...
  • 33
5 votes
1 answer
117 views

Bookmarks with Unprocessed Commands from chemnum and chemmacros

In my document, I have sections that contain chemmacros \iupac{} command with shorthands provided by chemmacros | as well as my own shorthand =. For some reason, these shorthands are printed in the ...
  • 912
2 votes
1 answer
80 views

Custom Suffixes for Sub-compounds in chemnum

I'm using chemnum to keep track of my compounds in my thesis, and there are certain instances where I have a group of compounds that differ by a single substituent. Ideally, I would like to be able to ...
  • 23
0 votes
1 answer
223 views

Changing the numbering in Chemnum

How do can you change the numbering in the chemnum package? I would like to start from 100 rather than 1 for chapter 1. Then start from 200 for chapter 2 etc.
  • 31
1 vote
0 answers
32 views

Combining mhchem and chemnum with an optional argument? [duplicate]

I am trying to combine two packages in to a new command. The problem I have come across is when trying to add an optional parameter. I want to be able to have 2 parameters with the second parameter ...
  • 31
3 votes
1 answer
411 views

How to change font size and type of chemnum labels?

I currently find the autolabels from chemnum package to be too big and ugly. I'd like to change their font size and type, how can I do this? Download the .eps for the MWE here. \documentclass[...
  • 213
3 votes
1 answer
334 views

Cross-referencing and chemnum

I have two separated documents, compiled independently and residing in two completely different folders. I heavily rely on the chemnum package to assign numbers to the many molecules I have in both ...
  • 431
0 votes
0 answers
203 views

Can't Replace TEMP labels in Chemnum

When using this .eps file exported from chemdraw (Mac OSX) I am unable to compile a scheme in TeXShop where the labels are replaced. EDIT1: Upon adding the use \usepackage{auto-pst-pdf} as well as ...
  • 213
1 vote
1 answer
380 views

replacecmpd does not let me choose my own label [duplicate]

I'm trying to make use of the \replacecmpd command of the chemnum package in LaTeX in combination with eps files produced by ChemDraw. While this works great for the automatic numbering of chemicals ...
0 votes
0 answers
296 views

Using package todonotes and auto-pst-pdf does not work

I need auto-pst-pdf so the package chemnum automatically number the chemicals I use in figueres. But I run into the problem that if I use the package todonotes at the same time my TexShop stops ...
1 vote
1 answer
796 views

Chemnum with Chemdraw 16.0.1.4 not working

I ran into the problem that in my .eps files generated via ChemDraw 16.0 do not get their tags replaced. I tried using a .eps file from 2 years ago (because back then everything worked fine) and for ...
0 votes
1 answer
253 views

Chemnum makes the temporary markers TMP disappear but doesn't replace them [duplicate]

This question follows one I posted earlier this week (here). I'm having trouble using chemnum, for replacement of temporary labels (TMP1, TMP2, TMP3) in a scheme made with chemdraw. It indeed affects ...
  • 51
4 votes
1 answer
1k views

chemnum: compounds numbers don't replace TMP at the right position in .eps file (chemdraw)

I'm really new to LaTeX, and even newer to this website, so forgive me in advance for all the mistakes I may have made. Here's my problem: I'm trying to replace the temporary labels (TMP1,...) in an ....
  • 51
1 vote
0 answers
131 views

Controlling length of longtable with chemnum schemes in it [closed]

I have been struggling with this for quite a while and I could not find any solution to it. I would like to draw a longtable with seven columns. The first row shows an overview scheme (eps file). Rows ...
  • 11