Tag Info

New answers tagged

1

Check your bib file for the line which google, or journal, often add when you export a citation. language={english} delete it, then delte the .bbl and the .aux, then recompile


1

baposter.cls has a rather involved definition of the environment poster, wherein it sets some lengths headerheight, colheight, etc. If you leave the title argument blank and put \setlength{\colheight}{\textheight} after \begin{poster}{...} the headerboxes move to the top. Please try the code below. \documentclass[paperwidth=50cm,paperheight=100cm]{baposter} ...


5

You use \addplot table, but then provide a coordinate stream instead of a table. Also, you say y=Y, but there's no column called Y in your data: \documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotsset{compat = newest} \begin{document} \begin{tikzpicture} \begin{axis}[ title={BET Plot ...


1

Too long for a comment: I get no errors with the following document. Note that I've removed all of the packages except the necessary textcomp and pgfplots. If you still have errors, please post the exact error message. \documentclass{article} \usepackage{textcomp} \usepackage{pgfplots} \pgfplotsset{compat = newest} \begin{document} \begin{tikzpicture} ...


2

If you use package hyperref you will get the inbuild bookmarks of hyperref. If you want to configure the bookmarks you can load package bookmark after hyperref. See texdoc hyperref and texdoc bookmark for more information or search this side ;-) Give the following a try: \usepackage[hypcap=true]{hyperref} % hypcap corrects an error pointing to images ...


0

This is an answer to the specific issue raised in your updated question i.e. now we have an MWE. First, do you want to use KOMA or not? To my mind, if you do not generally agree with the design principles laid out in chapter 2 of the manual - or if you are not permitted to abide by them - then you would be better advised to choose another class. These ...


5

Your code has two \documentclass lines so will generate an error whatever document follows. Also never use epsfig package, use graphicx. If you have a problem with \mathbb it would have helped if you had provided an example showing that problem. But you need to load amsfonts package.


2

Here's an example based on one of your other questions: \documentclass[paper=6in:9in,10pt,twoside,pagesize=pdftex,openright]{scrbook} \usepackage{kantlipsum} \begin{document} \kant[1-20] \end{document} This gives me 2 overfull boxes (for 10 pages of text). And this is a text with its fair share of bizarre Kantian terminology which is probably not the ...


5

There are many better solutions. Some short sugestions for a start. More characters in a line is one of the simplest solutions. You should have 60 characters in a line as the starting point. More than, say, 70 can deeply improve the appearance of a paragraph. If you can tolerate occasional too long spaces, \sloppy solves most of the problems. \sloppy means ...


3

\bflabel is not being used in the newest implementation of acronym.sty, they introduced \aclabelfont and a few others to deal with formatting. No backward compatibility.


2

Perhaps it is something like that you want? \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \DeclareMathOperator{\sgn}{sgn} \begin{document} \begin{flalign*} +ba-ba& = +b × (+a-a)\\ & = (+a-a) × (+b),\\ & = -b × (+a-a),\\ & =(+a-a) × (-b),\\ \shortintertext{whence} 0 & =(+b) × 0=0 × (+b)=(-b) × 0=0 × ...


1

You need to obtain the non-standard latex class iis.cls. A quick search of the text in the abstract tells me that you are trying to prepare a document for the journal Interdisciplinary Information Sciences, published by the Graduate School of Information Sciences, Tohoku University. Somewhere on that website you should find the file iis.cls. Download it to ...


5

The error is earlier. In your code from https://www.writelatex.com/1668037kxgsvr#/4157018/ just after the line 250 you have \begin{matrix}. Commenting it makes the document compilable. (A MWE with this fragment can help the future visitors).


1

I am trying to answer all your question but the debugging work will stay with you: The error is caused by something in combination with the package endnotes. When having a look to its source, you can find the command \@doanenote. There are many commands called in a document, which you do not call by your self. So searching for it in your source will not ...


1

The problem is not specific to shrink. The Turkish module of babel activates = and this causes problems for the interpretation of key-value syntax. If you have an up-to-date TeX system you can disable the = shorthand (that does nothing useful, in my opinion) maintaining the other two: \usepackage[turkish,shorthands=:!]{babel} With an older TeX system ...


0

Just install the relevant packages from the repositories: sudo apt-get install texlive-latex-base That will get you a basic LaTeX system. For a more complete installation with more packages and fonts, use this: sudo apt-get install texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended for XeLatex sudo apt-get ...


0

Your font name database is likely broken. Do initexmf --mkmaps initexmf --update-fndb


2

The package mathpartir defines \snoc inside the mathpar environment, overriding whatever definition you give outside. Yes, it is a reserved command, although I couldn't find any trace of this in the documentation.


2

You should move\layout after \begin{document}.


1

Just to point out the answer is as indicated by @Johannes_B, where the dvips option for package color causes the problems. All credit to @Johannes_B Regards Roberto


7

Here is how I would typeset the table: \documentclass[12pt]{article} \usepackage[tableposition = top]{caption} \usepackage{longtable, booktabs} \usepackage{siunitx} \setlength{\oddsidemargin}{0in} \setlength{\evensidemargin}{0in} \setlength{\topmargin}{-.5in} \setlength{\headsep}{0in} \setlength{\textwidth}{6.5in} \setlength{\textheight}{8.5in} ...


14

Your example is far from minimal, but anyway seems like \midrule looks ahead and sees ( so you need \midrule\relax Just as you do to protect cells that start with [ from \\ looking ahead.


1

I was just trying these examples with a fresh TexLive 2014; I had been using the \let\l@ENGLISH\l@english fix for a while in TexLive 2011 with success, but now with 2014 the same document gave me the dreaded warning: Package babel Warning: You haven't loaded the language ENGLISH yet (babel) I'll proceed, but expect unexpected results. ...


0

I experienced that this problem arrises when a new package is installed and I press 'stop' at the "play/stop" button (to generate a PDF) too soon. When I press too soon the package is not installed correctly and it will not work, giving acces denied. In my case I saved my tex code file in a .txt file and deleted the entire editing program from my program ...


8

The example if fixed by braces around the problematic UTF-8 character inside the text for decorate: text={|\myshift| T{ự} do} Otherwise the text would be scanned byte by byte and disrupting the multi-byte UTF-8 character.


2

Something is defining \G so you can insert \show\G at several points in your document or package and at each tex will stop and show the definition. The error message indicates that \G has an encoding specific command definition. My local tex tree has the following possibilities allrunes/ara.fd:\DeclareTextSymbol{\G}{LRA}{167} ...


1

Disable your anti-virus and firewall for a while and try to install the MikTeX again. I'd experienced similar problem before and this actually worked.


2

Without a brace of \makeatletter/\makeatother, @ cannot be part of command names. \makeatletter \DeclareMathSymbol … … \let\slimits@\relax \makeatother seemed to work better for me (though I don't know what your intended result is – it compiled, at least).


2

I think you are missing \makeatletter before line 3 and \makeatother before \begin{document}. LaTeX tries to expand @-commands and so raise that error.


3

If you don't provide any \cite commands, then BibTeX (and LaTeX) won't know which entries in Bibliografy.bib to typeset: All of them? Just some of them -- and, if so, which ones? The result of having no \cite commands is the warning (not an error, by the way, "just" a warning) about Empty thebibliography environment on input line <line number>. The ...


2

I had the same problem, using a portable version of MiKTeX and TeXmaker on USB. It worked fine on my laptop (Windows 8.1) but then it stopped compiling and generating new PDFs on my work PC (Windows 7). When I deleted the old PDF file, it told me File not found, even though I had tried to compile a new one. For me, the simple solution was to got to Options ...


4

You need neither multirow nor blkarray: \documentclass{article} \usepackage{amsmath} \begin{document} \[ (\tilde A-\lambda)^m = \begin{pmatrix} (A-\lambda)^m & \vdots\vphantom{\Bigg|} \\ \begin{matrix}0 & \dots & 0\end{matrix} & (1-\lambda)^m \end{pmatrix} \] \end{document}


4

You were missing the $ in the \multirow and had an extraneous \end{pmatrix}: Notes: I replaced the $$...$$ with \[ ... \]. As Werner pointed out, please see Why is \[ ... \] preferable to $$ ... $$?. The $ were required in the option to \multirow as that parameter is assumed to be in text mode. Using the $ ensures that math mode is used. Code: ...


0

To typeset code in a document, use the listings package. To have sections in appendices, just use \section as you normally would; they will automatically be numbered as A.1 etc.


7

Adding to David's answer, just to give reasons why the compiler stops at line 75 and not at line 74, which is the real cause. First of all, \citation is a command used internally by LaTeX when writing in the .aux file a note about a citation made by \cite: % latex.ltx, line 6118: \let\citation\@gobble It's defined to do nothing with its argument, because ...


7

running your MWE shows an error on that line, ! LaTeX Error: Command \citation already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.75 \mdfdefinestyle ...


1

A typical italian preamble may instead be \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} than followed by any \begin{document} Hello \end{document} (first comment by Ian Thompson is definitely right). ...but I am sure that, by today, you've learnt better than me the difference between ...


5

If you call pdflatex with the command line option -halt-on-error, the process will terminate at the first error.


2

This is caused by a new feature added to the latest version of the fixltx2e package. (Check the optional arguments of floats, section 5.1 of the package documentation.) I don't know how much freedom you have in LyX, but a standard LaTeX hackaround would be the following. \documentclass{article} \usepackage{float} \makeatletter \let\@tmp\@xfloat ...


4

There is a reason \xdef isn't a supported command in latex, most tex constructs blow up in an edef. use \protected@edef and then use \protect for any fragile commands. if you go \edef\foo{\def\zzz{hello}} then it tries to expand (only) the tokens while defining \foo. \def isn't expandable so is just left as is, then it tries to expand \zzz and then ...


1

There may be some fundamental confusion over what needs to run. You should probably run the command as pdflatex -synctex=1 -interaction=nonstopmode "document 3".tex I.e., pdflatex is the executable program, not document 3.tex. Since your tex file isn't executable, it's not surprising that the operating system throws an error. You haven't indicated which ...


6

Well, I managed to figure it out myself, but I want the procedure to be available to anyone. The error seems to be a result of LyX looking for the wrong installation of Python. In OS X 10.10, the Python version is 2.7.6, causing a problem according to this page. The steps I took to fix the problem are: Run LyX from Terminal.app by typing the following ...


1

I figured out the issue. I had an old hard drive with a version of LaTeX installed on it, so when the compiler ran it was calling packages from the old copy- resulting in an endless loop of sorts. Deleting any and all LaTeX files from the hard drive, plus a clear install on the new one, resulted in all the problems being solved. In hindsight I should have ...



Top 50 recent answers are included