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

learn more… | top users | synonyms (1)

1
vote
1answer
438 views

MikTeX: Package installation repair

I was compiling a TeX file with marvosym package - which was not installed in my computer. When it was automatically attempting to install the marvosym package, I force closed the program thinking ...
0
votes
0answers
28 views

How to make the “doesn't divide” symbol in ShareLaTex [duplicate]

a divides b , $a \mid b$ \\ a doesn't divide b , $a \notmid b$ \\ a doesn't divide b , $a \notbackslash b$ I get ab without a crossed out vertical bar between the ...
0
votes
0answers
195 views

Package xparse Error: Support package l3kernel too old. } [duplicate]

I am using a thesis template here : https://github.com/kks32/phd-thesis-template . I use texstudio and Mktek compiler. whatever i do i keep getting an incredible amount of errors starting with this ...
1
vote
1answer
57 views

I can't write on file `elsarticle-template.spl'

I'm trying to compile elsarticle with a fresh texlive ubuntu repository distribution. it worked flawlessly on windows so my file is in order. Linux texmaker complains that \immediate\openout\splwrite=...
1
vote
2answers
3k views

\end{enumerate} error

\documentclass[14pt]{extarticle} \usepackage{lineno} \linenumbers \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{enumitem} \usepackage{enumerate} \usepackage{sectsty} \usepackage{...
4
votes
2answers
278 views

Why does this use of \textwidth cause pdflatex to crash (not exit!)?

I ran into this problem when playing around with tables. \documentclass{article} \begin{document} \begin{table}[h!] 400 MHz \qquad 800MHz \centering \showthe\numexpr\textwidth\relax \tracingall \...
4
votes
1answer
50 views

Strange error message due to xparse and \newenvironment

I get the following strange error when I compile my document: ! Incomplete \ifcase; all text was ignored after line 256. <inserted text> \fi l.256 \foo[ 0]{|...
1
vote
0answers
50 views

Error in Compiling (Sometimes)

I am having an unusual error in trying to use the metropolis theme. Sometimes it compiles using Latexilla and sometimes it doesn't. I will give the code of the main tex file: \documentclass{beamer} ...
0
votes
2answers
79 views

Error ! You can't use `\eqno' in math mode [duplicate]

\begin{equation} \label{Latent heat storage} E = m[{\int_{t_(i)}^{t_(m)} (c_{ps}dt }+\lambda + {\int_{t_(i)}^{t_(m)} (c_{pl})dt] \end{equation} The above code shows errors, please tell me what's ...
5
votes
1answer
23k views

Any reason why \blacksquare and \box are causing errors?

I am using the amsmath package. I just want a black box at the end of a proof, right-justified. \blacksquare and \box both cause errors. Actually, I'd prefer a musical quarter note if that's ...
4
votes
1answer
450 views

xeCJK l3-too-old

I started using XeTeX and whenever I use the xeCJK package I get the following error: ! Critical xeCJK error: "l3-too-old" ! ! ! Support package 'expl3' too old. ! ! Please update an up to date ...
2
votes
1answer
87 views

Undefined control sequence. \begin{document} when compiling via Xelatex

This question has been asked several times before, but I think every individual's experience is a bit different. I have tried 3 latex templates, all of them giving the same error. Just for a ...
11
votes
1answer
245 views

foreach with colors leads to “undefined control sequence”

The following MWE works nicely when I remove the optional argument [\forcol] from the \addplotcommand or when I change it to red, for example. Though I would like the curves to have different colors ...
1
vote
0answers
111 views

Cannot find .cls file [closed]

I have a macbook pro and installed MacTeX a few days ago. Our teacher wants us to do a report using a model of it in cls format. The format is the same folder as the file that I created, however ...
2
votes
1answer
42 views

Issues with Systeme

\documentclass[12pt]{article} \usepackage{systeme} \usepackage{amsmath} \begin{document} ... \[ \systeme*{(x+y)\sqrt{xy}=504,x^2+6xy+y^2=2016} \] ... \end{document} I'm getting a compiler error ...
1
vote
0answers
93 views

Including pdf, error “Undefined control sequence”

I want to insert .pdf files into my pdf file using pdflatex (System is Texlive), but it doen't work neither with \includegraphics nor with \includepdf function (of course, all necessary packages I've ...
1
vote
1answer
61 views

Sketching within a Solution Environment

I wish to sketch a set within a solution environment, but my attempts have led to the following error message: LaTeX Error: Float(s) lost. How do I fix this? Here is a snippet of my code \...
0
votes
0answers
101 views

TeX capacity exceeded, sorry [input stack size=5000] in LyX Classicthesis

I use classicthesis-LyX-v4.2_biblatex_bibtex8 I got this error message when I load hanging module into the parent document (probably my personal issue, as I tried it on the newly downloaded template, ...
0
votes
2answers
49 views

How to lint for undefined control sequence?

So I'm beginning to learn LaTeX and often find myself mistyping control sequences like \idotsint. I use editor plugins which call lacheck and chktex on the document which helps catch some errors, but ...
1
vote
0answers
102 views

How to make pdflatex in (MikTeX) write only the error messages to the log file

I've MikTeX installation on my Windows 8.1. When I generate a PDF from a tex file using pdflatex command it generates lots of content in the corresponding log file from which it's hard to read errors (...
4
votes
0answers
96 views

Getting negative vspace to behave

My TeX code (including parameters in command definitions) that creates lyrics sheets and chord sheets of songs is generated dynamically by other code accessing database data and processing it line by ...
1
vote
1answer
89 views

TeXStudio doesn't recognize self-defined commands in external file

I'd like to define some tables as commands (MWE) in an external .tex file, because there are a lot of settings for them. This external file gets included in the main document by the \input{} command. ...
1
vote
1answer
57 views

How do you write the double turnstille & its negation in ShareLaTeX?

I think the code for the double turnstile is \vDash and the code for its negation is \nvDash. Neither of these commands work for me in ShareLatex. I enter them, hit recompile and nothing appears. ...
6
votes
1answer
53 views

Passing alignment tab character to \ifx

I have the following macro \usepackage{xintexpr} \newcommand\seq[4] %length, delimiter, generating func, last term {% \def\s##1{\def\n{##1} #3} \xintListWithSep{#2} {% \xintApply{\s}{\...
0
votes
1answer
39 views

How can I put a hat on a subscript?

I want to put a hat in a subscript like this: \documentclass{article} \begin{document} $x_\hat{z}$ \end{document} Unfortunately, this results in the errror pdflatex> ! Missing { inserted. ...
1
vote
0answers
76 views

TikZ (tikzexternalize) + subcaptionbox error

Update The error comes up only if I change the pictures themselves or insert/delete a picture that occurs before them in the document. As a dirty workaround, I defined a command \newcommand{\...
2
votes
0answers
40 views

Gummi won't compile document after compiling bibliography, table error [closed]

I'm new to this whole LaTeX thing, and I'm having a problem that I can't even begin to understand. I've written a great big document with several tables and images, and previously everything worked ...
0
votes
2answers
120 views

Why did TeXstudio suddenly highlight some commands with red background?

I tried to compile from a .tex file included by master. TeXstudio didn't infere that master.tex, which was also open in Texstudio was the master. I received a lot of error messages, and as a result, ...
1
vote
1answer
169 views

LaTeX CV template not working probably

Sadly, I wasn't able to copy more than just the first of two errors: ! Package unicode-math Error: Cannot be run with pdfLaTeX! (unicode-math) Use XeLaTeX or LuaLaTeX instead.. See the unicode-math ...
0
votes
1answer
67 views

Exporting an inkscape drawing to latex

I need help please, I'm new to using latex and inkscape. I saved my image from inkscape as a pdf_latex file, in the same directory as my latex document. Then in my latex document I added the following ...
1
vote
0answers
38 views

Error after installing animate and now unable to compile! Is there a way out?

Please can someone help? Two error messages ! LaTeX Error: Two \documentclass or \documentstyle commands.See the LaTeX manual or LaTeX Companion for explanation.Type H return> for immediate help.... ...
6
votes
3answers
36k views

“Misplaced alignment tab character &” error when citing a particular entry

I've been getting the error: 'Misplaced alignment tab character & ...' even in sentences where the &-character is not used. It says it in sentences where I am citing. \documentclass{article} \...
3
votes
1answer
3k views

Spanish.ldf error [closed]

I just installed MiKTeX 2.9 x64 on my windows 8.1 laptop. I use Texmaker as a TeX editor. I'm trying to compile a document with these packages: \usepackage[utf8]{inputenc} \usepackage[spanish]{...
2
votes
1answer
47 views

My latex table does not work as it should

I am trying to solve this issue but I keep getting an error that I cannot get rid of. However the code works fine and compiles every time with the changes. The error: Missing $ inserted. ...
1
vote
2answers
111 views

Numbering exercises, Error: Missing number, treated as zero

I'm trying to horizontally number some exercises for a problem set, and I'm getting an error "Missing number, treated as zero." on the two lines after "\multicolumn" shown here: \documentclass[...
1
vote
0answers
35 views

Runaway Argument Error even with closed brackets [closed]

I am trying to typeset using MacTeX. Every now and then I make a mistake and get an error; this is fine, I can correct this. But sometimes even when I correct and attempt to recompile I get a Runaway ...
2
votes
2answers
72 views

PDF inclusion error when using \input or \include

I have set up a LaTeX file for a book-type document with the following preamble: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{textgreek} ...
8
votes
2answers
19k views

Errors in tables then runaway argument at \begin{document}

I am new to LaTeX and keep having this re-occurring problem. I create a table and notice a mistake (incorrectly specifying the number of columns or something) because the pdf won't compile (I am using ...
2
votes
1answer
26 views

Animate gives errors when I also use bigfoot or cprotect

I get some errors trying to use the animate package with the cprotect or/and bigfoot packages. When I use the cprotect package in: \documentclass[10pt, oneside, openany]{book} \usepackage{graphicx} %...
1
vote
1answer
43 views

Graphic package

Please help, i'm going crazy =) I have new computer and I downloaded Latex and from the old computer I got my "script" in Latex. When I run it on new computer there are bunch of errors. The one I can ...
1
vote
0answers
145 views

You can't use a prefix with `\begingroup' error with Tex live 2013

Minimum not working example: \documentclass[12pt]{article} \usepackage{newtxtext,newtxmath} % Times New Roman \usepackage{tikz} \usepackage{pgfplots} \usepackage{hyperref} % clickable links \...
3
votes
3answers
253 views

Multi-line text retrieved from file via \input, within a newcommand declaration, passing newly declared command as argument of standard letter class

I have put together a minimum working example consisting of a number of files mwe.tex % instance of personal letter address.tex % full address of individual being addressed in mwe.tex C:\LocalTeX\...
1
vote
1answer
141 views

After using \newcommand, Undefined control sequence error persists

I am using IEEEtran for a conference paper. When I try to define the \vicon seen in the code, I get an Undefined control sequence error. Although not shown in this code, the same error pops up for ...
1
vote
2answers
2k views

miktex-makepk: PK font Alegreya-Regular-lf-t1--base could not be created

I just want to use Alegreya font with pdflatex. i had a question about an error before and got an answer. But it gives another error now. what should i do. error message: miktex-makepk: PK font ...
0
votes
0answers
108 views

mnsymbol.sty is installed but latex cannot find the .sty file - Ubuntu 14.04

I'm using Ubuntu 14.04 and Texlive 2015. I installed Texlive using tl-install-ubuntu found here. Everything seems to be working except that I receive the following error when trying to use the ...
2
votes
1answer
23 views

Figure problem with catchfilebetweentags

This question is a follow up and based on this answer by touhami Situation I would like to create an excerpt from a script that I have TeX'ed as a compendium of the most important statements (...
1
vote
0answers
45 views

Why are missing characters reported as warnings and not errors?

In the following example, the PDF compiles without error using xelatex: \documentclass{article} \usepackage{fontspec} \usepackage{xunicode} \usepackage{polyglossia} \setdefaultlanguage{english} \...
1
vote
0answers
27 views

uppercase greek letters in mhchem formulas gives error when compiling [duplicate]

I tried compiling a ~1 year old document today and noticed that I got an error when using a uppercase greek letter in a chemical reaction. Here's an MWE (with an example from the mhchem manual): \...
2
votes
0answers
51 views

Texmaker error “File not found” when using a “build” subdirectory for output files

I am using Texmaker in Ubuntu and have a file that worked when compiling using Quickbuild: LaTeX + Bib(la)tex + LaTeX (x2) + dvips + ps2pdf + View PDF. In order to tidy up my directory I picked the ...
1
vote
0answers
27 views

Including Subindex in Figure Caption [closed]

I'm trying to include a subindex in a figure caption as: \begin{figure}[h!] \centering \includegraphics[width=\textwidth]{./Image_2.png} \caption{Some text in the caption with $Sub_{...