5
votes
3answers
66 views

Conflict between TikZ and *.cls file

I am attempting to convert a document from one class to another. In the original class, I am able to use TikZ and PGFPlots for my graphics. However, in the new class, I receive the following error: ...
2
votes
1answer
84 views

Nodes near coords gives Undefined Control Sequence

I have the following example of a graph. I want to place the items in the table "Restart" next to the nodes. Everything works until I add "nodes near coords", I get a bunch of errors saying "Undefined ...
7
votes
1answer
73 views

pdflatex nonstopmode with TikZ stops compiling

I compiled a TikZ code using pdflatex -interaction=nonstopmode. Depending on code errors, compiling stops. I want to know what went wrong. Let me show you two cases, both of which involve a code error ...
0
votes
1answer
56 views

latexmk pointing to a line of code with an error that I don't see [closed]

When trying to compile my code, latexmk keeps hitting me with an undefined control sequences. I have checked above, below, and the line it says is causing the issue, but I don't see anything wrong. ...
1
vote
0answers
94 views

Why can I compile a tikzpicture perfectly in one chapter but not in another? [closed]

I am having trouble with including a tikz flow chart in my code. In my preamble I have included \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{shapes,arrows} and this is the flow chart: ...
7
votes
1answer
91 views

Error message with hobby package

I am trying to use the hobbypackage with this minimal example from the manual: \documentclass{article} \usepackage{tikz} \usetikzlibrary{hobby} \begin{document} \begin{tikzpicture}[scale=.5,use Hobby ...
1
vote
0answers
29 views

Latex: conflict titlesec and tikz packages [duplicate]

I am using the IEEEtran class and I also call in my preamble the titlesec and tikz packages. If tikz is not called my code runs fine. Otherwise, (when calling the tikz package) I am given this error ...
6
votes
1answer
275 views

Strange error when combining Beamer, Animate, Tikz and Listings

I'm working on some slides where I show how code is actually executed in Java. Therefore I'm working with the animate package to generate animations. Without going into details, I've written a macro ...
0
votes
0answers
73 views

Error code from script which don't run [closed]

This question follows on this post Plot To be short I can't run this file: \documentclass[png,border=10pt,tikz]{standalone} \usepackage{xstring} \usepackage{tikz} \usetikzlibrary{calc} ...
1
vote
0answers
74 views

How do I debug the message “Argument of \XC@definec@lor has an extra }” [closed]

Can anyone provide me with some intuition about what might cause an error like this? Argument of \XC@definec@lor has an extra } I am unable to produce an MWE that demonstrates the error, as it ...
4
votes
2answers
467 views

Package PGF Math Error: Unknown operator `o' or `of'

I am getting a weird error while trying to place a node above another node using the below= syntax. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[] (node1) at ...
0
votes
0answers
130 views

pgf add axis leads to following error message: ! Undefined control sequence -> what to do [closed]

I would like to add a coordinate plot with pgf plot to my document. Used it before in a latex beamer presentation and it worked. For my usual document it gives me the following error message: ...
4
votes
1answer
92 views

Why does the following not compile?

The following compiles well in TeXShop on one of my Mac computer (an old one), but produces error on another one. I must have forgot to install something on the new computer, but cannot figure out ...
9
votes
2answers
220 views

What causes the “\@next does not match its definition” error?

I have the following (minimal) document class: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{minimal-article}[2013/01/11 Test class, extends article] ...
3
votes
0answers
1k views

! TeX capacity exceeded, sorry [main memory size=3000000] [closed]

I wrote a C++ code, which will create a LaTeX file with Tikz commands. The tex file the code creates is pretty long i.e. around 43,000 lines. However, when I try to compile it gives me the following ...
1
vote
0answers
205 views

error with tikz (bounding box) on ubuntu [closed]

I created a latex beamer presentation on my Mac OSX and there I included some pictures using tikz. Due to my job I migrated to Ubuntu and now I want to use that presentation with Texmaker (Latex via ...
2
votes
1answer
296 views

Fancy cloud quote-Arithmetic overflow

I ws trying to make a fancy quote...(Any ideas?) I couldn't find annything, so I thought of using a cloud... My code is \documentclass[slidestop,compress,mathserif,12pt,xcolor=dvipsnames]{beamer} ...
4
votes
1answer
104 views

conflict tkz-euclide and nag?

Am I doing something wrong and is this meant to happen? %\documentclass{minimal} edit: should not be used \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} ...
11
votes
3answers
251 views

fancyvrb ShortVerb and tikz incompatibity

I've been working on a document that has a lot of little verbatim bits so I'm using fancyvrb \DeflneShortVerb{\|}. Now I want to add a tikz picture, and the whole thing fails. It there a simple way ...
9
votes
3answers
239 views

Why does fitting fail in TikZ in the second image?

I have a document with two tikz pictures, both use the fit library. As long as I only have one picture everything works fine: \documentclass[a4paper]{article} \usepackage[english]{babel} ...
9
votes
2answers
228 views

Why are just-created TikZ shapes “unknown”?

I'm using TikZ's \foreach iterator to create a series of nodes and then draw edges between them. First I iterate to create the nodes; then I iterate through the nodes to link them to each other. ...
2
votes
0answers
245 views

Undefined \pgfsetpath: is tikz or Miktex update responsible [closed]

I run the following simple example using MikTeX 2.9 (complete installation) that is regularly updated (this is one of the first examples in TikZ manual): \documentclass{article} \usepackage{tikz} ...
17
votes
1answer
710 views

Using TikZ inside a figure caption

I have a PNG plot with a couple of black patches in it, and I'd like to refer to it in the \caption of of the figure. According to the TikZ manual, I'd have to \tikz \fill[black] (1ex,1ex) circle ...
10
votes
3answers
1k views

\pgfmathsetmacro - dimension too large (biggest value allowed?)

I want to import some data with parameters to parametrize some plots. After importing a table, I assign specific variables of the table to a placeholder by using \pgfplotstablegetelem. And it works ...
14
votes
2answers
346 views

Error with \foreach in TikZ

In the MWE below \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \i in {0, 1, 2, 3} \draw (\i, 0) rectangle +(0.5, 0.5); % \draw (\i, 1) rectangle ...
6
votes
4answers
5k views

Windows API error 5: “Access is denied” when trying to compile TikZ picture

I installed PGF but are unable to compile the following document: \documentclass[10pt]{article} \usepackage{pgf,tikz} \begin{document} \begin{tikzpicture} \draw (0,0) --(1,2); \end{tikzpicture} ...
6
votes
1answer
369 views

tikz example from manual fails

I have copied an example from the tikz manual, but it fails to compile \documentclass[]{scrbook} \usepackage{pgf} \usepackage{tikz} \usetikzlibrary{circuits} \usetikzlibrary{circuits.logic.IEC} ...
2
votes
1answer
619 views

tikz-uml sequence diagram “Extra \or” error

I was compiling the following code which uses the tikz-uml package. \documentclass{article} %\usepackage{pgf} %\usepackage{tikz} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} ...
4
votes
1answer
1k views

why does latex report errors when using styles in a tikz pgf picture?

I get three errors when attempting to build the following example (with the tikzpicture taken from the tikz pgf manual). Why does this happen, and what am I doing wrong? \documentclass[12pt]{article} ...
6
votes
1answer
1k views

Package pgf Error: No shape named X is known

I can't get this document to compile: \documentclass{article} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \begin{document} \begin{tikzpicture}[>=latex',line join=bevel,] ...
4
votes
1answer
899 views

Undefined control sequence with pgfgantt package when creating Gantt chart

I'm attempting to make a Gantt chart in my LaTeX document with the pgfgantt package. However, when I try to compile, it give me undefined control sequence at the first \gantttitle between the {7} and ...
7
votes
2answers
2k views

Unable to create multiple timelines using chronology.sty

I wanted to create a document that contains multiple timelines on one page. I am using chronology.sty, which uses TikZ, to accomplish this. However, I get an error when I try to create more than one ...
1
vote
0answers
415 views

Error including manually installed TikZ package [closed]

I am trying to manually install tikz in my local texmf tree on my shell account at school. I simply unpacked the latest build to ~/texmf/tex and ran texhash. Now, trying to compile this simple ...
8
votes
3answers
1k views

How to draw a circular cone

I want to draw the circular cone given by the equation z²=x²+y². (I do not mind using any given package.) I tried to use the pst-solides3d package with the help of its manual to generate the ...
3
votes
2answers
798 views

TeX memory size error when using TikZ foreach children in trees

Nearly Identical: How to expand TeX's “main memory size”? (pgfplots memory overload) I'm getting the same error as the other question, but the answer there is not handling my issue. I believe the ...
3
votes
1answer
652 views

PGF/TikZ error when using chains

I'm trying to learn how to use PGF/TikZ to draw pictures, in particular a chain of nodes. I have the following picture: \begin{tikzpicture}[start chain, node distance=5mm] \node [on chain,join] ...
1
vote
1answer
254 views

Missing $ error

Why doesn't this code compile? % Oxidation and reduction % Author: Arne Röhrs % Note that two compilations are necessary. \documentclass{article} \usepackage{tikz} ...
2
votes
2answers
2k views

TikZ/PGF: I can't find file `tikzlibrarycircuit.code.tex' error

I am trying to use the circuit library from TikZ/PGF 2.1, but get the following error when I call LaTeX: ("C:\Documents and Settings\s0237326\Application Data\MiKTeX\2.9\tex\generic\pg ...
2
votes
1answer
2k views

Attempt to export EPS figures from TikZ fails

I'm attempting to output EPS figures when using MikTeX 2.8 under Windows XP, and am following Export eps figures from TikZ. My problem is that I can't get the bare example given there to run. The ...
4
votes
2answers
329 views

“! Bad character code (258).” error in package program.sty

I just added \usepackage{tikz}, and I got the "No room for new \dimen" error, which I was able to fix (I think) by just including the etex package as suggested at the link. However, a different part ...
6
votes
3answers
2k views

Using \pgfmathparse and \ifnum for a TikZ checkerboard

I am trying to produce a 6-by-6 checkboard of small circles, alternating colour between red and black. To do this I have attempted to use \pgfmathparse and \ifnum in order to decide if to colour a ...
3
votes
1answer
2k views

TikZ failing to draw [closed]

I'm trying to use TikZ to make flow charts in my LaTeX files, but I'm getting an error. Here's the LaTeX I'm using: \documentclass[11pt]{article} \usepackage{tikz} \begin{document} Some text ...
26
votes
3answers
2k views

Applying a postaction to every path in TikZ

Sometime, for example in a solution to a recent question, one wants to apply a postaction (like a decoration) to a group of paths. A naive solution is to use every path/.style={}. Unfortunately this ...
2
votes
2answers
297 views

Meaningful error messages when using latex instead of pdflatex

When I have TikZ images or I include .png graphics, I need to use pdflatex instead of plain vanilla latex. (That is, I need to use pdflatex all the time, rather than just when I want to produce the ...