Tag Info

New answers tagged

3

Troubles with \next cause option fragile because your \end{frame} has spaces before it. Here you have two options: (i) not use option fragile or (ii) move the \end{frame}. Beside it you also have unbalanced parenthesis in fraction of the last equation. I also little bit reformatting your code: \documentclass[xcolor={dvipsnames}]{beamer} \usetheme{Warsaw} ...


1

Without \end{document}, TeX will never finalize the output -- no PDF file will be produced.


1

Turns out that caption package version is not expecting \LTleft to be set to 0pt. setting \setlength\LTleft{0pt plus \textwidth} \setlength\LTright{0pt plus \textwidth} centres the caption without affecting the table (as the fill glue in extracolsep cancels out this finite stretch) You should also remove the center environment which does not affect the ...


3

The problem is that there is an # in the argument of howpublished field. In biblatex howpublished is consider plain text and not as literal. The best solution would be to put URL in the URL field and to use the biblatex @online entry type: @online{when, AUTHOR = "xxxx x. xxx", TITLE = "", URL = "link#anchor", URLDATE = "2015-02-02", } ...


4

This error message indicates that your version of pgfplots is older than 1.8 . According to your investigation, it is 1.5.1 . That means you have two options: upgrade pgfplots. The current stable is 1.12.1 at the time of this writing. change your files to contain compat=1.5. This might result in slightly different outcome compared to your old results with ...


0

You should use a tabular or tabularx environment, if you want to use \toprule and the like: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{tabularx} \usepackage{booktabs} \begin{document} \begin{table}[!htbp] \setlength\abovedisplayskip{-2ex} ...


0

If you don't want to embed the align environment in a tabular-like environment, and if you simply want to draw lines across the full width of the text block, don't use \toprule and \bottomrule. Just use \hrule instead. \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} ...


2

You have to use tabular: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{caption} \usepackage{booktabs} \begin{document} \begin{table}[htbp] \centering \caption{Ableitungen der dimensionslosen freien Enthalpie $\gamma$, Gl. \ref{glg_IF97_R1_Basis}} \label{tab:IF97_R1_Abl} \begin{tabular}{@{}p{\textwidth}@{}} \toprule ...


3

If you run tex on the commandline, then by default it stops at an error and gives the question mark prompt to which you can type h (for help) or x to quit or s to scroll through future errors without stopping etc. Your editor (in common with most other such systems) is running tex in \scrollmode where tex doesn't stop on each error and acts as if you had ...


1

Your problem here is the use of active characters in the database headers. When loading a database using \DTLloaddb, datatool suggests to consider using the key autokeys This is a boolean option that will automatically assign default keys [..] for all columns, regardless of whether the file has a header row. If true, this option overrides ...


1

datatool tries to make command names out of the items in the first row, but \_ is not legal in the construction that allows this. The best would be avoiding special characters, but the good news is that not escaping _ works. \begin{filecontents*}{abc.csv} Zeit/s,AMES_13,AMES_14,AMES_15,AMES_16 "3,0",000,"8,760V","0,000","0,216mA" ...


1

The following file generates all byte positions with invalid category code setting in vanilla LaTeX: \makeatletter \count@=0 \@whilenum\count@<256\do{% \ifnum\catcode\count@=15 % \immediate\write16{Invalid character position: \the\count@}% \fi \advance\count@\@ne } \@@end Result: Invalid character position: 0 Invalid character position: 1 ...


0

Since the LaTeX kernel latex.ltx has the lines \def \aa {\r a} \def \AA {\r A} you need to do something like \let\ringaccent\r \def\aa{\ringaccent a} \def\aa{\ringaccent a} before you redefine \r. I disagree with the opinion that it is quite generally a bad idea to overwrite plain TeX or LaTeX commands. In math typing, you may have excellent reasons ...


0

A non-Latex solution A very fast solution is to convert the png file into eps format. It can be done easily using graphic software, for instance Inkscape. So, you only need to open the file in Inkscape and then SaveAs and select eps format. Now change the extension in the tex file from \includegraphics[width=0.8\textwidth]{tiger.png} to ...


0

You can't update 2.47 to 3.xx via the update mechanism since 3.xx requires OS X 10.7 and later. Go to <http://pages.uoregon.edu/koch/texshop/obtaining.html> and download from there. Good Luck, Herb Schulz


2

First, your truely minimal MWE (except for whitespace) would be this: \documentclass{svjour3} \usepackage{cleveref} \begin{document} \section{} \end{document} Now adding to David Carlisle's answer (but the comment field is too short): I think the problem is the \@addtoreset{theorem}{chapter} in svjour3.cls. At least, I can reproduce the problem in ...


1

You're missing the mandatory argument to \begin{thebibliography}. In your case it should be \begin{thebibliography}{9} (any one digit number is good). Use 99 if you have more than nine items. It's also better to have a blank line after every item. See also Argument in "thebibliography" for other information about the problem. A better way ...


2

The error message is pretty clear, \hmwkClassTime is not defined. Therefore define it or remove it.


0

I had the same problem and I discovered another solution here. So things worked for me when I added \newcommand\hmmax{0} \newcommand\bmmax{0} in the preamble before including the font packages.


1

The error message !pdfTeX error: pdflatex (file [...]/most_changed_from_default_pos_0.pdf): PDF inclusion: required page does not exist <18> does not mean the requested page number with the appended <18>. This number is the total number of pages. That means, the file [...]/most_changed_from_default_pos_0.pdf_tex requests a page number that is ...


0

It is a permission related to Windows 8. It is not necessary to make the user less secure. Right click on the application you need to run. From the context menu select "Run as Administrator." For instance if you are using TeXnicCenter for compiling your TeXt, right click on its shortcut you might have on desktop or Windows 8 apps style alternative and run it ...


3

The \mbox can protect the special quotation characters. In addition, I used the csquotes package for easy change of quotation style, wrapping it into a command called \afz (German Anf├╝hrungszeichen -- quotation marks) \documentclass[12pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[babel,style=german]{csquotes} ...


5

And again one can see how important complete examples are. czech activates the hyphen and so it breaks in the option. Deactivate it first: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[czech]{babel} \usepackage{pdfpages} \begin{document} \shorthandoff{-} \includepdf[pages=-]{testjobname.pdf} \end{document}


2

\documentclass[11pt,a4paper,twoside,openright]{book} \usepackage[T1]{fontenc} \usepackage{fontspec,lipsum} \defaultfontfeatures{Ligatures=TeX} \setmainfont{Calibri} \usepackage{quotmark} \begin{document} \tqt{asldfjlkasdj} \section{\protect\tqt{asdfas}} \end{document} Fragile command in moving argument.


2

Here is an example more in the spirit of LaTeX, as I see it. (Not to compete with the other answers but to demonstrate the benefits of the LateX approach, for those who see it as beneficial). If you needed to produce many such documents, you could design a custom preamble (or package) along these lines. This completely separates presentation from style, so ...


3

See How to use more than 10 tab stops in \bmatrix?, but probably you want something else: \[ \begin{array}{@{} *{6}{c} | *{5}{c} @{}} \dots & 1 & 0 & 0 & 2 & 1 & 2 & 0 & 0 & 1 & \dots \\ \dots & & & & & 0 & 1 & & & & \end{array} \] Compare with the output of ...


1

I show that plain TeX code is more straightforward than LaTeX. To create your exam document we can do the following: \input opmac {\mubytein=0 \mubyte\revquestion ┬┐\endmubyte \gdef\revquestion{?`} } \let\secfont=\seccfont \font\mvfont=umvs at12pt \def\mvchr#1{{\mvfont\char#1}} \def\Email{\mvchr{107}} \def\Telefon{\mvchr{84}} \def\u{\,\rm} \line{\bf ...


1

Alexander's answer was the one got me going. The python.sty file from python.sty on github worked fine when I changed line 61 from: cat \@pythoninclude\space bin/\jobname.py | python > bin/\jobname.py.out 2> bin/\jobname.py.err to: python \jobname.py > \jobname.py.out 2> \jobname.py.err As you can see I also removed the bin folder. So I ...


7

I left numerous comments in the code below highlighting bad code, however this version runs without error in latex and pdflatex \documentclass[12pt]{article} % never load epsfig it is just for emulating latex2.09 documents from 1980's % rotating might be needed for sideways table, otherwise not % psfrag doesn't work as is with pdflatex or dvipdfm % ...


2

Solving the problem for ! is not sufficient, as also ?;: are used in Xy-pic syntax. You can globally solve it by disabling shorthands in all Xy-pic constructions: \documentclass[10pt,a4paper,french,oneside]{amsbook} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[applemac]{inputenc} \usepackage[all,cmtip]{xy} \usepackage{etoolbox} ...


5

You can locally get ! back with \shorthandoff{!} : \documentclass[10pt,a4paper,french,oneside]{amsbook} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[applemac]{inputenc} \usepackage[all,cmtip]{xy} \begin{document} \[\shorthandoff{!} \xymatrix@!{ P\ar[r]^{p_{2}}\ar[d]_{p_{1}}&Y\ar[d]^g\\ X\ar[r]^f&Z} \] \end{document}


4

It seems you are preparing a piece on numerical methods. The problem causing all the trouble seems to be in line 60 to line 62: \begin{align*} I(f) = \I_m(f)+\E_m(f)\\, \end{align*} the "\" operator is the beginning of perhaps all TeX commands (as far as I know), and adding it here might have been troublesome. Changing it to the form below seemed to ...


1

I faced exactly the same problem, with TexLive install in ubuntu 14.04 LTS and I found a way to tackle it. Uninstall texlive (if you downloaded it from software center) and install ubuntu-tl. https://github.com/scottkosty/install-tl-ubuntu (takes some time...) Install windows fonts. Follow the instruction from here: ...


4

For LaTeX releases from 2015 onwards you can allocate more (several thousand more) floats than the standard 18, using a command such as \extrafloats{100} in the preamble. As this mechanism uses the etex extended box registers it can allocate many more float boxes than the morefloats package mechanism (which uses \newinsert and is thus restricted to the ...


1

For future reference, these keyval errors can be ignored by passing the option unknownkeysallowed to beamer by \documentclass[unknownkeysallowed]{beamer} as shown in Keyval undefined error.


1

Since you didn't give more details about the problem (like what compiler are you using), it is hard to found out what is the problem. However, I have reorganized your code, maybe it solves your problem: \documentclass[a4paper,12pt]{report} \usepackage[table,xcdraw]{xcolor} \usepackage[backend=biber, natbib=true, maxcitenames = 2, style=authoryear, ...


1

You have used pdflatex instead of latex, most likely the package you are using is based on pstricks.


4

Very likely you are using package acronym and have updated it recently. Older version have used \reset@newl@bel in the .aux files. Recently this was renamed to \AC@reset@newl@bel. Older .aux files are causing now the undefined command error. Either you can ignore the error or delete the .aux files. The error should be gone, when the .aux files are rewritten ...


0

I had a similar issue. I pinpointed the problem to be in the .bib file. My advice is to carefully examine your .bib file for possible ambiguous syntax. In my case, the problematic syntax was: ... title = {A 70~kW stationary fuel cell system}, ... The undefined control sequence issue was resolved, when this was changed to the following (i.e., the ...


5

To find the problem, just comment out chunks of code: if the error remains, the commented code isn't responsible (at least for that error); otherwise, the problem must lie in the commented code. Using this method, the problem can be isolated to the final item in the bibliography. The issue here is that you have input an accented character directly using ...


2

The problem is not with % but with the underscore! Use this \hyperref[shamir]{''http://en.wikipedia.org/wiki/Shamir\%27s\_Secret\_Sharing''}


4

The underscore characters require math mode, they are used for subscripts there. Thus you need \_ here for a underscore character. Alternatively \url or \nolinkurl can be used. The latter is \url minus the link property. An example with some variants: \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} ...


2

In the title section: \HRule \\[0.4cm] { \huge {\color {blue}\bfseries Enhancing the efficiency of RF sources for future colliders}\\[0.4cm] % Title of your document \HRule \\[1.5cm] The first brace on the second line is unclosed. To find it, several methods are available: By just looking at the document, that's feasible when the document is not too ...


4

The class seems to assume, but not load, the calc package. this works \documentclass[12pt,oneside,a4paper]{abntex2} \usepackage{calc} \begin{document} \chapter{test} a \section{test} \end{document}



Top 50 recent answers are included