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
22 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 ...
0
votes
1answer
75 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
27 views

Custom label for subcompounds in chemnum

Chemnum v1.3 introduced \setcmpdlabel and \setcmpdproperty to set custom labels for compounds. I would like to do the same for subcompounds, i.e. to be able to set the label of a subcompound to any ...
0
votes
0answers
26 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
0answers
74 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
vote
1answer
36 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
50 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
52 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
122 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
92 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
92 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,...
1
vote
1answer
47 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
77 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
43 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
1answer
92 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
58 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
254 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
83 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
78 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
90 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
39 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
148 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
86 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
133 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]{...
3
votes
0answers
212 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
164 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
51 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
98 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 ...
4
votes
2answers
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-...
1
vote
0answers
192 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. ...
4
votes
1answer
94 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
73 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
162 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
288 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
294 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
182 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
329 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
266 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
703 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
196 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
956 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
120 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
129 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
413 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
355 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
615 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
555 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
196 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 ...