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
1 vote
0 answers
35 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 '...
user avatar
  • 11
1 vote
0 answers
97 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 ...
user avatar
1 vote
1 answer
30 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 ...
user avatar
  • 17.3k
0 votes
1 answer
79 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 ...
user avatar
  • 17.3k
0 votes
0 answers
66 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 ...
user avatar
  • 11
0 votes
0 answers
33 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 ...
user avatar
0 votes
0 answers
107 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 ...
user avatar
  • 1
1 vote
1 answer
41 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 ...
user avatar
  • 13
0 votes
1 answer
109 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 ...
user avatar
  • 17.3k
2 votes
1 answer
56 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}{\@...
user avatar
  • 17.3k
0 votes
1 answer
160 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 ...
user avatar
1 vote
0 answers
99 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 ...
user avatar
  • 31
2 votes
0 answers
162 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,...
user avatar
  • 31
1 vote
1 answer
76 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, ...
user avatar
  • 21
3 votes
1 answer
120 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 ...
user avatar
2 votes
1 answer
66 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 ...
user avatar
2 votes
1 answer
111 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 ...
user avatar
  • 397
0 votes
0 answers
77 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 \...
user avatar
  • 1
1 vote
3 answers
396 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 ...
user avatar
0 votes
0 answers
116 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 ...
user avatar
  • 1
0 votes
0 answers
83 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 ...
user avatar
3 votes
1 answer
110 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 ...
user avatar
0 votes
1 answer
46 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]...
user avatar
  • 397
1 vote
1 answer
198 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 ...
user avatar
1 vote
1 answer
105 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, ...
user avatar
  • 23
1 vote
0 answers
147 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]{...
user avatar
  • 397
3 votes
0 answers
244 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}...
user avatar
  • 411
2 votes
1 answer
191 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 ...
user avatar
  • 225
2 votes
1 answer
62 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} \...
user avatar
  • 33
2 votes
1 answer
122 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 ...
user avatar
  • 458
4 votes
2 answers
59 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-...
user avatar
  • 912
1 vote
0 answers
218 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. ...
user avatar
  • 33
5 votes
1 answer
111 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 ...
user avatar
  • 912
2 votes
1 answer
78 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 ...
user avatar
  • 23
0 votes
1 answer
193 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.
user avatar
  • 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 ...
user avatar
  • 31
3 votes
1 answer
344 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[...
user avatar
  • 213
3 votes
1 answer
310 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 ...
user avatar
  • 411
0 votes
0 answers
197 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 ...
user avatar
  • 213
1 vote
1 answer
354 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 ...
user avatar
0 votes
0 answers
286 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 ...
user avatar
1 vote
1 answer
746 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 ...
user avatar
0 votes
1 answer
232 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 ...
user avatar
  • 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 ....
user avatar
  • 51
1 vote
0 answers
130 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 ...
user avatar
  • 11
1 vote
1 answer
141 views

How can I show my label/id when using \cmpd from the chemnum package?

I am using the chemnum package of Clemens Niederberger to label my chemical compounds. Now I have quite a large amount of compounds and sometimes it would be helpful to see the label in the document ...
user avatar
  • 127
2 votes
1 answer
435 views

Can chemnum replace TMP-Tags in any eps file, e.g. Origin? If so, how?

I'm using Origin and TeXStudio on Windows 10 to plot several graphs for a Lab report. It would be extremely helpful, if chemnum could replace compounds' TMP-Tags in Origin's exported eps-files (here ...
user avatar
  • 21
0 votes
1 answer
391 views

sublimetext 2, auto-pst-pdf, enable shell escape, chemnum

I'm quite new to Latex (and Sublime Text 2) and currently writing my master thesis with them. I need to draw a lot of molecules and want to number them throughout the whole thesis. No, problem, used ...
user avatar
2 votes
1 answer
673 views

Chemdraw 16 for Mac OSX not working with psfrag and label replacing/autonumbering

(Formerly: Auto-pst-pdf, LuaLaTeX, and chemnum broken in TexLive 2016) I was testing some chemnum stuff now that I've updated to TexLive (TL) 2016. And Im getting and error where the auto-pst-pdf ...
user avatar
1 vote
1 answer
641 views

Chemistry: Experimental page with Chemfig, tikz, chemnum

I'm currently writing my Master Thesis in Organic chemistry. Since this is uncomfortable in word having many graphics and numbering I figured Latex would be best. Yesterday I discovered chemfig and ...
user avatar