Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [errors]

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

1
vote
1answer
36 views

Why does \renewcommand{\Pr} trigger “Limit controls must follow a math operator” with MathJax+htlatex?

I have ht5mjlatex.cfg as defined here, and a foo.tex containing: \documentclass{article} \renewcommand{\Pr}[1]{P(#1)} \begin{document} $\Pr{h}$ \end{document} As described in that post, I try to ...
7
votes
1answer
69 views

Can I defend against “Dimension too large” errors?

I'm trying to debug the error in "Dimension too large" error with too many tikzmarks which involves getting a Dimension too large error (duh). I have my suspicions as to what is causing it, ...
0
votes
0answers
30 views

Sudden double space in ShareLatex

I'm writing a book and sometimes I just have some double space between paragraphs. I don't know how to fix it. My book code concerning the chapter format is: \makeatletter \renewcommand{\@chapapp}{}...
1
vote
1answer
36 views

Another Paragraph ended before question

I'm using Texstudio to write my thesis and there is a warning and an error for which I cannot seem to find the source. The error is Paragraph ended before \HyRef@autoref was complete and Texstudio ...
1
vote
1answer
48 views

error after an upgrade of MikTex (interfaces and pgfkeys)

I have a compilation problem with an old document, wich i cannot recompile today with an up to date MiKTex 2.9 installation on Windows. It seems that it is a problem with latest version of pgfkeys. ...
0
votes
0answers
17 views

Section numbering jumps when copying and pasting from another .tex document

I am trying to compile two documents into one larger document. I created a separate file with the same preamble as both, then copied and pasted the first followed by the second document into the ...
1
vote
1answer
32 views

Tikzcd with Beamer: extremely simple code results in & ampersand catcode error

\documentclass{beamer} \usepackage{amsmath} \usepackage{tikz-cd} \begin{document} \begin{frame}[fragile, t]{My slides} \only<1>{ \begin{equation*} \begin{tikzcd} a \end{tikzcd} \end{equation*}...
4
votes
1answer
49 views

“Dimension too large” error with too many tikzmarks

This is a follow up to the discussion here. Andrew provided a patch for the problem that when the page number go too large it created the problem (see his and Ulrike's answers in the linked question)....
0
votes
0answers
22 views

Word doesn't appear after compiling

So the problem here is that the word I type at line 119 (for those who can read Chinese characters, it's the word "潟") doesn't come out on the right after compiling. The missing Chinese character ...
1
vote
1answer
18 views

Cite fails after `\tableofconents` in `svjour3.cls` when `todonotes` is loaded

When using the Springer class svjour3 (can be obtained here), I stumbled upon a problem with \cite. Look at the following minimal example: \documentclass{svjour3} \usepackage{todonotes} \usepackage{...
1
vote
0answers
39 views

Latex error: could not start the command

I run into this problem after I upgraded my mac system: Error : could not start the command : "/usr/texbin/pdflatex" -synctex=1 -interaction=nonstopmode My mac is Mojave (Version 10.14.4), Texmaker ...
1
vote
1answer
19 views

Error when refactoring Tikz, scope argument gives error when given via a command

When I do \begin{scope}[every node/.style={minimum size=1cm,draw,rectangle}] \node (v1) at (2,0) {$\#1 \cdot \#2$}; \end{scope} it works. But when I do \newcommand{\operatorNode}...
0
votes
1answer
26 views

TexStudio returns line errors don't exist

My version of TexStudio (2.12.14) returns errors in lines that don't exist (670 when the maximum is 240). The architecture of my document is a main file that imports some chapters. The error occurs in ...
0
votes
0answers
21 views

The file did not build

I tried to build the Latex file to view the PDF format but it always gave me the following message I downloaded the package that mentioned but it did not work. Can anyone help me to solve this issue. ...
1
vote
0answers
27 views

pdflatex doesn't find package although it is installed

When I am running pdflatex template.tex I get the error ! LaTeX Error: File `xstring.sty' not found. However, I have downloaded the package myself and placed it in a latex-folder: $ find . -name ...
0
votes
1answer
26 views

How can i remove this blank page after my list of figures?

All chapters of my work have enough text in them to fill atleast two pages, so this is not an issue, but for my list of figures, i get this empty page after wards: This is my main page: \...
3
votes
2answers
78 views

Tcolorbox tcbcol@back and tcbcol@frame are undefined in 4.20

Tcolorbox tcbcol@back and tcbcol@frame are undefined in new version (4.20) of package. What one should to use instead?
1
vote
1answer
28 views

pdflatex error: Missing \begin{document}

I have a settings.tex file that looks like this: \documentclass{letterpaper, 12pt, amsart} \usepackage{ifthen} \usepackage{amsmath} \usepackage{amsthm} \usepackage{tikz} And I file test.tex that ...
0
votes
1answer
35 views

Diagnosing “\end inside a group” in a multi-file document

I am getting the following message in the log file of a very long document (>700-page book) with many \included files: (\end occurred inside a group at level 2) ### simple group (level 2) entered at ...
0
votes
0answers
29 views

LaTeX not generating the pdf

So I am using the latex model that my university gave to me, and I am receiving the following error message: Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "trabalho".tex Sorry, ...
0
votes
1answer
23 views

Arara reports an error when encountering the method `writeToFile`

Consider the following LaTeX document that starts with an Arara script consisting of a single directive that is spread across 5 lines. % arara: halt if % arara: --> exists(toFile('arara.file.temp')...
3
votes
1answer
29 views

You can't use `\eqno' in math mode. \end{equation} and Missing } inserted. \end{equation}

i'm trying to write this equation but LateX give me these errors. I already find similar question but any of them can solve the problem. Any suggestions? \begin{equation} \rho(X,Y) = {{{E(XY) - E(X)-...
1
vote
1answer
70 views

An error about ! Undefined control sequence

I am a beginner to coding latex. I am planning to write a paper using latex. For that, I am going to use the following style file, https://dsw19.rutgers.edu/spconf.sty , which is mentioned in IEEE ...
0
votes
1answer
29 views

! Missing } inserted.<inserted text>} \end{gather}

\begin{gather} \sigma_1$ = $\dfrac{M_1.y}{I_x}$ + $\dfrac{F_z}{A}\tag{1}\\ \sigma_2 = \dfrac{M_2.y}{I_x} + \dfrac{F_z}{A}\tag{2}\\ M_1 = F_y.L_1\tag{3}\\ M_1 = F_y.(L_1 + L_2)\tag{4}\\ \sigma_3 = \...
0
votes
0answers
20 views

TexStudio problem (Error: Could not start the command) [duplicate]

I have a problem for texstudio software. When I write a very basic format, it always goes wrong. The error presents as "Error: Could not start the command: pdflatex.exe -synctex=1 -interaction=...
2
votes
2answers
76 views

Why I get “emergency stop” for simplest template in TeXnicCenter?

I'm newbie in LaTeX and sorry for silly question from my side. I'm using TeXnicCenter compiler and always get "emergency stop" for every template I've downloaded. what's wrong with that? what's the ...
2
votes
1answer
27 views

Conflict error when using \pstMarkAngle with XeLaTeX

I’m trying to produce a pspicture with marked angles, so I’m using the pstricks extention pst-eucl. Here is a minimal example: (I’m using MikTeX 9.25 together with TeXmaker on Windows 7) \...
3
votes
2answers
72 views

Undefined Control Sequence for my 0-norm

I'm new to latex and am using some stuff from a document my professor sent out. I'm trying to define something in a paper I'm writing. Here is what I have: \documentclass[11pt]{amsart} \usepackage{...
1
vote
0answers
26 views

! Undefined control sequence. \documentclass [duplicate]

I got ERROR in LATEX like this Error ! Undefined control sequence. \documentclass anyone is there give me response quickly ... I hope give the answer in detail because i already read more answer ...
0
votes
1answer
32 views

Please, help with the mistakes with table

\begin{tabular}{|c|c|c|c|} \hline Население в регионе & Оценка (вес - 2) & Реализованная инфраструктура & Оценка (вес - 4) \\ \hline < 25 000 & 1 & > 76% &...
0
votes
2answers
42 views

I keep getting an error when trying to use \mathlarger

I am trying to include a summation in a paper. I was able to get it to work using this code orignially: \begin{center} $$\sum_{r=1}^{\infty} \frac{1}{r^{n}} = 1 + \frac{1}{2^n} + \frac{1}{3^n} + .....
2
votes
1answer
22 views

Error to write a more-lines formula with equation

I am using latex (with TEXMAKER editor) in order to create this formula I use this code, but i get an error message that I can't understand where I wrong \begin{center} \begin{equation} ...
2
votes
2answers
75 views

amsmath: getting an error while using math mode to define piecewise function

I have the following Latex code: \begin{center} $\beta(u)$ = \[ \begin{cases} 1 & $|u_{j}| \leq \frac{1}{2}$ \\ 0 & else \end{cases} \] \end{center} On the 3rd line, Latex ...
0
votes
1answer
52 views

Problem with \includegraphics and long relative path and parent folder

after a long search without results I hope you can help me. Here is my problem: I can't load .pdf files with \includegraphics. The background is that I have one repository to create my frequent used ...
0
votes
1answer
61 views

How to create an alternative to shortcut "= or \hyp{}?

After this question answer How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that. On my ...
3
votes
4answers
183 views

Error message with tabularx

I am very very very new to LaTeX, like I just started understanding what is does yesterday. I am using Stata 15 and wanted to make nice tables. There is a problem with the code below. I keep getting ...
3
votes
1answer
71 views

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

I have a 40 page long document that works fine for the most part, but starts having heaps of errors on different lines by the end. The document has a total of 42 errors, happening on several lines, ...
1
vote
2answers
51 views

Error: Extra }, or forgotten \right while keeping the correct hight of brackets [duplicate]

The following works fine, \begin{equation*} \begin{aligned} \begin{split} \left\| \left(a - c\right) - \frac{|b|^2\cdot |d|^2}{|b \times d|^2} \left[ ...
0
votes
0answers
27 views

How to write the hyphen substitution of - by \hyp on my preamble?

When I integrated this How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package? into my main document, I got errors about hyphen usage on translations packages: Redoing ...
0
votes
1answer
38 views

How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?

I found this answer on http://www.oipapio.com/question-79176 \documentclass[10pt,a5paper,twoside]{article} \usepackage{hyphenat} \cs_new:Npn \hyphenfix_emdash:c {---} \cs_new:Npn \hyphenfix_endash:c ...
0
votes
2answers
41 views

! Missing { inserted

\begin{align*} f_{y_1,y_2} (y_1,y_2) &= f__{X_1,X_2}(y_1, \frac{(1-y_1)}{2} - \sqrt{ \frac{y_2}{2} -\frac{{y_1}^{2}}{2} - \frac{(1-y_1)^{2}}{4}} ) \abs {J_1} + f__{X_1,X_2}(y_1, \frac{(1-y_1)}{2}...
5
votes
2answers
222 views

“Patch failed” in EMNLP Style Template

I was trying to use the LaTeX files for the EMNLP 2019 conference (download link can be found here), but when I try to compile the provided example .tex file, it doesn't work and I get the following ...
1
vote
1answer
44 views

pdftex.def Error when .eps file is saved on a network drive

Consider the following MWE: \documentclass{article} \usepackage{graphicx} \usepackage{epstopdf} \begin{document} \includegraphics[width=0.5\textwidth]{knightstour.eps} \end{document} where ...
1
vote
1answer
41 views

Error with ! Extra }, or forgotten \right

Here is my latex code: \begin{document} \begin{align*} f_{Y_2}(y_2) &= \int_{\frac{1-\sqrt{2(-1+3y_2)}}{3}}^{1}\frac{1}{4\sqrt{R}} \mathrm{d}y_1 + \int_{0}^{1-\sqrt{-1+2y_2}}\frac{1}{4\sqrt{R}} \...
1
vote
1answer
22 views

Illegal pream-token error

I'm facing an error while compiling and have already included the necessary packages. O want the three columns to be 15 % 70 % 15% respectively and the first two left aligned with the third right ...
0
votes
1answer
24 views

TeXstudio fails to compile a Nature template

I have downloaded a template for Nature article from Sharelatex (from here), but when I try to compile it using TeXstudio or TexMaker it gives me this error message: File `nature.cls' not found. ^^M ...
1
vote
2answers
40 views

Listing in a command error: Text dropped after begin of listing on input line

While I wanted to test some alignment options to ask another question regarding to listings, I have encountered a problem that I was not expecting. Consider the following code: % Preamble \...
0
votes
0answers
177 views

Why latex does not tell me which command is undefined?

From the beginning, took me a lot of time to come with the following minimal example: \PassOptionsToPackage{main=brazil,english,spanish,french}{babel} \documentclass[ 10pt, a5paper, ]{memoir} \...
0
votes
3answers
34 views

Tilde in section title + amsmath & hyperef & silence leads to crash

I stumbled upon a LaTeX crash (capacity exceeded, parameter stack size=10000) and condensed it into the minimal working example below. I assume this is a bug in one of these packages? Can anyone ...
0
votes
0answers
77 views

Error: Files not found

Dear LateX community, I've been working with LateX quite some time now and have now a document that originates from a template from this website. https://www.rsc.org/journals-books-databases/journal-...