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
1 answer
29 views

"Undefined Control Sequence" but compiles fine? Using custom class

I am implementing a custom document class for my PhD dissertation. In it, I have clearly defined certain commands, e.g. \maketitle (renewed command) and \makeapproval. When I try to compile my main ...
user avatar
0 votes
1 answer
40 views

arxiv uploading problem: Undefined control sequence. <argument> \@currentauthors

No problem appear when I use local pdflatex to compile. Here's the log output by arxiv. [verbose]: Creating arXiv submission AutoTeX object [verbose]: *** Using TeX Live 2020 *** [verbose]: Calling ...
user avatar
  • 1
2 votes
1 answer
34 views

listings Undefined control sequence \@dottedtocline #1#2#3->\scr@dottedtocline

I'm trying to use the 'listings' package for my project work in LaTex. This is my stripped down code for illustration: \documentclass[a4paper, 12pt, BCOR5mm, captions=tableheading, pointlessnumbers, ...
user avatar
  • 23
0 votes
1 answer
32 views

An undefined control sequence is shown [closed]

An undefined control sequence is shown in the line. \centerline{\LARGE{$\bm{\mathfrak{ Dedicated \ to}}$}}
user avatar
1 vote
1 answer
25 views

\’e to represent é causing error (utf8x and undefined control sequence error)

I am writing and using \'e to represent é as in Lévy. This method is giving me a few error messages (including the utf8x Error) using overleaf as I have shown below. Is there perhaps a package that ...
user avatar
  • 182
0 votes
1 answer
90 views

\authornotemark "Undefined control sequence."

After downloading this acmart.cls file, and the sample-sigconf.tex from the ACM Primary Article Template I am getting the following error: /usr/share/texlive/texmf- dist/tex/latex/upquote/upquote.sty) ...
user avatar
  • 195
0 votes
0 answers
45 views

showexpl: latex gives an error (undefined control sequence) when using showexpl (LTXexample environment) in files with external .sty files

I am quite new to LaTeX and recently started learning tikz. I use 'showexpl' and 'listings' package to generate examples of tikz codes and their outputs in overleaf. Almost all of my files preamble ...
user avatar
0 votes
1 answer
142 views

multirow undefined control sequence

I am having some problems using multirow. I'm not sure if it's due to the qcr font as I'm just learning LaTeX. Could someone help me identify the problem? I have created a simple document to reproduce ...
user avatar
  • 119
2 votes
1 answer
438 views

'Undefined control sequence' error when writing \newpage

In the preamble of my thesis, I get the following error, when I write \newpage: Undefined control sequence. LaTex Error: File ´' not found. Note that I have 2 x \newpage in the code below, but it's ...
user avatar
0 votes
0 answers
28 views

Tikz in caption leads to error even with \protect

According to Adding tikz figure in caption it suffices to add protect to make my program compile. Indeed, it compiles after adding the command, but TeX still throws an error message that the control ...
user avatar
  • 83
0 votes
1 answer
120 views

undefined control sequence in an included file

I am using TeXstudio to handle a long document organized around a main document and a series of included chapters that are separate .tex files (of course the chapter files begin with \chapter and do ...
user avatar
0 votes
1 answer
48 views

Undefined control sequence \ngtr [duplicate]

I have \ngtr in some math mode content, and though the VS Code extension LaTeX Workshop's preview-equation-on-hover functionality displays it correctly, I get an undefined control sequence error when ...
user avatar
0 votes
0 answers
197 views

Undefined control sequence error - chapter

My file is compiling, but I get an error at every section start. For example, I start a new chapter: \chapter{ENERGY MARKET FORECAST} \label{chap:demand} \section{World energy outlook} I get the ...
user avatar
0 votes
1 answer
22 views

Pdflatex: using a hand made style file gives surprising errors while with the commands in the root file there is none. What is wrong?

I tried to analyse errors in a $^{+/-}$ construct which happended in my book: The minus were all shown as asteriks. Therefore I prepared a minimal example: \documentclass[11pt,a4paper]{scrbook} %\...
user avatar
  • 310
0 votes
1 answer
52 views

Undefined control sequence in equation caption

\begin{equation} \centering \Large \textbf{$\lambda_{c} = \frac{18.64}{B \times E^{2} }$ } \label{eq1:Critical wavelength} \end{equation} \begin{center} \captionof {equation}{where B is the ...
user avatar
0 votes
1 answer
48 views

Two lilypond commands in LaTeX

With previous version of LaTeX (Slackware-14.2 + lilypond-2.18.2) I could add many lilypondfiles in one line. With lilypond-2.22.1 and texlive-2021.21048 is not working. I suspect lilypond-book is the ...
user avatar
  • 1
1 vote
1 answer
143 views

Undefined control sequence error in a table, cannot solve it, any help?

Latex compile my code (I use overleaf) which looks ok but I am getting error message that the head is not defined and I need to use "\hbox" (not sure what it is) for the following code I ...
user avatar
0 votes
0 answers
23 views

Problem with xymatrix figure__> error: unknown float option

I have this code (xy and float packages loaded, (do I really need float?)), editor: texmaker: \begin{figure}[h,scale=0.9] \tightdisplaymath \[ \xymatrix{ *+[F]{\text{Adina (x)}} \ar@/^2pc/[r]^{r_{...
user avatar
0 votes
0 answers
70 views

Help, cant find 'undefined control sequence' error in tex script

Help, cant find 'undefined control sequence' error in tex script. I run my script frequently and thought I just added sentence and it now cant typeset the script, with error 'undefined control ...
user avatar
0 votes
0 answers
36 views

Texstudio returns error

I try to run this beamer in Texstudio. But I encounter, "Undefined control sequence. \end{frame}." The beamer compiles in overleaf but not in Texstudio. \documentclass{beamer} \usepackage{...
user avatar
0 votes
1 answer
94 views

Thesis Template ambiguous Error

I will use the below template for my thesis, but the template has an error that I couldn't fix, the error is titled "Undefined control sequence." I am using pdfLatex complier. <argument&...
user avatar
  • 85
1 vote
1 answer
419 views

Environment figure undefined

I am using latex to write a letter, but when I tried to insert a picture into the letter, latex it said that the figure environment undefined. I have already imported corresponding packages: \...
user avatar
0 votes
0 answers
267 views

\maketitle Undefined control sequence on overleaf

I'm have a problem with \maketitle on overleaf, the code works fine and produces the required output, but stil a error and i wanna find out why does it happen. So the problem is: Thats the latex code:...
user avatar
0 votes
1 answer
567 views

Undefined control sequence in sections and subsections

I'm new to LaTex and writing my first paper. For some reason a lot of my sections and subsections have the following error: My code is quite long so I'm not sure which lines to share other than this ...
user avatar
  • 181
1 vote
1 answer
236 views

Why I can't use \unit command in siunitx?

Most of the time I work with siunitx package I need to specify only units like: "give the answer in psia". For achieving this every time I try with \unit{\watt} (W for example) but it ...
user avatar
2 votes
1 answer
68 views

\SubMatrix undefined in Overleaf

I am interested in doing something similar to the situation outlined in Sub-matrices within a matrix, but am unable to achieve the given output on Overleaf. Taking the following MWE from the linked ...
user avatar
0 votes
0 answers
83 views

Quantikz \ctrlbundle causing the document not to compile?

I'm trying to compile the following code: \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{quantikz} \begin{document} \begin{quantikz} \qwbundle[alternate]{} & \...
user avatar
2 votes
1 answer
87 views

How to suppress undefined references in exercise answers when using answerdelayed option?

I'm using the exercise package to write exercises and their corresponding answers. Each chapter contains a list of exercises at the end of the chapter, and I want all answers of all exercises are to ...
user avatar
0 votes
1 answer
112 views

Functions on Latex

Is there a way to write functions on latex? For example... def some_function{input}: \command{input} I've been thinking of using newcommand but I want to be able to use a variable for the input so ...
user avatar
0 votes
1 answer
64 views

Hyperref causing errors with chapter headings in memoir list of's

I am trying to adapt some code so that I can have chapter headings in my list of figures, tables, equations and reaction schemes using the memoir document class. I asked a question yesterday and ...
user avatar
0 votes
1 answer
57 views

Memoir multiple table of contents: undefined error

This is my first post and I am a relatively new user so I hope my question is not too trivial, I searched to see if this problem had been solved elsewhere but could not find anything. I am beginning ...
user avatar
1 vote
1 answer
185 views

\tableofcontents gives undefined control sequence error

Forum, I am working in a LaTeX template on overleaf to write my thesis in. Usually, generating a table of contents is simply a matter of \tableofcontents somewhere in the document. However, when I try ...
user avatar
0 votes
0 answers
143 views

Undefined control sequence, extra \fi and overfull \hbox errors

I am using the code below to add the list of symbols to my document. I am getting the following errors for the rows where the function \ifthenelse is used: Undefined control sequence for all of them ...
user avatar
  • 11
5 votes
1 answer
843 views

\unit macro not working on the siunitx package

I am trying to make use of the \unit macro that is described on page 6 of the siunitx user manual and the compiler tells me that I have an undefined control sequence. \unit{\kilo\gram\metre\per\square\...
user avatar
2 votes
1 answer
207 views

Command already defined but also undefined

I used \input{settings.tex} to inlcude my settings file which contains \newcommand{\ende}{20:00}. If I try to build the project I get this error: Command \ende already defined. If I try to use \...
user avatar
0 votes
1 answer
194 views

Error in kaobook style - undefined control sequence [closed]

I get the error message ! Undefined control sequence. <argument> \DeclareTOCStyleEntries [indent=0em,numwidth=2em,dynnumwidth=yes]... l.843 } when trying to ...
user avatar
0 votes
0 answers
31 views

Storing data and later recalling it -simple way

I need to place the text repeatedly so I want to store it and reuse it. However, I could not define the macro for it. Any guidance please. \documentclass{article} \usepackage[margin=1in]{geometry} \...
user avatar
0 votes
0 answers
33 views

I get the following error with new references: Package natbib Warning: Citation `dayalVariationEnglishFree2009' on page 2 unde fined on input line 65

I don't know why but natbib doesn't seem to be working. When I compile older .txt, it gives me errors. I have one file.txt which can compile the bibliography I had (which I used as a base), but the ...
user avatar
3 votes
1 answer
216 views

Extending package: undefined control sequence

I'm trying to add custom blocks in addition to the ones already defined by scratch3 I made a top-level file customblocks.sty that currently contains \ProvidesPackage{customblocks} \RequirePackage{...
user avatar
3 votes
1 answer
346 views

\.... already defined. I can't found my mistake

I can't find my mistake. That TeX file has been working for about half a year. But today it does not work. Where is my mistake? \documentclass{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{...
user avatar
1 vote
0 answers
58 views

Biber destroys my document? [closed]

I am finishing right now my senior thesis in Latex. Everything went fine when I did use natbib and BibTex. Then I decided to switch to BibLatex with Biber. Unfortunately, my compiler doesn't deliver ...
user avatar
  • 11
2 votes
1 answer
195 views

make4ht fails with "LaTeX Error: Missing \begin{document} in `'"

I am using BasicTeX on macOS Catalina. Here are my LaTeX version details. $ tex --version TeX 3.14159265 (TeX Live 2020) kpathsea version 6.3.2 Copyright 2020 D.E. Knuth. There is NO warranty. ...
user avatar
  • 2,917
0 votes
1 answer
141 views

Undefined control sequence \begin{math} [closed]

I have been working to make my code working in LaTeX but I can't find any fix. I have replaced \textit with \itshape as I have read in another topic that this could trigger the error. It's still not ...
user avatar
2 votes
1 answer
67 views

Undefined control sequence \thetkz

I'm using pdfLaTeX in MikTeX 2.9. I'm trying to create the hypercube in NamedGraphs.pdf (See https://tex.stackexchange.com/a/129972/200958): \documentclass{beamer} \usepackage{tkz-berge} \begin{...
user avatar
0 votes
0 answers
141 views

MiKTeX - Undefined References and Citations but PDF renders

I invariably get warnings for undefined references/citations when running even the simplest pieces of code. I am running TeXworks (downloaded along with MiKTeX) on a Windows machine: MiKTeX-pdfTeX 4.3 ...
user avatar
1 vote
2 answers
547 views

Undefined control sequence.(Journal-Template)

I'm trying to use the following journal's Template and I got errors "Undefined control sequence" for any added section. They have included two Tex files and none of them worked for me. Some ...
user avatar
  • 827
0 votes
0 answers
74 views

Undefined control seqeunece.\ documentclass

may u help me with this error When I write this simple command in texstudio?when I type \ documnet class the error will apppear but when I typ doc.. and then the software propose default the phrase \...
user avatar
  • 1
0 votes
0 answers
129 views

in WIndows 10 Rmarkdown getting ! Undefined control sequence. l.115 \xdef\@fontenc@load@list{\@fontenc@load@list

getting this error in R console when trying to render with knitr a .rmd file. Any suggestions? This is running on R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: ...
user avatar
1 vote
1 answer
138 views

pdfLaTeX works fine; pdfLaTeX+MakeIndex+BibTeX returns error. There is nothing in document but \documentclass, \begin and \end document and a word

I am using Texworks Version 0.6.2 (MiKTeX 2.9.6350 64-bit). Originally I had a bibliography but I have taken it out and the error is the same. I am running a file containing: \documentclass{article} \...
user avatar
2 votes
1 answer
418 views

Undefined control sequence \tabhead

I am using a Master/Doctoral Thesis from https://www.latextemplates.com. I have got a very simpel problem which is undefined control sequence \tabhead! Can anybody help me to overcome that? I will be ...
user avatar