Questions tagged [undefined]
about undefined LaTeX document entities such as control sequences, citations and references. May be used along with the {errors} tag.
226
questions
1
vote
1
answer
55
views
How do I fix undefined control sequence for \maketitle?
Here is my code, the ucscthesisbs document class is a template from my professor and has not caused any issues in the past, I'm not sure how to include it in this question because it is too long to ...
3
votes
3
answers
92
views
"Undefined control sequence" in option of own package, but not within the document
It's my first question, sorry if there are any mistakes!
I'm trying to create a package with the clsguide. In the package, I define an own command and I want to use this to set an option (storing a ...
0
votes
1
answer
51
views
Environment prop undefined and also already defined LNCS template
Trying to put my paper into LNCS format and I'm having a weird error if I comment out the line \newtheorem{prop}[theorem]{Proposition} it tells me prop is undefined but if I uncomment the line it ...
0
votes
1
answer
51
views
l@addto@macro undefined
Do I need a special package to use l@addto@macro? In the MWE below, g@addto@macro works, but l@addto@macro gives an "Undefined control sequence" error.
\documentclass{article}
\begin{...
0
votes
1
answer
36
views
longfbox and moderncv
In a moderncv document, I get "Undefined control sequence" when I use longfbox:
\documentclass{moderncv}
\usepackage{longfbox}
\name{First}{Last}
\begin{document}
Lorem
\end{document}
...
5
votes
1
answer
100
views
Problem with Tikzpicture and colors in a foreach loop
I am following on one of my previous questions regarding the use of foreach loop in tikzpicture:
Here is a simple description with a code that works but with all markers colored in red:
\documentclass{...
0
votes
0
answers
28
views
Table of contents giving "Undefined control sequence" error
The following code
\documentclass[a4paper,11pt, pdftex]{report}
% ==================================================================================
% Configuración habitual
% =======================...
0
votes
1
answer
128
views
`iau.cls` will not compile with a basic document
I know there are some posts about this but none of them could solve my problem, which I think comes from the cls fils I am using. A very basic example to reproduce the error is:
\documentclass{iau}
\...
-1
votes
2
answers
67
views
Please I have 24 errors in my tables anyone help?
here I paste the screenshot to my error
\begin{table}[H]
\centering
\resizebox{\textwidth}{!}{%
\begin{tabular}{|cccccccc|}
\hline
\multicolumn{8}{|l|}{FORECAST 24H} \\
\...
1
vote
2
answers
96
views
Undefined Control Sequence in Table Tabularx [duplicate]
I would like to create a table in www.overleaf.com with compiler pdfLaTeX TeX Live version 2022.
Here is the code.
\documentclass[journal]{IEEEtran}
\begin{document}
\begin{table}[h]
\captionof{...
2
votes
1
answer
205
views
Undefined Control Sequenced in Proof
I have error : Undefined control sequence for this code, however I am not sure which part is wrong.
\documentclass[journal]{IEEEtran}
\begin{document}
\begin{lemma}\label{lemma:R5_R6}
\begin{proof}
...
-1
votes
1
answer
395
views
Undefined control sequence errors in overleaf
I am getting " Undefined control sequence. " errors in 3-4 parts of my latex code when using overleaf. I have loaded amsmath in my preamble. I am unable to understand what is the cause or ...
0
votes
1
answer
229
views
Errors produced when including a table of contents
I am creating a report using the python package pylatex, but essentially it is using LaTeX.
I get the following errors when adding the table of contents:
l.42 \tableofcontents
%
...
1
vote
0
answers
38
views
References undefined while autocomplete does find the reference [duplicate]
When I add references to my file it outputs a question mark and the error message "citation 'label' in page '1' undefined." However, autocomplete does notice the reference which implies to ...
0
votes
1
answer
436
views
Springer Nature template - no citations & font issue
The Springer Nature template (https://www.overleaf.com/latex/templates/springer-nature-latex-template/gsvvftmrppwq) compiles on Overleaf, but when attempting to compile locally using pdflatex ➞ bibtex ...
1
vote
1
answer
37
views
Even columns not rendering in tikz-cd diagram in beamer presentation [duplicate]
I am getting two errors when seeking to use copy this matrix over to my beamer presentation slides:
Undefined control sequence.
Package pgf Error: Single ampersand used with wrong catcode. (This one ...
0
votes
1
answer
48
views
Error while writing Japanese characters
I want to add a Japanese character in front of a chapter. But it is showing an error, Latin alphabets and numbers work fine.
\documentclass{book}
\usepackage{CJKutf8} %for japanese characters
\begin{...
1
vote
0
answers
37
views
Abstract doesn't show up when I run the program [duplicate]
I tried to make the abstract on TexWork, but it doesn't show up when I run the program. Although I used \maketitle, \newpage. It does not work. Could you help me point out which part that is not ...
0
votes
1
answer
73
views
Undefined (Opening, Encl, Subject) control sequence in template of scrartcl document
Hi I am using this overleaf template for a presentation letter based on the Classic thesis template by André Miede:
https://www.overleaf.com/latex/templates/carta-de-apresentacao-template/gpwkqmqwncsc
...
0
votes
1
answer
34
views
Error in \makecert in westernthesis.tex:
I get an error for the \makecert line in my latex thesis file in westernthesis:
% \addcontentsline{toc}{chapter}{Certificate of Examination}
% \makecert
Could anyone help? I receive an error saying:
...
2
votes
2
answers
61
views
Defining and calling a function in sagetex not working as expected
In the code below I use sagetex to define a function f(n) that returns the nth fibonacci number. I used sagesilent so that the contents of the function are not typeset. Then I call and print the value ...
1
vote
1
answer
280
views
apa bibliography style gives undefined control sequence \visibility{cite}
This is the first time I am using Biblatex, biber or APA.
The following works:
\documentclass[jou]{apa7}
\usepackage[backend=biber]{biblatex}
\addbibresource{biblio.bib}
\title{test}
\begin{document}
...
1
vote
1
answer
140
views
undefined control sequence won't go away
I just installed LaTeX and have been using vim to edit a .tex document. no matter what I type the pdftex command it always hits up with the same issue. undefined control sequence.
! Undefined control ...
3
votes
1
answer
720
views
Font shape `TS1/aer/m/n' undefined
I keep getting this error "Font shape TS1/aer/m/n' undefined (Font) using TS1/cmr/m/n' instead". I guess it is related to using dashes. I often get it in lines with dashes "not ...
1
vote
1
answer
409
views
`nomencl`: error "Undefined control sequence. <argument> \list@fname"
I am writing a large document with a nomenclature using nomencl. Some \nomenclature{foo}{bar} entries cause the following error:
Undefined control sequence.
<argument> \list@fname
I am trying ...
1
vote
0
answers
35
views
Compilation fails with any table option
I have I problem that I fail to debug. It happens, but disappears after additional compilations. I cannot find out which minimal code produces it because I cannot reproduce it. The code I load is my ...
0
votes
0
answers
609
views
Where do I get the "undefined control sequence" from?
I tried to compile my latex document and I am getting an undefined control sequence error, but I dont know where it comes from. I get this error message in line 13:
! Undefined control sequence.
l.13 \...
2
votes
0
answers
150
views
Undefined control sequence with chordbox
I am trying to use the package chordbox, but the following basic example
\documentclass[11pt,a4paper]{article}
\usepackage{chordbox}
\begin{document}
\chordbox{Am}{x,0,2,2,1,0}
\end{document}
...
0
votes
0
answers
44
views
Use \nameref to refer to annex
I use my Universty's template Latex (University of Montreal) for my these and I'm facing an error I don't know how to fix it:
I used template's commands to create annexes (\Annexe) but it's not a ...
0
votes
1
answer
358
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 ...
1
vote
1
answer
720
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 ...
2
votes
1
answer
107
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, ...
0
votes
1
answer
632
views
An undefined control sequence is shown [closed]
An undefined control sequence is shown in the line.
\centerline{\LARGE{$\bm{\mathfrak{ Dedicated \ to}}$}}
1
vote
1
answer
144
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 ...
0
votes
1
answer
561
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)
...
0
votes
0
answers
128
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 ...
1
vote
1
answer
5k
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 ...
2
votes
1
answer
3k
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 ...
0
votes
0
answers
45
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 ...
0
votes
1
answer
752
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 ...
0
votes
1
answer
264
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 ...
0
votes
0
answers
662
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 ...
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}
%\...
0
votes
1
answer
286
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 ...
0
votes
1
answer
94
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 ...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
28
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_{...
0
votes
0
answers
401
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 ...
0
votes
0
answers
178
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{...
0
votes
1
answer
274
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&...