Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [undefined]

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

0
votes
1answer
32 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
42 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
55 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
38 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
292 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 ...
0
votes
0answers
20 views

! Underfined control sequence.\backrefalt …to.\or Citado na página (…)

I'm really confused why this is happening in my file. This error have shown up right before I have finished my paper. And I have no clue of what is going on.
0
votes
1answer
170 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
41 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
176 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
70 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
305 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
211 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
336 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, ...
2
votes
1answer
352 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
52 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
170 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
31 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
84 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
428 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
49 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 ...
1
vote
1answer
517 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
246 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
802 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
861 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
1answer
268 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
3answers
424 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
0answers
605 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 ...
0
votes
1answer
100 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
2answers
1k 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
233 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 ...
4
votes
3answers
262 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 ...
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
3answers
555 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
1k 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 ...
3
votes
1answer
267 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
249 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 ...
1
vote
1answer
89 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}...
0
votes
0answers
120 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
154 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
296 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
44 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{...
3
votes
1answer
653 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 ...
-1
votes
2answers
301 views

Undefined control sequence with nested fraction [closed]

I got a block like this \hspace*{\fill} \text {$O(R\mid \vec{x} ,\vec{q} $ = $\cfrac{P(R=1\mid \vec{x},\vec{q})}{P(R=0\mid \vec{x},\vec{q})}$ = $\cfrag{\cfrag{P(R=1\mid \vec{q})P(\vec{x} \...
0
votes
1answer
830 views

Undefined control sequence. missing \begin document

Can someone help me on this error. As I am new to latex. Throwing an error message at \setlength{\cftbeforelostitleskip}{-64.0truept} % Dissertation style file by John Shumway. % Attempts to meet ...
1
vote
0answers
132 views

undefined control sequence problem \listoffigures and \listoftables

I am using the LaTeX template given in this link: http://www.tandfonline.com/action/authorSubmission?show=instructions&journalCode=rquf20#Formatting_and_templates This journal requires a list of ...
0
votes
1answer
928 views

Undefined control sequence error when using biblatex

I am getting the common "undefined control sequence" error and I have been searching its cause for hours now. My Tex-Header reads like this : %_Allgemeine ...
0
votes
1answer
707 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}]...
0
votes
1answer
771 views

LaTeX error file and Undefined Control Sequence

Hello all im fairly new to LaTeX so any help would be appreciated. I have my code below and for some reason, I cannot get it to run due to many errors (mostly due to error files and undefined control ...