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
0answers
27 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
25 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 \...
0
votes
1answer
52 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
39 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
53 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
52 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
31 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
97 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
36 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
77 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
138 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
117 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
31 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
59 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
54 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
125 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. ...
2
votes
1answer
54 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
63 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
104 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
30 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
191 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
230 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
156 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
279 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
237 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
605 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
149 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 ...
3
votes
1answer
849 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
108 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
120 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
365 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
311 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 ...
1
vote
1answer
511 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
496 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
165 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
144 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
445 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
3k 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
166 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
203 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 ...
2
votes
1answer
772 views

No replacement of temporary labels by chemnum in a ChemDraw eps on Mac

I tried to replace the temporary labels TMP1, TMP2 and TMP3 in an .eps file made with ChemDraw v18 on Mac OSX Mojave using the chemnum package, so to get an automatic numbering of the compounds, but ...
1
vote
1answer
1k views

Missing Letters when importing .eps files from Chemdraw

I am using TexShop (Version 3.42) to write Chemistry documents. I draw chemical structures in ChemDraw and import the .eps files. Since I recently bought a new computer imported chemical structures ...
1
vote
1answer
103 views

Figure disappears if a new page is added before it

In the experimental section of my Master's thesis in chemistry, I'm using chemnum to numbering chemical coumpounds. The problem is that the figures disappears when adding a \newpage in front; see ...
5
votes
2answers
592 views

Unable to change font using LuaLaTeX with usage of chemnum package

I can't seem to change the font in LuaLaTeX using chemnum as a package. I would like to use Calibri (not Times New Roman) as the case is now. Here is my code: \documentclass[12pt]{report} \usepackage[...
3
votes
2answers
326 views

Chemnum putting wrong numbers when compound label is introduced as a variable (stored as commands)

I'm on the process of migrating to the chemnum numbering system due to its advanced features (thank you!). For my purposes I need to input external files with the information (for each compound) ...
1
vote
1answer
623 views

Replace tag inbetween parentheses in eps with psfrag/chemnum

Question Is it possible to replace the TMP1 inbetween some parentheses (or other symbols and text) with chemnum? Examples The following shows the input (eps; left), and the output (compiled file; ...
1
vote
0answers
160 views

Chemnum sublabels in section-titles not working properly [closed]

Problem I'm encountering the problem, that sublabeling \cmpd+{cmpd:main.sub} does not work properly in section-titles, since the sublables are missing in section-titles and ToC. Its also not ...
4
votes
1answer
540 views

How to define a new temporary label, with a separate counter, using chemnum?

Is there a way, using chemnum, to create a different type of TMP-label in .eps files which can then be replaced in the text with a separate label/numbering? For example, I have many chemdraws which ...
1
vote
1answer
874 views

How to change the size and type of font of \replacecmpd in chemnum 1.0

First of all I am new to asking questions here. Second, I am writing a document where I need to import an .eps file to have my scheme. My document is set to use Times New Roman at 12pt, but I want ...
3
votes
1answer
249 views

Defining own labels with chemnum 1.0

When using: \documentclass{standalone} \usepackage{graphicx,auto-pst-pdf,chemnum} \begin{document} \cmpd[counter-representation=bar]{foo} \end{document} I get "1" as label output. I would like to ...