Questions tagged [undefined]

about undefined LaTeX document entities such as control sequences, citations and references. May be used along with the {errors} tag.

Filter by
Sorted by
Tagged with
43
votes
2answers
4k views

Teach me to debug

Ok, 35 years of programming has not prepared me to debug tex errors. It's painful. I can't create an MWE because the point is to be able to debug in place. Everything was working well, I would ...
5
votes
4answers
303 views

Macro defining macro defining global macro (similar to `\author` or `\title` fields)

I have already seen these posts Macro defining macro and Macros that define other macros, which also define other macros but unfortunately I didn't manege to figure it out how to correct my attempt to ...
4
votes
3answers
313 views

Define global commands in aux file

I'm writing a long document and, to make my life easier, I like to define quantites I use as macros so that I just have to update them in one place when they change. For me, it makes sense to define ...
4
votes
1answer
296 views

“Undefined control sequence” Regression table from Stata

I am completely new to LaTeX. I work in the TeXworks editor. I would like to create regression tables with results from Stata for my master's thesis. Using the Stata command "esttab", I created a .tex ...
4
votes
1answer
317 views

ebproof undefined control sequence \hypo

I'm trying to use the ebproof package with the following MWE: \documentclass[12pt, letterpaper]{report} \usepackage[utf8]{inputenc} \usepackage{ebproof} \begin{document} \begin{prooftree} \hypo{...
3
votes
1answer
880 views

What is wrong with my \begin{definition}?

I am completely new in LaTeX. I wrote this below code in TeXworks but it doesn't work: \documentclass{article} \usepackage{amsthm} \begin{document} \section{Introduction} In this section I introduce ...
3
votes
1answer
93 views

Can't use “if” in tikzmath - undefined control sequence “ifpgfmathfloatparseactive”

MWE (copied from TikZ manual): \documentclass{article} \usepackage{tikz} \usetikzlibrary{math} \begin{document} \begin{tikzpicture} \tikzmath{ int \x; for \k in {0,10,...,350}{ if \k&...
3
votes
1answer
363 views

Beamer problem - undefined control sequence enumerate - no enumerates used in presentation

I get the following error when trying to compile a presentation that compiled fine before: ! Undefined control sequence. <argument> .../enumerate \beameritemnestingprefix ...
3
votes
2answers
1k views

LaTeX table undefined control sequence

I know this is a very common occurence of the tables-related error, so thank you in advance for any help (I am getting very tired :-)). I have this table that for some some reason refuses to compile. ...
3
votes
2answers
164 views

A Command works fine when (defined) outside of a LaTeX3 Environment, but yields “Undefined control sequence” when (defined) inside the Environment

A Command, e.g. \Subentry, works fine when defined outside a LaTeX3 Environment, e.g. {mainentry}, but as soon as one would like to put its definition inside the (definition of the) mentioned ...
3
votes
1answer
847 views

Undefined control sequence. \luatexversion with animate package

I am using pdflatex on a fresh (and current) MikTex 2.9 install with the following MWE: \documentclass{article} \usepackage{animate} \begin{document} Test \end{document} Pdflatex throws the error: ...
3
votes
2answers
158 views

Undefined Control Sequence for my 0-norm

I'm new to latex and am using some stuff from a document my professor sent out. I'm trying to define something in a paper I'm writing. Here is what I have: \documentclass[11pt]{amsart} \usepackage{...
3
votes
1answer
464 views

Undefined Control Sequence despite \newcommand using tikz package [duplicate]

I want to create a new command to do a certain diagram using tikz. The code looks like this: \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{matrix} \newcommand{\D}[4]{ \begin{...
3
votes
0answers
139 views

LaTeX : undefined control sequence while using outline package [closed]

I am getting this error in LaTeX while using the outline package. line 7 Undefined control sequence. \item line 7: Something's wrong--perhaps a missing \item. \item line 7: Something's wrong--...
3
votes
0answers
65 views

Embedding an eps image into LaTeX

I'm having trouble embedding an eps image into a LaTeX document. I tried this with an example image, and it works fine, so I know it has to do with the file path or something? I'm getting an error ...
2
votes
1answer
898 views

Package siunitx gives undefined control sequence

So, here is my minimal working example; \documentclass{article} \usepackage{siunitx} \begin{document} \title{The mysterious case of the disappearing units.} \author{Touchstone} \...
2
votes
3answers
2k views

Getting error “Undefined control sequence” for \acmBookTitle

I'm using Overleaf and I used the ACM template provided for submission to a conference. It's my first time with LaTeX and with OverLeaf. I'm getting an error "Undefined control sequence" for the ...
2
votes
1answer
720 views

undefined control sequence. \bstctlcite

I just want to change how the URL is displayed in IEEEtran style. Therefore I added the following to my bibliography file Literaturverzeichnis.bib: @IEEEtranBSTCTL{IEEEexample:BSTcontrol, ...
2
votes
1answer
1k views

Undefined control sequence in listings

I'm trying to use the listings package to format my code to look like Java code. This is MWE I try to use: \documentclass[a4paper,11pt]{report} \usepackage[utf8]{inputenc} % utf8 \usepackage[T1]{...
2
votes
1answer
136 views

How to check if cite-command is empty?

I would like to add automatically the information about the translator of a(n ancient) book, if there is no translator, it should be me as translator. How can I check whether the bibtex-entry has ...
2
votes
1answer
31 views

Showidx gives “Undefined control sequence” error

The following MWE with showidx and imakeidx: \documentclass{book} \usepackage{showidx} \usepackage{imakeidx} \makeindex \begin{document} Test\index{xxxx} \printindex \end{document} generates the ...
2
votes
1answer
48 views

PGF Plots Ternary Diagram - Undefined control sequence

I am going through the PGFPLOTS manual and copied the first code example from Section 5.13 Ternary Diagrams which I have placed into a document on overleaf.com. The code is as follows: \documentclass{...
2
votes
1answer
93 views

Undefined citations with BibTeX file exported from Mendeley

I use biblatex with biber backend to cite BibTeX entries exported from Mendeley Desktop. Every time I try to render a citation with \cite or \printbibliography or anything else, I get warnings like ...
2
votes
1answer
376 views

Undefined control sequence in komacv.cls

I'm quite new to this forum, please be nice to me. I'm using Texlive on Ubuntu. I'm trying to write a CV by using LaTeX, so I downloaded the komacv class files from CTAN and followed the instructions ...
2
votes
1answer
2k views

Undefined control sequence. <recently read> \INPUT

Code: \documentclass{article} \usepackage{algorithm} \usepackage{algorithmic} \begin{document} \begin{algorithm}[t] \caption{Dolphinn: Preprocessing (data structure)} \label{DolphinnPrep} ...
2
votes
1answer
48 views

Why does `snotez` throw an error when trying to start a chapter?

I use snotez to write margin notes and it works very well unless I use I use the command \chapter. If I used it, the editor (TeXStudio) throws and error by pointing to the end of document lineand it ...
2
votes
1answer
451 views

chemfig package - Undefined control sequence \setchemfig

I was trying to produce a reaction scheme with chemfig, but when I use the \setchemfig command I get the error message: Undefined control sequence \setchemfig Here's my code: \documentclass[12pt,...
2
votes
1answer
473 views

Undefined control sequence with table xcolor package

I'm trying to colour some cells in a table. I've read that I need to use the package [table]xcolor, but my file is not compiling when I insert that package, I get an undefined control sequence type of ...
2
votes
1answer
886 views

LaTeX Warning: Citation 'aglarov02' on page 3 undefined on input line 9

I'm new to latex and I'm using Overleaf. I encountered a warning during the introduction of my first citation. I failed to find a solution to my problem by reading tutorials and forums, although I ...
2
votes
1answer
870 views

Undefined Control Sequence. \citestyle Error MAC [closed]

1st Image: This was an attempt to use a test of the code. Notice, it also claims that \begin{document} is missing. 2nd Image: The template is sample-siggraph.tex, located on Siggraph's website > ...
1
vote
1answer
122 views

Writing report in Winedt: Forced to use “Erase Output Files” after each mistake

I'm writing my thesis using MiKTeX and WinEdt 9 for Windows. I write the different chapters individually, and then I have a "masterfille" with the documentclass "report" where I use the command "input"...
1
vote
3answers
635 views

undefined control sequence with empheq package

i am new in this community and tex. I am trying to add some equations in my tex file with empheq package, I assume something is going on with the installation of the package, I am using kile KDE ...
1
vote
1answer
531 views

Why is `gathered` undefined?

Using the gathered environment causes my ide (TexStudio) to report an error Error: Undefined control sequence. \begin{gathered} even though I'm using the package mathtools (I also tried it with ...
1
vote
1answer
535 views

\includegraphics undefined in XeLaTeX, but fine in LaTeX in TexLive 2017

I recently upgraded from TexLive 2016 to TexLive 2017. After the upgrade, \includegraphics now throws an "Undefined control sequence" error—but only if I typeset with XeLaTeX... It works without ...
1
vote
1answer
511 views

! Undefined control sequence. \[ p(u)= \sum_{v\epsilonN

I used the following statement: \[ p(u)= \sum_{v\epsilonN(u)} W(u,v) \] But it shows the error: ! Undefined control sequence. \[ p(u)= \sum_{v\epsilonN
1
vote
1answer
1k views

Moderncv - undefined control sequence in minimal document

Attempting to compile the following minimal working example fails on my TeX installation. \documentclass{moderncv} %\moderncvstyle{banking} \begin{document} Foo \end{document} The log file ...
1
vote
1answer
3k views

Undefined control sequence. \end{frame}

I'm using beamer and TexStudio. I am trying to pin down the cause of the error, but I just failed. The problem seems to be quite localized, as other posts with the same problem indicates. The error ...
1
vote
2answers
22 views

Randomly undefined citations, depending on order in .bib file

I'm using BibTex to build my bibliography. I have a lot of references and most of them work fine, but for some reason LaTeX claims some of them are undefined. Here's a part of my .bib file: @misc{...
1
vote
1answer
109 views

Thmtools declaretheoremstyle usage leads to undefined error

When using thmtools to define my own theorem style as follows: \documentclass{book} \usepackage{amsthm} \usepackage{mdframed} \usepackage{thmtools} \definecolor{thmBgColor}{RGB}{250,250,250} \...
1
vote
1answer
1k views

Getting undefined control sequence on anything between “$”

Ive worked with Overleaf before and this is the first time ive come accross this error. Ive added as many packages as i could think of. but everytime i try to use a math symbol it throws this error. ...
1
vote
1answer
219 views

Undefined control sequence \EnableCrossrefs

I'm having some trouble with this. I'm quite new to LaTeX, and I'm just trying to recreate a word document in LaTeX. Here's the full error: E: c:/texlive/2016/texmf-dist/tex/latex/colordoc/colordoc....
1
vote
2answers
298 views

Struggling with getting equations to work

I've had a hard look for answers to my problem but haven't managed to find any. This is driving me nuts. \underline{Copper:} \[3.142\times \(2.48\times \10^-^3)^\frac{2}{4}=4.83\times \10^-^6m^2\]...
1
vote
1answer
267 views

clearpage with appendices

I am compiling my dissertation chapters. When I wrote a chapter in a standalone Latex file, the file did compile without any error. However, when I copied the text body from the standalone to an "...
1
vote
1answer
96 views

Printindex wihin KOMA script class without declare deprecated commands like \bf

I'm using the document class scrartcl and want to have an index. This worked fine in the previous years using this source: \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}...
1
vote
1answer
46 views

Including xifthen package breaks macro expansion in header

In the following MWE, I build a 'database' which I then query later in body text and in headers. It works fine until I load the xifthen package. This is not used in the MWE, but I do use the \isempty{...
1
vote
1answer
850 views

Classic thesis “Undefined control sequence. […\relax }}{12}{figure.caption.8}]” error when generating list of figures

I'm using the classic thesis template and I get the following errors on generation of the List of Figures: /home/report/report.lof:13: Undefined control sequence. [...\relax }}{12}{figure.caption.8}]...
1
vote
1answer
502 views

Configuring LaTeXila to build with PdfLaTex and Biber [duplicate]

How do I go about setting up LaTeXila to be able to run Biber, and how do I set up the PdfLaTeX/Biber/PdfLaTeX(x2)/View Pdf cycle in LaTeXila? I tried to set up LaTeXila adapting the solutions I ...
1
vote
1answer
2k views

undefined control sequence in a table

\documentclass[a4paper,12pt,twoside]{book} \usepackage{etex} \usepackage[left=2.50cm,right=2.50cm,top=2.50cm,bottom=2.75cm]{geometry} \usepackage{amsmath,amssymb,amscd,amsbsy,array,color,epsfig} \...
1
vote
0answers
25 views

No counter 'chapter' defined. \begin{document} [duplicate]

Upon trying to insert Python code in my LateX document I ran into corresponding error message. Code, which recreates the error message and contains only the most vital parts of my documents: \...
1
vote
0answers
32 views

How can I fix the problem: !undefined control sequence with \begin{thebibliography}{100}

The detailed error information !undefined control sequence \@markboth -> \ttl@savemark \@gobbletwo 1.1 \begin{thebibliography}{100}