Questions tagged [errors]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
24 views

How do you properly print a fraction number with unit in siunitx?

I was basically trying to replicate the answer to this question: Print \frac{4}{3} m/s using the SI unit package In doing so, I hope to achieve a proper output of minus one third (as a fraction) the ...
user avatar
1 vote
1 answer
19 views

"Argument has an extra }" error when using reference command with optional argument in theorem note

I'm trying to add a reference (with optional argument) in the theorem note. Below is a MWE. \documentclass{article} \usepackage[french]{babel} \usepackage{amsthm,create-theorem} \CreateTheorem{...
user avatar
  • 6,566
1 vote
0 answers
23 views

Compilation never ends with modified \pmod after recent update

In this answer, @egreg provided a modified \pmod with a starred variant. However, after some recent update to the TeX distribution this modification no longer works (the last time I used this command ...
user avatar
  • 6,566
0 votes
0 answers
8 views

Problem compiling Lyx document - "you are using at least one layout intended for the title after using non-title layouts"

I am trying to compile a Lyx document (written in Hebrew, if it matters), and when I try to compile I get the following message: And after a while of trying to compile it puts out the following error:...
user avatar
  • 103
0 votes
1 answer
44 views

A problem in downloading a package

I have a problem in downloading the package fullpage, using the command \usepackage{fullpage}. I was doing this while watching a tutorial on Youtube about LaTeX. I will upload all the pictures for ...
user avatar
0 votes
0 answers
21 views

Overleaf error: "LaTeX Error: File `size0.clo' not found"

When insering the following code in overleaf: \documentclass{article} \usepackage{amsmath,xcolor,extsizes,moresize,background,lipsum} \usepackage{fontspec} \usepackage{polyglossia} \usepackage[top=...
user avatar
0 votes
0 answers
20 views

No line gap between \paragraph{} and text

I have used all of my \subsection{} headers so using \paragraph{} with \setcounter{tocdepth}{4} and \setcounter{secnumdepth}{4} in the contents. The subheading is showing up just fine but the text of ...
user avatar
1 vote
1 answer
40 views

Bibliography in book

I write a book. I need to create a list of bibliography. I follow the manual recommendations and don't succeed. In the part of the declarations I use \usepackage{biblatex}. Then, I cite some reference ...
user avatar
1 vote
0 answers
41 views

marginnote and framed - workaround fails with lualatex

I have this code in my 12 year old Tex files that I currently like to upgrade such that they work with lualatex. I load this code in order to fix a problem with marginnote and framed. Unfortunately I ...
user avatar
1 vote
0 answers
27 views

datetime2 "number too big" error when eliminating separators

I'm trying to produce a date/time output as a string of numbers without any separators: yyyymmddHHMMss. I was able to use the yearmonthsep= and other options in datetime2 to eliminate any colons or ...
user avatar
3 votes
1 answer
89 views

Compilation error when using &

Code Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \newcommand{\tegn}[1]{\mathcolor{red}{#1}} \begin{document} \begin{align} 1 &= 1 \\ ...
user avatar
0 votes
0 answers
108 views

MikTeX can't write on 'filename.pdf'

I'm using MiKTeX 22.7 on windows 10 and when I try to compile any file I get the error: "can't write on filename.pdf". I'm aware this question has already been asked, such as here or here, ...
user avatar
-2 votes
0 answers
23 views

How do you disable section numbering (adding * just spits error "missing number, treated as zero"), and error "There's no line here to end" [closed]

How do I get rid of this error "There's no line here to end" And how do I disable numbering on all my Sections (\section*{something} doesn't work) (text under error message is \begin{...
user avatar
0 votes
0 answers
21 views

"undefined control sequence" error message in tex file [duplicate]

When I run my .tex, this message appears. But my .pdf file is fine. What can i do? This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX) (preloaded format=pdftex) restricted \write18 ...
user avatar
0 votes
0 answers
72 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 \...
user avatar
  • 101
6 votes
1 answer
197 views

Error while compiling previously working code

I'm trying to compile the exact same code suggested in the answer to How to Label and Caption TikzpictureS inside a tabular environment: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} ...
user avatar
  • 159
0 votes
2 answers
102 views

! LaTeX Error: Unicode character − (U+2212) not set up for use with LaTeX [duplicate]

\documentclass[a4paper,12pt]{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{amsthm} \DeclareMathOperator{\var}{var} % variance "operator" \...
user avatar
  • 37
-1 votes
0 answers
43 views

Fatal error occurred, no output PDF file produced!

I wanted to use the following GitHub repository for writing up my thesis. They have given me the method to run, but it does not work for me when I use the terminal to run the same. I do not understand ...
user avatar
  • 243
-1 votes
0 answers
15 views

Cannot generate pdf...keeps on getting an error message saying keyword expected

I am using winedt 5.4 version with miktex 2.9 I have been using it for the past few months to type my project report. It was working fine and pdf was easily generated. Since the past few days, it does ...
user avatar
0 votes
0 answers
23 views

Umlaut trouble, deleting inputenc results in Unicode trouble

I am having trouble modifying files from my German colleague. Previously, I removed the line: \usepackage[ansinew]{inputenc} this was as I saw umlauts being changed to percent signs whenever I ...
user avatar
0 votes
1 answer
37 views

Using \dots inside \bm causes an error

I can't figure out why this error keeps happening. I simply use \dots inside \bm as is shown in the following image: The equation of the middle reads: $$\bm{d\omega^i\wedge\omega^1\wedge\dots\wedge\...
user avatar
  • 559
0 votes
1 answer
32 views

LaTeX Error: Option clash for package

I'm writing my bachelor thesis with latex and I'm almost done, but now suddenly an error message is displayed with the packages, although I haven't changed anything. I already researched in which ...
user avatar
  • 21
0 votes
0 answers
29 views

'Missing endcsname inserted' error when using \includegraphics

MWE: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{float} \usepackage{underscore} \begin{document} \section{Introduction} blurb goes here..........
user avatar
0 votes
1 answer
44 views

Equation position equation LaTeX [duplicate]

I'm having trouble with the LaTeX equation numbers. For example, I type: \begin{equation}\label{eq2} A = \begin{pmatrix} a_{11}x_{1} & a_{12}x_{2} &...
user avatar
0 votes
0 answers
27 views

tex maker pdf suddently not working

I will try to explain what my problem is. I have written my thesis with tex maker without any problem. However, yesterday I open it to correct a couple of things. I corrected them without problems. So ...
user avatar
-1 votes
0 answers
41 views

Why do I have this error: "File ended while scanning use of \@citex..."

I am using texmaker and ran into the following error: ! File ended while scanning use of \@citex. <inserted text> \par l.95 \input{chapter-1} I suspect you have forgotten a `}', causing me to ...
user avatar
0 votes
1 answer
47 views

How to fix otfinfo?

I am trying to get some information about my fonts using otfinfo (came with Tex Live distribution) and the command line (cmd) in Windows 10. Tried many times with many different fonts (for sure in my ...
user avatar
  • 175
2 votes
3 answers
67 views

How can I use the return value of a pycode method in an \ifnum in LaTeX?

I am trying to use TikZ combined with the pythontex and cancel package to draw a (clip of the) plane of the rational numbers where all the rational numbers with a gcd not equal to 1 are crossed out. ...
user avatar
0 votes
2 answers
32 views

Using the "minted" package is incomptatible with the cftbeforesecskip command from the "tocloft" package. What can I do to fix it?

I have a relatively large document that has a lot of custom modifications to the table of contents via the tocloft package. I want to include syntax highlighted source code through the minted package. ...
user avatar
0 votes
1 answer
48 views

'You have requested package 'everyshi',but the package provides 'everyshi-2001-05-15''

I'm trying to load a LaTeX template and seem to have all the required packages, yet I still get the following warning message appearing: 'You have requested package 'everyshi',but the package provides ...
user avatar
0 votes
0 answers
18 views

Jump to PDF from chapter source file

I have one file named test.tex having the following code: \documentclass[12pt,a4paper]{article} \begin{document} hello \include{chapter1} \end{document} and another file named chapter1.tex in the ...
user avatar
  • 123
0 votes
0 answers
20 views

Argument of \cvskill has an extra } when trying to override an existing command

I'm using the moderncv package which already defines the \cvskill command. I'm trying to override/redefine this command with \renewcommand: % ... % param 1: name of the skill / tech / etc. % param 2: ...
user avatar
  • 101
0 votes
1 answer
123 views

Unable to insert an image with MikTeX

I've been playing around with LaTeX using the MikTeX console and I am trying to insert an image, but I cannot. I type \usepackage{graphicx} \graphicspath{…} […] \begin{document} However, when typing \...
user avatar
0 votes
0 answers
273 views

pdflatex | Error when compiling

I installed Miktex version 22.1 on my Mac Monterey. Since then I get the error message Sorry, but pdflatex did not succeed. even if I try a simple pdflatex -v. By looking into the log files it tries ...
user avatar
  • 1
1 vote
0 answers
26 views

"! File ended while scanning use of \@lbibitem" error while citing an article

I am getting the following error (marked as "runaway argument?") while citing an article: {\citenamefont {{Abbott}}\ \emph {et~al.}(2020)\citenamefont {{Abbott\ETC. ! File ended while ...
user avatar
  • 11
0 votes
1 answer
39 views

NiceArray unknown issue

I'm trying to compile the simplest MWE with NiceArray environment from nicematrix package \documentclass{article} \usepackage{nicematrix} \begin{document} \[ \begin{NiceArray}{ccc} 1 & 2 & 3 ...
user avatar
  • 2,793
0 votes
2 answers
57 views

LaTeX Error: Something's wrong--perhaps a missing \item - Unsure, why?

What am I doing wrong? (I am very new to LaTeX, and this is my 1st question, pls forgive my ignorance) \section*{TERM 2} \textbf{10 weeks} (30 hrs) \begin{itemize} \...
user avatar
0 votes
0 answers
35 views

Brackets and circumflex in TikZ coordinate calculations [duplicate]

What's the difference between \draw[domain=-3:2] plot(\x,{-0.07*(\x)^4+1.51*(\x)^3-9.58*(\x)^2+23.94*(\x)-17.59}); and \draw[domain=-3:2] plot(\x,{-0.07*\x^4+1.51*\x^3-9.58*\x^2+23.94*\x-17.59}); ? ...
1 vote
2 answers
66 views

How can I fix this beamer presentation error?

I am making a beamer presentation that has some tikzpictures and pgfplots and I get this error : >Illegal parameter number in definition of \beamer@doifinframe. I tried adding fragile in \begin{...
user avatar
0 votes
2 answers
56 views

PythonTex Error : No such file or directory on VSCode

\documentclass{ltjsarticle} \usepackage{pythontex} \begin{pycode} def fizbuz(n): for i in range(1, n+1): if i % 3 == 0: print("fiz", end=' ') else: ...
user avatar
  • 3
0 votes
0 answers
114 views

Overleaf Why PDF Rendering Error for any projects?

I am facing the issue of PDF Rendering Error for basically any projects I am making in Overleaf, including blank proejcts. This is the source code I am using: \documentclass{article} \usepackage[utf8]{...
user avatar
0 votes
1 answer
16 views

Cases error $ is added

I have read all the posts on this error that I can find. None of the solutions end up with the correct layout that this code does (left aligned, a=1 in rear). My issue is that it throws a $ added ...
user avatar
0 votes
1 answer
38 views

Missing } inserted \subfile{} Error message

I keep getting this error message on my main .tex file. It reads: Missing }.\subfield{2chaptertwo.tex}. I have a separate .tex file for each chapter (including one that is entitled 2chaptertwo.tex. ...
user avatar
  • 1
0 votes
2 answers
45 views

don't understand a particular error message I'm getting

When I type $$ A_n\ =\ \left\{\begin{array}{ccc} [\hskip.017in 0,1\hskip.017in] & {} & n\ {\rm is\ even} \\ [\hskip.017in -1,0\hskip.017in] & {} & n\ {\rm is\ odd} \\ \end{array}\right....
user avatar
0 votes
0 answers
36 views

Error when using the els-cas template in Texmaker

I'm quite new to the els-cas-dc template in LaTeX. I want to submit a paper to Elsevier, thus I downloaded the "els-cas-templates" package. Specifically, my paper is a two column paper so I'...
user avatar
0 votes
0 answers
34 views

Simplefonts module issue with texlive 2022 (context)

With old versions of texlive I had no problem with simplefonts module but after installing the new version (texlive 2022) errors appears when adding the module tex error > tex error on line ...
user avatar
  • 16.1k
5 votes
2 answers
136 views

Error with package diffcoeff

When loading the diffcoeff package, even in very basic examples, I'm getting a repeated error that wasn't there a few weeks ago. Does anyone know what the problem is? Thanks! Here is the MWE: \...
user avatar
  • 85
0 votes
0 answers
53 views

Fatal Error in Overleaf

I have been using LaTeX Overleaf for around one year now, and I am currently working on an English project, but after I made some subsubsubsections, suddenly the compiler crashed, and when I undid the ...
user avatar
0 votes
1 answer
21 views

\longdivision using [separators in work = false] generates a Missing number error

I’ve spent a bit trying to debug this, but wanted to make sure it wasn’t a known bug before killing myself. I’m trying to use the \longdivision{} command in a LaTeXit equation. It’s alone in the ...
user avatar
0 votes
0 answers
51 views

Using two packages with tons of commands having same names

I write a review paper in which various coathors are willing to insert equations from their prior works. Their latex manuscripts seem to use incompatible packages. In particular, the qcircuit package ...
user avatar
  • 438

1
2 3 4 5
101