New answers tagged

3

The graph drawing library is probably one of the more complex parts and on top of this, this particular diagram is a particularly complex diagram too. Looking through your code, there are a few issues I can identify: Firstly, there are quite a few superfluous libraries. This is not detrimental, but not exactly recommended either; The graph drawing ...


2

The problem is with how you specified the path in the preferences. The correct path is /Library/TeX/texbin not Library/TeX/texbin/pdflatex (which is not a directory path, but the actual pdflatex program itself. The error you got showed this since it said /Library/TeX/texbin/pdflatex/simpdftex does not exist. The presence of pdflatex in the path is the ...


0

When I encountered this problem, Herbert's solution works if indeed you dont want to create an index. In the case that you do need to, and are trying to compile but get this error, make sure you have the code line \makeindex so that you create the index file! :)


0

I have found the same problem but none of the above answers solved it. In the end, I found the code \'{\i} in my .bib file. This was supposed to yield í but was producing a crazy unicode char that broke compilation. This .bib file was exported from CiteULike based on a reference that I entered mannually or copy-&-pasted from somewhere else. I suppose ...


3

Your document runs without error on an updated latex. You haven't shown the start of the log which would show the latex version but it looks as if you have an inconsistent installation with ltluatex.lua coming from the October 2015 latex release but a format from the 2015/01/01 release. Most likely you have the updated files but the formats did not rebuild. ...


1

It just means that you don't have those packages, You are using texlive 2015 so a command such as tlmgr update relsize should fetch that package and install it locally.


4

classicthesis redefines the description label and inserts a rather fragile command based on commands from the package soul. This explodes when the description label is a rather complicated command as in the list created by printacronyms. You can avoid that soul is used by using the option pdfspacing or by redefining \descriptionlabel: \documentclass ...


3

\documentclass{article} \usepackage[T1]{fontenc} \begin{document} \begin{tabular}{r|p{11cm}} \emph{Jun 2010 - Current} & Soccer Player at \textsc{University of ...}, City, Country \\ & \begin{itemize} \item An excellent forward and some more stuff \item bullet list item one \item bullet list item two \end{itemize} \end{tabular} ...


5

\documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{sansmath} \begin{document} foo \sansmath \begin{align*} a & b & c \end{align*} \end{document}


2

It must be \usepackage[utf8]{inputenc} And the warning that paper1.bib already exists comes from filecontents, which is no problem. However, your example with the given bibliography worked fine with pdflatex and xelatex, too.


2

\Item is not the same as \item. Do not use uppercase in a command when it should be lowercase and the error will be removed. \documentclass[a4paper,10pt]{article} % Default font size and paper size \begin{document} \begin{itemize} \item this is not a test \end{itemize} \end{document}


3

You need to protect \underline in a moving argument such as the section title: \documentclass{report} \begin{document} \tableofcontents \subsection{Step 1 --- finding $\protect\underline{z}$} \end{document}


1

As there seems to be a conflict over the use of \underline and/or math-mode material in the Table of Contents, you could try \subsection[Step 1 - finding \b{\textit{z}}]{Step 1 - finding $\underline{z}$} if your document does need a Table of Contents. The material in square brackets -- note that it contains no math-mode material or \underline instruction ...


0

It seems the problem lies with the TOC. Removing the line \tableofcontents allows the project to compile. So, I guess you can't use underlined variables within inline equations in section titles.


6

the document makes no output, add \maketitle after \author then it will make a PDF file to be found.


1

Below is your code with corrected all your error (almost 2 hour of work ...). Also is for first two pages (till to item 3 is reformatted into form usual used in latex. For this purpose i replace amsmath with mathtools, which provide macro \shortintertext. Your code has so many errors that give up in their counting. In formating of document I use answer of ...


2

First thing first, When you use commands like \section*{} , you actually need to write something in it !! 1.- Demuestra que $\int _{ a }^{ 0 }{ x\quad dx=-\frac { { a }^{ 2 } }{ 2 } } $, para todo $a<0$ \\ Which I suppose from this line, it should be something like: \section*{Demuestra} Which honestly, doesn't make any sense. :) Are you trying ...


4

\documentclass{standalone} \usepackage{amsmath} \begin{document} $\frac { { b }^{ 4 } }{ { n }^{ 4 } } \left( \frac { { n }^{ 2 }+2n+1 }{ 4 } \right) =\frac { { b }^{ 4 } }{ 4 } \left( \frac { { n }^{ 2 }+2n+1 }{ 4 } \right)$ \end{document} Note that I have written \left and not \left. In your code there were to many curly brackets and $ was missing. ...


0

This is not really a latexmk issue; it's about the behavior of pdflatex. No combination of options (as far as I can tell) both turns off the usual voluminous output and turns on file-line errors only. (I have a vague memory that pdflatex used to behave differently many years ago.) The best that you can do is use some other program that analyzes the log ...


10

You need to compile with lualatex! If compiled width pdflatex, there's a warning message Package tikz-feynman Warning: LuaTeX is required if you wish to have vertices a utomatically placed. You can disable this warning by setting /tikzfeynman/warn luatex=false on input line 8. However, disabling the warning does not cure the problem. Unfortunately the ...


0

I don't think there is a built-in solution. But if I understand your question correctly, you could use something like this: latexmk -pdf -pdflatex="pdflatex -file-line-error -interaction=nonstopmode" file.tex | grep "^.*:[0-9]*: .*$" Or the even less verbose variant that just prints the message lines: latexmk -pdf -pdflatex="pdflatex -file-line-error ...


4

A # is a special character. TeX assumes you mean to use it to refer to an argument parameter. If you wish to literally typeset a hash symbol, you must escape the character or otherwise request it indirectly. For example: \documentclass{article} \title{A \# to end all \# s} \author{S. O. M. E. Body} \begin{document} \maketitle \end{document}


0

I saw this issue with a jpeg file. By changing its extension from .JPG to .jpg (yes, just capital to lower) the error went away. $ pdflatex --verion pdflatex: unrecognized option '--verion' This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) restricted \write18 enabled.


1

Just go with \DeclareAutoCiteCommand{footnote}{\footcite}{\footcites} to let biblatex-mla know what to do with autocite=footnote. MWE \documentclass[11pt]{article} \usepackage[backend=biber, style=mla, autocite=footnote]{biblatex} \addbibresource{biblatex-examples.bib} \DeclareAutoCiteCommand{footnote}{\footcite}{\footcites} \begin{document} foo ...


3

tabularx is not a float and the commands you are using don't work there (they work with floats like table). You have following options: Enclose tabularx inside table environment and use \renewcommand{\intextsep}{2cm}. In this case you won't need \captionof but \caption will suffice. Or Put the \captionof above tabularx and use \captionsetup{aboveskip=2cm} ...


3

You have an incomplete TeX distribution, you should probably update by your package manager (miktex or tlmgr or your linux package manager, or whatever you are using) ptmr is Times Roman (or a clone). What is supposed to happen is that the Tex metric files are installed (I think you have that) on my system (texlive 2015) that is $ kpsewhich ptmr8r.tfm ...


7

The glibc manual uses texinfo (not LaTeX) and the file texinfo.tex provides some TeX (not LaTeX) macros. You have to use texi2dvi or texi2pdf to create the manual. Try: $ texi2pdf libc.texinfo Also: There should be a make target in the Makefile. In the root directory of the glibc source try something like: $ make pdf And: You could just download it: ...


8

the error message is due to missing braces around the subscript, but other non-reported errors are use of math-italic for words, and use of \left,\right in this context also \mid gives perhaps better spacing than | \documentclass{article} \begin{document} $\mathrm{Encrypted}(k_{\{ \mathrm{subcontractor},\mathrm{airplane}\}}, \mathrm{softwareBytes} \mid ...


5

The strings mhchem-text and mhchem-math both appear in mhchem.sty 3017: { \chemgreek_get_from_mapping:nn { mhchem-math } {#1} } 3018: { \chemgreek_get_from_mapping:nn { mhchem-text } {#1} } 3195: \chemgreek_declare_mapping_alias:nn { mhchem-text } {#1} 3200: \chemgreek_declare_mapping_alias:nn { mhchem-math } {#1} 3299: ...


0

I just had the same problem. I tried terminating the processes "winedit" and "pdflatex" from the Task Manager and restarted winedit. Compiled the .tex file again. It worked.


-1

I had a similar issue where I was using the inbook template for webpages. To get the format of the reference to appear correctly I had put {[Accessed 22 January 2016]} in the year field. I was referencing two webpages from the same website so the overall references were very similar differing only by title and URL. It would compile when I had one of these ...


4

This seems a strange thing to give an error on, it's normal to label anything that might conceivably be referenced, but anyway \documentclass{article} \usepackage{amsmath} \usepackage{refcheck} \makeatletter \let\old@warning@rc@\@warning@rc@ \def\@warning@rc@#1{\x@warning@rc@#1\relax} \AtEndDocument{% \immediate\write\@auxout{\gdef\string\rc@unlab{Unused ...


5

There is currently no way to get this up and running except to disable the externalization temporarily (as mentioned in your question). The reason is that the externalization library has to scan for the entire picture environment such that it knows which parts are to be replaced by an external picture. To this end, it starts a low-level token search for ...


3

\include is really intended for the inclusion of chunks of a document which you might want to compile on their own while working on them e.g. chapters which are part of a book. As such, it is designed for that kind of case and comes with certain restrictions. It should not be used in the preamble, it cannot be nested and so on. \input is intended to read in ...


0

The following complete example gives no error with a current xelatex \documentclass{IEEEconf} \begin{document} \title{zzz} \author{z. zz} \twocolumn[ \begin{@twocolumnfalse} \maketitle \end{@twocolumnfalse} \vspace{2mm} \hrule \begin{abstract} abstract text. \end{abstract} \hrule \bigskip ] aaa ...


1

If your document looks like \documentclass{article} \begin{document} \usepackage{subfigure} \end{document} then you get the error ! LaTeX Error: Can be used only in preamble. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.5 \usepackage ...


2

You appear to have used \label{fig:example} multiple times which accounts for the first set of warnings. Each label is supposed to be unique in the document. the runaway argument error is most like use of a fragile command in the caption for the figure with caption 3 x 3 grids... you need to use \protect in front of fragile commands if used in a caption. ...


3

The error you are getting is because you are trying to use the apacite bibliography style without loading the apacite package. Since you are using natbib citation commands you should load the package with the natbibapa option: \usepackage[natbibapa]{apacite} See the following question for more discussion: What is the relationship between natbib, ...


-1

I have been checking the bibliography and found the chars causing the Errors. It seems to be working know. I needed to delete the chars and rerun Biber on the File. Thank you all for the Help


2

The error depends on a conceptual error in the biocon package, which uses \edef in places where textual input is expected. Macros for accented characters (which are implicit when you use UTF-8 input) don't generally survive \edef and, indeed, LaTeX has \protected@edef for the purpose. I made an experiment: I edited a copy of biocon.sty, changing every \edef ...


2

If you are not particular about which \lightning symbol you use, you can substitute \usepackage{stmaryrd} %\lightning for \usepackage{marvosym} %\Lightning Or for another one with a lightning symbol, you can check page 101 from The Comprehensive LaTeX Symbol List to see other similar symbols. I don't know what other packages you need to add so this ...


7

Perhaps, instead of $DM_i_j$ you need to type $DM_{i_j}$ or ${DM_i}_j$ depending of what you have in mind.


2

I've managed to fix it by splitting all lines of code with new lines (when copied from intellij all '\n' characters have been removed and this cause a problem as the source was too long). Then, by right clicking the source code("Program listing") and going to the "Settings" I've changed the following: in the Style menu box picked smallest font type (not ...


2

I suggest you use a dcases* environment (provided by the mathtools package, a superset of the amsmath package) for the job at hand. This environment differs from the cases environment in two important ways: (i) the math part (before the & separator) will be typeset in display-style math, and (ii) there's no need to wrap the text-material (after the & ...


1

This seems to work fine: \documentclass{article} \usepackage{amssymb,mathtools} \begin{document} \begin{equation} \mathcal{L} = \begin{cases} 1 & \text{if $i = j$ and $deg_j \neq 0 $} \\ -\frac{1}{\sqrt{deg_i deg_j}} & \text{if $(i, j) \in E$} \\ 0 & \text{otherwise} \end{cases} \end{equation} \end{document}


1

As your suggested code uses \makebox it is clear this is intended for LaTeX. LaTeX box commands always use horizontal mode to avoid this and other problems. The direct analogue of \raise is \raisebox but here a tabular seems more natural. \documentclass{article} \begin{document} \newcommand\withHatTitle[2]{\begin{tabular}[b]{@{}l@{}}% #1 \hrulefill\\% ...


1

Well... Lets say she is not used to Linux paths and named her images with ä,ü,ö etc... This created the errors since it could not load the pictures. So yeah, this problem is solved, her latex errors she corrects herself! :P Thank you for the help anyway and have a nice evening! :)


0

I had this happen and the problem was a statement like this: \newcommand{\textyen}{¥} Internally, somewhere else, the yen symbol was being mapped to \textyen. That of course made an endless loop (gripe-on)The lack of a good error message that includes the exact symbol that it was processing at the time, or the exact line number of the file that it found ...


4

Since Biber and biblatex are integrated so closely it is not always entirely clear if the problem you are facing is a Biber problem, or a biblatex problem. There are at least five primary sources of trouble when using Biber Installation issues Usage issues Version mismatches The infamous cache bug (should be irrelevant for Biber versions >= 2.2) Malformed ...


3

First of all, I noticed that you used \''\u to try to write the ü-umlaut. The shortcut for the three German umlauts and the sz ligature actually are: \"a for ä, \"A for Ä \"o for ö, \"O for Ö \"u for ü, \"U for Ü \ss{} for ß What is way easier than typing those shortcuts and leads to a cleaner source, though, is saving your files with UTF-8 encoding and ...



Top 50 recent answers are included