# Tag Info

## Hot answers tagged errors

10

The problem is that the syntax of atan2, the two-argument variant of arctangent, changed between TikZ 2.10 and TikZ 3.0. The effect of this change of syntax on Toscho's code makes the trajectory of the orbiting body (an asteroid?) become completely unstable very quickly: the asteroid quickly "shoots off the page". As as a result, the dimension of the ...

7

As Joseph Wright has mentioned in his comment, the fact that sectional units have to be appropriately nested is a design choice made by Till Tantau. The "culprit" of the error you got can be found in the following lines of the definition of \beamer@subsection (given in beamerbasesection.sty) used by \subsection: ...

5

The problem comes at the end of the list of cases in your \foreach loops \foreach \a/\b/\c in { 0/x1/0, 2/x2/1, 4/x3/2, 6/x4/3 } When it reads 6/x4/3, there’s no comma or closing brace afterwards, so it includes the whitespace in the definition of \c. This means you get a node called brz3 (+ some other stuff). Somebody who understands TikZ better ...

3

The subfigure environment has a mandatory argument specifying the width: \documentclass[a4paper,10pt]{article} \usepackage{amsmath,amssymb,amsfonts,amsthm,tikz,caption,subcaption} \begin{document} \begin{figure} \begin{subfigure}{.5\linewidth} \centering \begin{tikzpicture}[scale=1] \path (0,0) coordinate (P0) node[right=0.1cm] {P0}; \fill (P0) ...

2

A quick workaround is to create a little package with the code. Create a file, say mycode.sty, starting with \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{mycode} and then move there all the code I gave you (without \makeatletter nor \makeatother). Save this file somewhere TeX can find it (local TDS tree of current working directory) and then use ...

1

Another plug for Emacs is M-x check-parens which does as it says: checks to make sure all your parentheses, braces, and square brackets have a matching partner. (Note that it can become confused by opening or closing braces that have been commented out.)

1

Too long for a comment. Typical reasons for "Runaway argument" errors are: A missing closing argument brace. A missing argument for a macro that confuses the internals of the macro. Bug. Example for a missing closing argument brace: \documentclass{article} \begin{document} Hello \textbf{World! \section{Foobar} \end{document} TeX complains: Runaway ...

1

As the problem actually seems linked to the fact that MiKTeX 64-bit doesn't include biber, which is a 32-bit application, you should take a look at the answers to this question. Don't forget to create a Local TeXMF root if you don't already have one.

Only top voted, non community-wiki answers of a minimum length are eligible