New answers tagged

0

The issue was an older version of texlive (v2016) instead of 2017 (or greater). Updating texlive solved the problem.


0

(This should really be a comment, but it's easier to explain with more flexible formatting.) Both error messages show this input string: \^{i}n\c^{a}t It isn't shown as math (it isn't between $...$), but some elements will be interpreted as math, and latex will switch to math mode when that happens. If the switch to math mode was made before this string ...


0

It seems you inadvertently ended up in mathematics mode (special LaTeX mode for mathematical formulae), thus the complaints. Check if you opened an inline equation (e.g. by a $ or \() that you haven't closed (with a $ respectively \)). Or perhaps you are using $this text in italics$ (that doesn't work right, while the mathematics fonts are sort-of-italics, ...


1

U+200E is the left-to-right mark, which you probably copied and pasted into your document from the Web. You should probably remove it in your text editor. If you are mixing different languages in your document, and want to keep the bidirectional mark, you probably want to load babel or polyglossia instead and use their commands to switch languages. If you ...


12

I wrote to the author (Scott Pakin), and he gave me a very important workaround to build the document (partially). Here I list the workaround and some tips help me when building. The package uni.sty needs a fix (thanks to Scott Pakin): % change \else\noexpand\UniError{#1}\noexpand\fi}}}{% % to \else\noexpand\UniError{\noexpand#1}\noexpand\fi}}}{% If ...


3

Please try with: \usepackage{dsfont} \mathds{1}


3

IMHO GeoCobra is a tool that is not to be used to draw graphs. If you want to plot a function, pgfplots, which you load, is appropriate, but not all the output from some black box that you do not understand, and which produces these errors. Rather, you can just plot the function, let TikZ find the intersections and so on. \documentclass{standalone} \...


1

My suggestion is to abandon the old pdflatex Hebrew toolchain. It's just not worth the hassle. Now lualatex and babel provide excellent support for Hebrew. The only slight difficulty is that LyX does not support setting this up through it's user interface. You have to add things directly to the LaTeX preamble. Here's a sample LyX file (Update to support ...


4

The warning about entry type is telling you of a typo @techrepor is missing a t The first error is a missing comma after institution = {Center for Reliable and High-Performance Computing, University of Illinois at Urbana-Champaign} The repeated entry error is because you have two entries with the same key @inproceedings{Shi16, lines 315 and 257 And ...


1

LaTeX is very picky on output appearance. Underfull \vboxmeans it has got a page it thinks is too empty. Look at the output, see if it is acceptable. Most of the time, trying to force LaTeX into behaviour like \flushbottom is a mistake, it does fine without much meddling.


2

(too long for a comment, hence posted as an answer) You wrote, It seems to me there is nothing wrong with the syntax. Actually, something is wrong with the syntax: All-blank lines are not allowed in math mode -- both inline math mode and display math mode. For more on this subject, please see the earlier postings Blank lines in align environment and ...


1

Your document's code suffers from several commonly-encountered problems: Load the hyperref package last. There are very few exceptions to this rule. (The cleveref package is one of those exceptions: It must be loaded after hyperref.) Don't load both subfig and subcaption. They are not mutually compatible. Choose only one or the other, but not both. The ...


0

You don't need to switch the color back if you enclose the whole expression in two curly brackets: {{\color{blue} blue text }} will print "blue text" in blue, then pop back to the original color.


2

You need to allow paragraphs in the mandatory argument, which is obtained with +m instead of m. \documentclass{book} \usepackage{environ} %fancy boxes \usepackage{xcolor} \usepackage[tikz]{bclogo} \usepackage{etoolbox} \usepackage{blindtext}% \usepackage[skins,breakable,xparse]{tcolorbox}% \bibliographystyle{mit-chicago} \DeclareTotalTColorBox[auto ...


0

The undefined command is not \begin{bibliography} but \SBlongestlabel: ! Undefined control sequence. \thebibliography ...\expandafter {\SBlongestlabel } \immediate \write \NMSB@... l.1 \begin{thebibliography}{2} It is clearly a bug in the package, but it is not completly clear what the author intended. ...


1

I'm not sure that breqn can help in that case. Here's working code. \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{mathpazo} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\mlist}{m} { \group_begin: \thinmuskip=3mu plus 3mu \seq_set_split:Nnn \l_tmpa_seq { , } { #1 } $\seq_use:Nn \l_tmpa_seq { ,\allowbreak }$ \group_end:...


1

I use TeXStudio with TeXLive and it works fine. Yesterday I was installing Julia, Atom, Juno, Anaconda and many other things and I also changed some paths in the environment variable of my computer. This caused my TeXStudio shows an exactly similar error as in the question here and also the question in the post in this link (click here). This is the error I ...


-1

just use \&. It works completely fine. \If{$i < j+bandSize$ \& $j < i+bandSize$} \State $DTW_{i,j}\gets min(DTW_{i,j-1},DTW_{i-1,j},DTW_{i-1,j-1})+(f[i]-s[j])^2$ \EndIf Example from the question is modified for a clear explanation.


4

This was a bug in pict2e. I mailed the maintainers and Rolf replied positively. He incorporated the changes below and the problem should be fixed now (version 0.3c, 20-08-2019). The macro \pIIe@checkslopeargs used to do: \renewcommand*\pIIe@checkslopeargs[3]{% \def\@tempa{#1}\expandafter\pIIe@checkslopearg\@tempa.:{#3}% \def\@tempa{#2}\expandafter\pIIe@...


1

Old question, but this answer might be helpful to someone: To answer the question in the title, your error, 'unicode-math warning: "mathtools-colon"', is simply due to mathtools and unicode-math trying to use the same names for things. It's just a warning from unicode-math as the packages aren't 100% compatible, but can be ignored. You can suppress it if ...


0

The problem was that TEXMFVAR was defined as the same as TEXMFSYSVAR in texlive.profile. Those two folders are owed by root, so luatex is not able to create necessary files while compiling. The solution is to define TEXMFVAR to other folder; for example, $USR/.texlive/2019


0

From a similar question, the answer that worked for me was adding \usepackage{hyperref} \usepackage[T1]{fontenc} to the preamble. (Or \usepackage[hidelinks]{hyperref} to avoid the ugly boxes.) Credit to Ulrike Fischer and CGFoX


2

.aux files are caches to improve compilation, but could become corrupt. You should delete the .aux file, which may have been corrupted during a previous compilation (click on Logs and output files, then on Clear cached files). This also explains why a new project would fix the problem since it doesn't have any auxiliary files to begin with.


0

I was looking for an answer here: (duplicate question) Package babel Error: Unknown option `ngerman' For me on different Ubuntu derivates, this did the trick: sudo apt-get install texlive-lang-german (don't forget the install as in egreg's comment there, where I have this from) For Fedora/Debian please use sudo dnf install texlive-babel-german Of ...


1

As @UlrikeFischer noted there is a file "lgrenc.dfu" missing from the greek-inputenc package, supposedly due to a bug. As he said, Until the bug is repaired you can get the missing lgrenc.dfu from ctan and copy in the folder in which your tex file is. ctan.org/tex-archive/language/greek/greek-inputenc This apparently resolved my issue and it works great!


0

Tested on: Ubuntu 18.04, TeXlive 2019 (tlmgr) Run tlmgr info pzdr You will find the package where pzdr.tfm is located. In this case, it is zapfding. Then what you have to do is run tlmgr install zapfding


Top 50 recent answers are included