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
0
votes
0answers
13 views

Undefined Citation natbib / Failing to print References

I am using the natbib package to manage my references for my thesis. Unfortunately the citations are undefined and it prints "?" in the pdf rather than the actual Citation from my bib file. Neither ...
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{...
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 ...
0
votes
1answer
28 views

Undefined control sequence error while using \tagaddtext

\begin{equation}\begin{split} H(m_X) &= \sqrt{\frac{8\pi G}{3} \rho(x=1)}\\ %removed big before rho from here from here. \rho(x=1) &= \epsilon / c^2 &= \frac{g_*\pi^2}{30}\frac{K_b^4T_m^...
2
votes
1answer
30 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 ...
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: \...
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]{...
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}
3
votes
2answers
150 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{...
0
votes
1answer
274 views

Undefined control sequence \maketitle apa6 journal

I am making a journal with apa6 but when I make all the preamble, and put the make a \title command the editor says undefined control sequence line 11 (which is \maketitle). My code: \...
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 ...
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&...
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{...
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 ...
0
votes
1answer
256 views

Undefined control sequence in edef (with polynom)

For some reason, this code: \documentclass{standalone} \usepackage{polynom} \newcommand{\calcRatFunc}[1]{ \edef\tmp{\polyfactorize{#1}} % The only difference } \begin{document} \...
2
votes
1answer
92 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 ...
3
votes
1answer
356 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
0answers
136 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--...
0
votes
1answer
584 views

Latex cannot find my .bib file

I am using Texmaker in combination with Miktex and I am writing an article, but Latex can't find my .bib file. The .bib file is located in the same directory as my article latex file. I made .bib ...
0
votes
1answer
318 views

\addbibresource yields undefined control sequence with Beamer

I am making a handout with beamer, and I get the error message undefined control sequence when I add the \addbibresource command to the preamble. This seems to happen only when document class is ...
0
votes
1answer
551 views

Inserting bibliography .bbl directly into .tex file causes Undefined control sequence

I'm trying to submit a paper online, and it causes errors BibTex since the online compiler only runs a single pass of pdfLaTeX. The journal recommends including the .bbl directly into the .tex file, ...
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 ...
2
votes
1answer
448 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,...
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 ...
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 "...
0
votes
0answers
37 views

\oddfoot error message

I began to receive the following error message, which I do not recognise or understand, nor can I intuit how to begin debugging it, so I'm asking for pointers. ./MPD-M5-immersion.tex:102: Undefined ...
1
vote
0answers
1k views

Undefined old font command \sc in bibliography [duplicate]

got an issue with latex in the bibliography. Im using this template I got from my university (yeah its old and stuff but thats not the point, we have to use it no matter what...). Template: %% ------...
0
votes
0answers
52 views

Undefined sequence error [duplicate]

I installed winedit 3 and miktex and whenever I run the program there is undefined control sequence <argument> \g__prg_map_int" error. What should I do? the line causing the error is: \...
1
vote
1answer
108 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
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
526 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 ...
0
votes
0answers
60 views

\newcommand causes undefined control sequence in section [duplicate]

I am currently writing my CV using a modified version of a LaTeX template from here: http://deesaster.org/blog/index.php?/archives/1789 When I list my programming experiences, I formatted the CSharp ...
2
votes
1answer
716 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, ...
4
votes
1answer
295 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 ...
2
votes
1answer
896 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} \...
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. ...
0
votes
3answers
536 views

Mhchem errors in LyX: kernel/command not defined and undefined control sequence

I'm using MiKTeX (Console) 2.9.6673 on a Windows 10 Pro. Consider the following minimal-not-working-example. \documentclass{article} \usepackage{mhchem} \begin{document} \ce{H2O} \end{document} ...
0
votes
1answer
320 views

Undefined Control Sequence using align*

I'm trying to create a pdf of formulas for a class I'm taking. I have many code snippets as follows, one of which I've presented as a subset of my document below: \documentclass{article} \usepackage[...
0
votes
0answers
712 views

Figure environment undefined

I am trying to use \begin{figure} \end{figure} however I get the error that it is undefined. I am using \usepackage{float, graphicx} in the beginning in the doc. It is important to mention that i am ...
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"...
0
votes
1answer
363 views

Package xcolor Error: Undefined color `gold'

When I compile this document using pdflatex, my chapter's (and sections and subsections, too) titles are, respectively, blue (here defined as 'azzurro') and gold. I would like that all titles and ...
1
vote
3answers
633 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 ...
0
votes
1answer
2k views

Get citation undefined just in Texmaker

I need to use the predefined and created Latex project. When I run the project in Texmaker I got the warning Citation on page 1 undefined for the new reference that I added and the reference is not ...
4
votes
1answer
316 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{...
0
votes
1answer
295 views

Problem with include command and bibtex in beamer [Metropolis theme]

I have a problem with references in beamer (metropolis theme) and the use of include commands. Indeed, my presentation consists of several files. Each file is included via the include command. The ...
0
votes
0answers
173 views

sharelatex undefined control sequence when compiling normal mode but not in draft [duplicate]

I get this error when I compile on sharelatex, but the strange thing is that it appears only when I'm compiling in normal mode and instead it works fluently when I'm compiling in draft mode (with ...
0
votes
0answers
223 views

Conversion to PDF Fails

While running "pdflatex refman", I see some errors due to one of the text file. The error that I get on console is: ! Package inputenc Error: Keyboard character used is undefined (inputenc) ...
1
vote
0answers
337 views

LaTeX Error: Environment Checklist undefined

I am trying to make a checklist using the typed-checklist package. When I compile the .tex file, latex gives me the error: "Environment Checklist undefined". I get this error when compiling the file ...
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{...