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
1answer
23 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 ...
0
votes
1answer
34 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 ...
2
votes
1answer
36 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}{\@...
0
votes
1answer
96 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
0answers
87 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 ...
1
vote
0answers
46 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,...
0
votes
1answer
31 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, ...
3
votes
1answer
64 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
1answer
31 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 ...
0
votes
0answers
33 views

Chmnum does not subsitute tags reproducably

I am trying to implement the automatic enumeration with the chemnum package. However, it does not work properly in every environment. Testing in a small environment works perfectly fine. Copying the ...
2
votes
1answer
80 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 ...
0
votes
0answers
50 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
vote
3answers
161 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
0answers
56 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 ...
0
votes
0answers
71 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
1answer
63 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
1answer
34 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]...
1
vote
1answer
131 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
1answer
63 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, ...
1
vote
0answers
116 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]{...
4
votes
0answers
180 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}...
2
votes
1answer
135 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 ...
2
votes
1answer
41 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} \...
2
votes
1answer
77 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 ...
5
votes
2answers
57 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-...
1
vote
0answers
159 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. ...
3
votes
1answer
66 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 ...
2
votes
1answer
68 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 ...
0
votes
1answer
138 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.
1
vote
0answers
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 ...
3
votes
1answer
235 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[...
3
votes
1answer
260 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 ...
0
votes
0answers
171 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 ...
1
vote
1answer
304 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
0answers
246 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
1answer
656 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
1answer
166 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 ...
4
votes
1answer
915 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 ....
1
vote
0answers
112 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 ...
1
vote
1answer
125 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 ...
2
votes
1answer
387 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 ...
0
votes
1answer
331 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 ...
2
votes
1answer
569 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 ...
1
vote
1answer
523 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 ...
5
votes
1answer
181 views

How to put compound names in braces globally with chemnum?

My supervisor would like my compounds refrences in the form (1), (2), (3). Using numbers is easy: drop \setchemnum{counter-format=arabic} in the preamble. But I can't figure out brackets. The manual ...
2
votes
1answer
153 views

Is it possible to explicitly declare compound labels in the package chemnum?

Is there a command in the chemnum package that allows labels for a compound to be explicitly defined (for example, if I explicitly wanted a compound to be called A3 or another string), similar to the ...
2
votes
1answer
490 views

ShareLaTeX and auto-pst-pdf

In my code I'm using chemnum to number chemical compounds on ShareLaTeX. Since now I was compiling setting latex as compiler, but, for a list of reasons, I would like to switch to pdflatex. So I added ...
1
vote
1answer
5k views

Package pdftex.def Error file-pics.pdf not found

I'm using chemnum. Conversion of EPS to PDF failed after a Windows updat: ! Package pdftex.def Error: File `file-pics.pdf' not found.See the pdftex.def package documentation for explanation.Type H &...
1
vote
1answer
189 views

package chemnum incompatible with [T1]{fontenc}?

If I use the fontenc package, I do not see compound numbers in the scheme: \documentclass{report} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[crop=off]{auto-pst-pdf} \usepackage{...
2
votes
0answers
223 views

Two different counters in chemnum package

Is there any possibility to use two independent counters within the chemnum package? I would like to label (by replacing the tags in my .eps file) substances in reactions and steps in catalytic cycles ...