Questions tagged [errors]

{errors} is for questions regarding or including compilation or similar errors.

Filter by
Sorted by
Tagged with
6 votes
6 answers
435 views

Recursive macros revisited

Consider the following code \documentclass{article} \usepackage{xifthen} \def\question#1 #2 #3?{\ifx#1 #2 #3?\relax\else#1 #2 #3 or\expandafter\question\fi} \newcommand{\test}[1]{\question#1} \begin{...
VaduzStevin's user avatar
1 vote
1 answer
64 views

Why this is giving an error?

To write the following equation, I am writing my code as $\textbf{\mu}$ (in the text or paragraph) why it is giving an error?
Nisar Ahmed's user avatar
3 votes
1 answer
71 views

Failed to compile latex document - Citation-style-language

I've come to a point where I really don't know where to search for a solution anymore. I'm trying to compile my thesis on a newly setup Linux-Laptop and it always gives me an error. I already switched ...
EnflamedSoul's user avatar
0 votes
0 answers
23 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
-3 votes
0 answers
50 views

How do I Write faraday's law of induction in LaTeX? [closed]

I Couldn't understand what should the code be here and it is really frustrating as whenever i execute the commands numerator of \frac cmd is not situated in a correct position.
Achyut Kumar Agarwal's user avatar
0 votes
2 answers
57 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
6 votes
1 answer
132 views

Hyperref conflicting with enumitem

The code \documentclass[11pt]{article} \usepackage{hyperref} \usepackage{enumitem} \newlist{ilist}{enumerate}{3} \setlist*[ilist]{leftmargin=*} \setlist*[ilist,1]{label=\arabic*.} \setlist*[ilist,2]{...
arz's user avatar
  • 147
-3 votes
1 answer
143 views

LaTeX horrible issues with generating PDF file, unsolved issue and no answers [closed]

This is my first time posting here so I'm not sure what the formatting is. I'll try to be as detailed as possible. I've been recently trying to get into LaTeX, so I installed MikTex and Texmaker a ...
ChaosForever's user avatar
0 votes
1 answer
19 views

Getting an error where illegal unit of measure in a subfigure

The error is in the second subfigure getting a unit error being treated as zero i am doing the same in another example with no issues \begin{figure}[h] \centering \begin{subfigure}[c]{0.2\textwidth} ...
Ollie Wiltshire's user avatar
1 vote
0 answers
39 views

How to install getnonfreefonts on Windows with MiKTeX?

I was trying to install a non-free font for LaTeX. The website https://www.tug.org/fonts/getnonfreefonts/ tells me that I should use a script install-getnonfreefonts. When I've launched it with texlua ...
Ruslan Popov's user avatar
0 votes
0 answers
18 views

I am writing lyx layout for workbook with various question types but I am getting error in the layout, which seem to come from the preamble as follow:

Preamble \RequirePackage{fancybox,xcolor,tcolorbox,enumitem,amsmath,amssymb,amsfonts,mathtools,mathrsfs,graphicx,tikz,pgfplots,multicol,tabularx,longtable,array,multirow,hhline,colortbl,booktabs,...
George Osafo's user avatar
0 votes
0 answers
45 views

glyphtounicode incompatible fonts with TeX Live 2021 and later: What does = do in \pdfmapline? What difference does subsetting make?

The following MNWE fails with TeX Live 2021 onwards. \documentclass{article} \usepackage{dictsym} \begin{document} \dsbiological \end{document} Compilation ends with <</usr/local/texlive/2023/...
cfr's user avatar
  • 196k
0 votes
0 answers
25 views

Biblatex/Memoize: Error if cited bib entry includes verbatim field

If Biblatex is used with the current version of Memoize, citing any entry containing a verbatim field results in compilation failure. I've reported this as a bug, but is it possible to workaround the ...
cfr's user avatar
  • 196k
0 votes
1 answer
35 views

Error related to caption style [closed]

I am using a template and got the following error that seems be related to caption.sty: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <...
John Green's user avatar
0 votes
1 answer
32 views

Error with \ressubheading [duplicate]

I have this code \documentclass[letterpaper,10.5pt]{article} \usepackage[svgnames]{xcolor} \usepackage{tocloft} \usepackage[colorlinks=true]{hyperref} \newcommand{\ressubheading}[4]{ \begin{tabular*}...
Alessandro Bitetto's user avatar
0 votes
0 answers
18 views

Expex command \begingl not avalaible in encoding TU when running lualatex [duplicate]

When using the expex package for glossing examples with the \begingl enviroment and running the following document with lualatex the following error is obtained: Too many }'s. \egroup l.41 \xe The ...
Norberto's user avatar
0 votes
0 answers
382 views

MikTex Problems on Mac

For about a month now my MikTex app isn't working on the Mac. I think it was after ugrading the OS, but not sure. My TexWorks wont access it when I try to run a LaTeX file, and I can't even open the ...
Dan's user avatar
  • 1
0 votes
1 answer
36 views

Error Using `latex-workshop.bibalign` Command in VSCode LaTeX Workshop

I am encountering an issue with the LaTeX Workshop extension for Visual Studio Code. I'm attempting to format my .bib files using the latex-workshop.bibalign command, as per the guidelines provided in ...
Foad's user avatar
  • 873
0 votes
0 answers
46 views

U/wasy/b/n font shape warning and why does it happen?

I got this weird warning after compiling this snippet: \documentclass[a4paper, 12pt]{report} \usepackage{indentfirst} \setlength{\parindent}{2.30em} \usepackage[utf8]{inputenc} \usepackage{...
Kenneth Ligutom's user avatar
0 votes
0 answers
42 views

Memoize + Biblatex + \cite causes compilation failure: \prepare@family@series@update ...get@series@value undefined

With updated TeX Live (2024-01-20), the following code produces an error \documentclass{article} \usepackage{memoize} \usepackage{biblatex} \bibliography{biblatex-examples} \begin{document} \cite{...
cfr's user avatar
  • 196k
3 votes
1 answer
57 views

"unexpected $ after $$" and "unclosed $$ found at $" errors with inline math inside display mode

I am trying to define a new command for different types of homomorphisms. The command is: \newcommand{\Hom}[2][]{% \operatorname{Hom}_{\textnormal{#1}}\left({#2}\right)% } The outputs of this ...
Lorenzo Carozzo's user avatar
0 votes
0 answers
36 views

! LaTeX Error: Environment Verbatim undefined in Texlive in Linux Mint

I'm using Texmaker with Texlive in Linux Mint 21.3 Cinnamon to write an article with some Python code. Then I got a problem: ! LaTeX Error: Environment Verbatim undefined in Texlive in Linux Mint The ...
trequartista's user avatar
  • 1,881
0 votes
0 answers
134 views

Error with `initexmf --mklinks --force` in MiKTeX: "Security Risk" and Failure to Execute

I've encountered an issue with MiKTeX on my system, and I'm seeking some guidance to resolve it. I am running the command: initexmf --mklinks --force in an elevated cmd command prompt (as ...
Foad's user avatar
  • 873
0 votes
2 answers
21 views

package titlesec error: entered in horizontal mode at each \section{} row

I have the red error bullet package titlesec error: entered in horizontal mode at each \section{} instruction row At the beginning I had the following command, that was causing the error \titleformat{\...
Ingrid's user avatar
  • 1
0 votes
0 answers
28 views

TexMaker crash Windows

I'm having the following problem (on texmaker windows); I have a Beamer document and it does no harm when opened. I also have a different document and this one also does not give any problem when ...
LolloBoldo's user avatar
1 vote
1 answer
85 views

Why is This Minipage Footnote Repeated Twice?

Consider: \documentclass[12pt]{book} \usepackage{scalefnt,scalerel} \begin{document} \thispagestyle{empty} {\begin{minipage}{5.0in}\leftskip\fill\rightskip-\leftskip\parfillskip\stretch{2}% {\vstretch{...
DDS's user avatar
  • 8,796
1 vote
0 answers
142 views

Error: texlive-scripts package not found (?!), skipping revision consistency check

Since few days ago, when I load the repository with TeX Live Shell, I've got: texlive-scripts package not found (?!), skipping revision consistency check When I update my TeX Live distribution, ...
CarLaTeX's user avatar
  • 62.2k
2 votes
1 answer
50 views

When I put an arrow next to a table I get an error

I have a table and I would like to have an arrow on the right, but I get this error "Extra \right. $\right\Uparrow". How do I fix it? I use tikz package and graphicx. Here's the code: \begin{...
pepper's user avatar
  • 65
4 votes
0 answers
81 views

Switching to wrapfig2 causes: ! Argument of \@gobble has an extra }

I have a, rather large, latex project which I want to switch from wrapfig to wrapfig2. However this results in ! Argument of \@gobble has an extra } Minimal reproducer: \begin{filecontents}[overwrite]...
Flow's user avatar
  • 893
0 votes
1 answer
53 views

Diagnosing Standalone and Gensymb conflict

Disclaimer: I am new-ish to LaTeX, and self-taught. I am trying to make a "Unit Circle" TikZ graphic, in which I would like to have the \degree symbol from the gensymb package in the label ...
Altissimo's user avatar
  • 146
1 vote
0 answers
43 views

Hebrew text won't compile even though I use babel

so I'm using overleaf and for some reason Hebrew text won't compile, even when I use code that was perfectly fine a couple months ago. Here's some problematic code: \documentclass[a4paper, 10pt]{...
tcb93's user avatar
  • 167
0 votes
1 answer
123 views

Why am I getting a `3 is a bad bad` error?

After upgrading from TeX Live 2022 to TeX Live 2023, when running bibtex, bibtex8, or bibtexu in TeX Live 2023, I get this error for any input file: 3 is a bad bad bibtex does not produce any output. ...
Michael Hoffman's user avatar
8 votes
1 answer
81 views

Footnotes defined with \newfootnoteseries don't work

I'm having trouble with new footnotes defined using \newfootnoteseries. The following MWE \documentclass{memoir} \newfootnoteseries{P} \begin{document} \footnote{Test1} \footnoteP{Test2} \footnoteP{...
rzach's user avatar
  • 426
0 votes
0 answers
129 views

Package hyperxmp Error: hyperref must be loaded before hyperxmp. }

I get a strange error message when using the command \begin{itemize}. At the same time, the text file is compiled on the Overleaf site without any problems, but I can't work with the free version of ...
Questioner's user avatar
0 votes
1 answer
35 views

Random Indentation In my code

Here is my COde: \documentclass[12pt,fleqn]{article} \usepackage[margin = 0.25in, letterpaper]{geometry} \usepackage{amsmath, amssymb} \usepackage{textcomp} \usepackage{framed} \usepackage{graphicx} \...
grade12boi's user avatar
0 votes
1 answer
68 views

Cannot compile Latex file on journal system

I'm trying to submit my tex file to JMLR. Everything's fine on my overleaf and latexmk on my computer, however when I submit it to the production system, it doesn't work on JMLR's latexmk, which ...
alex's user avatar
  • 11
0 votes
0 answers
38 views

Error with IEEE Access template and glossaries package

I'm experiencing an obscure issue when using the IEEE Access template (you can download it from here) combined with glossaries package to make an acronym list. Here is the error message: You can't use ...
elofante's user avatar
0 votes
0 answers
40 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
0 votes
0 answers
40 views

`\polymerdelim` issue with `tikz-external` crash

Error when i have both tikz-external and a chemfig molecule \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{external} \tikzsetfigurename{figure_\arabic{part}.\arabic{section}.} % set ...
Felipe9's user avatar
  • 309
3 votes
2 answers
139 views

Why is there an error showing missing } in the end despite the {}-pairs being balanced?

\documentclass[a4paper,12pt]{article} \usepackage[utf8]{vietnam} \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsfonts} \begin{document} \begin{align*} $||x + y||^{2} &=\...
Nga Nguyễn Thị's user avatar
2 votes
0 answers
55 views

Special output for wrong commands

I'm curious if there is a way to make latex produce a specific output when a wrong command is entered, more specifically, say I have written \dfrak instead of \dfrac, is there a way I can make the ...
Cristian Baeza's user avatar
2 votes
0 answers
22 views

Conflict between newtxmath and amsthm - \openbox already defined [duplicate]

I recently started getting \openbox already defined error from using newtxmath and amsmath together. I use TexMaker on mac and it still works fine on my previous documents but now I can't compile. The ...
KevinHeart's user avatar
1 vote
1 answer
34 views

Issue with BST - no comma inserted between Publisher and Address

I am personalizing the IEEEtran.bst file to adapt it for another journal, which already has bibliography rules since many years (but not a latex class). As I prepared the latex class for typesetting ...
TrAmA's user avatar
  • 15
1 vote
0 answers
70 views

Error using changes package [closed]

I get an error that I don't understand and I have no idea how to fix this. My minimal working example is this: \documentclass{article} \usepackage{changes} \definechangesauthor{Me} \begin{document} ...
Dirk's user avatar
  • 208
2 votes
1 answer
75 views

make4ht math input error when using amsmath

My MWE is the file test.tex here: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \begin{equation} y[n] = \begin{cases}...
Valdinei Rodrigues's user avatar
2 votes
0 answers
57 views

Undefined control sequence \tl_gput_right:Ne

A user reported to me that when using the document class Q-and-A, an error of Undefined control sequence occurs: ! Undefined control sequence. <argument> \tl_gput_right:Ne ...
Jinwen's user avatar
  • 8,316
6 votes
2 answers
143 views

Titlespacing command not working for \subsection and also causing error for \section

I'm using the packages \documentclass{amsart} \usepackage{amsmath} they do not leave a vertical space between the section's title and the following text. So i'm trying to use the titlespacing ...
tutizeri's user avatar
  • 161
0 votes
1 answer
32 views

Problem with 'already defined' in newenvironment

I have the following environment for using \dotfill in a cases environment \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{...
DavidH's user avatar
  • 79
1 vote
2 answers
79 views

Issue an error when item is used outside itemize or enumerate

I sometimes erroneously type \item outside itemize or enumerate. It would be nice if LaTeX can help me catch such an error. Sometimes it correctly does so and issues an error Lonely \item--perhaps a ...
Long Horn's user avatar
  • 115
3 votes
4 answers
132 views

How to pass a \def coordinate to macros

I am trying to pass a \def coordinate to a macro and got an error. Below is the code. The macro with direct passing works, but the two commented out lines don't. \documentclass[border=1cm]{standalone} ...
Leon Chang's user avatar

1
2 3 4 5
107