Skip to main content

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
41 views

"Undefined" error with tcolorbox despite being installed

Issue Today I switched over to compiling LaTeX locally as opposed to Overleaf, and I am having issues with running the following code: \documentclass{article} \usepackage{tcolorbox} \begin{document}...
Aathreya Kadambi's user avatar
0 votes
1 answer
33 views

fontspec crashes with undefined control sequence from \strongfontdeclare

I'm trying to switch from pdflatex to xelatex. My environment is Ubuntu 22.04.4 LTS, MikTeX 23.4, and xetex 3.141592653-2.6-0.999995. When I run xelatex on \documentclass[11pt]{article} \usepackage{...
PaulTanenbaum's user avatar
0 votes
1 answer
57 views

Undefined control sequence in my textcase.sty

I am new to the TeX StackExchange so my apologies if my question is not in the required formatting. So I am facing an error in textcase.sty and latexrelease.sty file where I am getting an Undefined ...
Aaditya Rudra's user avatar
2 votes
1 answer
31 views

How can I remove the leading zero from the day using original datetime package

I need some help debugging even though I get my desired outcome there it still errors produced. I am using the original datetime package which I want. I am using the Australian date standard and I ...
user avatar
1 vote
0 answers
27 views

Undefined Citations using biblatex [duplicate]

I am aware that there are many answers regarding undefined citations but I have looked at them and my problem still remains. I have a sample tex file 'test.tex': \documentclass[11pt]{article} \...
james's user avatar
  • 11
1 vote
1 answer
39 views

SIunitx fails with a LyX module (fancytheorems)

I use texlive with LyX, and use fancy theorems module to get customized theorem layouts. However, when I use the SIunitx package with the module, LyX throws "undefined control sequence" ...
Koin toss's user avatar
0 votes
0 answers
42 views

Overleaf fails to compile from subsection but works from main subsection

I have a main page as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{csquotes} \usepackage{graphicx} \usepackage{hyperref} \usepackage{amsmath} \usepackage[letterpaper,margin=...
user1916067's user avatar
0 votes
0 answers
18 views

"Environment publications undefined" - please help

%Section: Publications \sectionTitle{Publications}{\faLeanpub} \begin{publications} \publications {\textbf{Contrails Whitepaper}} {\textbf{Mar 2023}} \\* {\website{https://www.flipsnack....
Raj's user avatar
  • 1
0 votes
0 answers
36 views

why do i get citation messages?

This is the main file: \documentclass[11pt,fleqn,twoside]{report} \usepackage[utf8]{inputenc} \usepackage{csquotes} \usepackage{graphicx} \usepackage{tikz} \setcounter{tocdepth}{4} \setcounter{...
SDe's user avatar
  • 1
0 votes
0 answers
24 views

Undefined control sequence error occurred. Which package should I use here ? or any other mistakes?

\multirow{2}[2]{*}{1.1} & \multicolumn{1}{c|}{\multirow{2}[2]{*}{Q>10\newline{}Good to very good}} & \multicolumn{1}{c|}{\multirow{2}[2]{*}{I}} & \multicolumn{2}{c|}{\multirow{2}[2]{*}{...
Sudip Bal_7's user avatar
0 votes
2 answers
89 views

"Undefined control sequence" for \section when using arXiv template - Why is it so?

\documentclass[10pt,leqno]{amsart} \usepackage{graphicx} \baselineskip=16pt \usepackage{indentfirst,csquotes} \topmargin= .5cm \textheight= 20cm \textwidth= 32cc \baselineskip=16pt \...
S-F's user avatar
  • 3
0 votes
1 answer
42 views

Undefined control sequence error for each \STATE \FOR \IF [closed]

\begin{algorithm} \caption{SSBPSO}\label{SSBPSO_algo} \begin{algorithmic} \STATE \textbf{INITIALIZATION: } Set N as the number of particles in the swarm, M as the number of active stocks ...
Ashish Lakhmani's user avatar
0 votes
1 answer
79 views

Undefined control sequence DeclareTCBListing with Tex Live 2019

I am getting the Undefined control sequence error for \DeclareTCBListing command with Tex Live 2019 (Ubuntu 20.04). The same source compiles perfectly fine on Overleaf (Tex Live 2023). Is this some ...
Daniel Langr's user avatar
0 votes
0 answers
45 views

\end{alignat} gives undefined control sequence error

When compiling this code, it returned a pdf with the compiled equations. However, all commands below this chunk would not execute anymore. For the \end{alignat}, it returns an undefined control ...
Arnaut Goethals's user avatar
1 vote
1 answer
315 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 ...
Aila's user avatar
  • 11
3 votes
3 answers
149 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 ...
Serdar Uludağ's user avatar
0 votes
1 answer
109 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 ...
Hao S's user avatar
  • 878
0 votes
1 answer
59 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{...
user1476176's user avatar
  • 1,275
0 votes
1 answer
53 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} ...
quazgar's user avatar
  • 1,283
5 votes
1 answer
136 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{...
Etienne's user avatar
  • 115
0 votes
0 answers
67 views

Table of contents giving "Undefined control sequence" error

The following code \documentclass[a4paper,11pt, pdftex]{report} % ================================================================================== % Configuración habitual % =======================...
user23004030's user avatar
0 votes
1 answer
149 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} \...
user3177899's user avatar
-1 votes
2 answers
71 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} \\ \...
Morteza Rahmah's user avatar
1 vote
2 answers
155 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{...
Nicholas TI's user avatar
2 votes
1 answer
301 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} ...
Nicholas TI's user avatar
-1 votes
1 answer
542 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 ...
wanderer's user avatar
  • 141
0 votes
1 answer
380 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 % ...
UpperEastSide's user avatar
1 vote
0 answers
41 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 ...
dorus Boogaard's user avatar
0 votes
1 answer
1k 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 ...
Daniel von Eschwege's user avatar
1 vote
1 answer
39 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 ...
Christopher Gourlay's user avatar
0 votes
1 answer
55 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{...
GedankenExperimentalist's user avatar
1 vote
0 answers
38 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 ...
kim phan's user avatar
0 votes
1 answer
120 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 ...
Delosari's user avatar
  • 103
0 votes
1 answer
46 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: ...
Saturn's user avatar
  • 1
2 votes
2 answers
63 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 ...
ging82798's user avatar
1 vote
1 answer
360 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} ...
Tommi's user avatar
  • 142
1 vote
1 answer
183 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 ...
Luke Peterson's user avatar
3 votes
1 answer
2k 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 ...
MKali's user avatar
  • 43
2 votes
1 answer
594 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 ...
Benedikt Ahrens's user avatar
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 ...
Matthias Pospiech's user avatar
0 votes
0 answers
915 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 \...
trynerror's user avatar
  • 133
2 votes
0 answers
190 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} ...
Arducode's user avatar
0 votes
0 answers
56 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 ...
Laurianne's user avatar
0 votes
1 answer
637 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 ...
Arturo don Juan's user avatar
1 vote
1 answer
918 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 ...
hiro's user avatar
  • 11
2 votes
1 answer
128 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, ...
Zeus's user avatar
  • 23
0 votes
1 answer
658 views

An undefined control sequence is shown [closed]

An undefined control sequence is shown in the line. \centerline{\LARGE{$\bm{\mathfrak{ Dedicated \ to}}$}}
user268851's user avatar
1 vote
1 answer
178 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 ...
user4933's user avatar
  • 202
0 votes
1 answer
708 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) ...
a.t.'s user avatar
  • 297
0 votes
0 answers
177 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 ...
Radiation Genesis's user avatar

1
2 3 4 5