5
votes
1answer
123 views

No shape is known for just created foreach nodes

This can be similarly formulated to Why are just-created TikZ shapes "unknown"?; but its slightly different. Here is the MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, ...
2
votes
0answers
36 views

Gantt chart is not drawn and give “! LaTeX Error: Environment gantt undefined.” [on hold]

I am writing a report for FYP in Ubuntu 13.10 in TexMaker, with document class and use different files use for chapters. I write the code below in the chapter1.tex for draw a gantt chart ...
8
votes
1answer
147 views

This elliptical-orbit diagram compiled fine with TikZ 2.10 but fails with TikZ 3.0. Why?

I borrowed some code on Kepler's 2nd Law from the linked post here on TeX answered by Tosco. I haven't compiled the document it is in awhile but needed today. When I did, I was told dimension too ...
-1
votes
0answers
35 views

What is the /tikz/center error that keeps popping up every time I compile my master tex file? How do I remove it? [closed]

I'm making a two-page TeX document that contains a few titles and figures. Here's the code to the document: \documentclass[12pt,a4paper,final,oneside]{report} \usepackage[utf8x]{inputenc} ...
5
votes
2answers
122 views

Error: “Dimension too large…” when plotting EXPONENTIALS with TikZ

Despite having read answers to 4-5 relate questions, I still can't get why my code does not compile. Here it is: \documentclass[11pt,twoside]{book} \usepackage[paperheight=24cm, paperwidth=35cm, ...
2
votes
0answers
50 views

Package PGF Math Error: Unknown function 'north' (in 'north west')

I have created the following shape (it has some more features but the error is always the same), based on a rectangle. \pgfdeclareshape{set}{ %Like in rectangle but without all the separators ...
1
vote
1answer
50 views

Code compilation problem - example on Tikz vectors

I would like to use the following code segment: Code \usetikzlibrary{arrows} \usetikzlibrary{calc} \begin{tikzpicture}[line/.style={>=latex}] \coordinate (V1) at (1, 1.3); \coordinate (V2) ...
2
votes
1answer
149 views

Error when using the tikz package [closed]

When compiling a simple MWE like: \documentclass[letterpaper]{article} \usepackage{tikz} \begin{document} test \end{document} I obtain an error: ! Undefined control sequence. l.1102 ...
6
votes
2answers
99 views

TikZ not working with university thesis class (another question)

For some reason, the TikZ arrow command \draw[->] and any thing similar like \draw[<<->] are not working with the university class file shown below. Can anybody figure out why? The ...
2
votes
1answer
72 views

Can't compile tikz pictures when packages mdwtab and syntax are included

I have a strange dilemma that I cannot resolve. I am including three additional packages than what I typically would include: tikz -- for state diagrams mdwtab and syntax for Context-Free-Grammars ...
3
votes
1answer
107 views

LaTeX generating me 'Draft' text

Here is the code which I executed: %Template for Technical Document \documentclass[a4paper]{book} \input{preamble/pakages.tex} \input{preamble/quotations.tex} ...
3
votes
1answer
80 views

Tikz: Problem using “of” on subsequent Beamer frames

Compiling this MWE yields the desired result: a beamer frame with two nodes positioned relative to each other. \documentclass[mathserif]{beamer} \usepackage{pgfplots} \begin{document} \begin{frame} ...
4
votes
1answer
64 views

Tikz: Using \pgfmathwidth (or \widthof) with \Large text causes crash

I;m trying to utilise this method for putting a box around text: http://tex.stackexchange.com/a/20326/17049 But it doesn't work with large text... MWE: \documentclass{article} \usepackage{tikz} ...
3
votes
2answers
134 views

Problem with tikz plot in beamer

I'm trying to plot a function using this code \begin{tikzpicture} % Draw the log-normal distribution curve \draw[blue,smooth,thick] plot[id=f1,domain=0.001:6,samples=50] function ...
19
votes
1answer
276 views

TikZ 3 space between options and named angle in a label no more allowed

Release comparison In version 2.10 of TikZ you could write: \coordinate [label={[red] center:$P$}] (x) at (0,0); but in the latest release (version 3.0.0) you'll get an error (unknown function ...
1
vote
1answer
211 views

pdf/Tikz Undefined Control Sequence

I am drawing a Picture using TikZ with two \draw commands. The first one works but on the second LaTeX claims ! Undefined control sequence. l.44 \draw (0,2) -- (-.5,2); What can I do to fix ...
4
votes
2answers
161 views

Can not plot x^4, sqrt(x) or x^3 + 5x^2 using pgf/tikz

I have recently started using LateX, and I am beginning to use pgf/tikz to create plots. But I have encountered some problems with the functions stated above. I can plot the function f(x)=x^3, but ...
3
votes
2answers
158 views

tikzpicture “There is no … in font nullfont”, but no extraneous text

While looking at the log file of my document, I see a lot of paired error message lines that look like this (there might be slight inaccuracies, I am typing this on another computer for reasons I ...
4
votes
1answer
64 views

Problems combining tikz and storebox: Missing number, treated as zero. With animate, page shipped out with text `graphicx`,

When I load both tikz and storebox and compile the following MWE, I get an error message ! Missing number, treated as zero.. When I additionally load animate, I get no error message, but a spurious ...
3
votes
1answer
130 views

Error after exiting pdf in Texmaker and SumatraPdf

After compiling the document below: \documentclass[letterpaper]{article} \usepackage{background} \usepackage{lipsum} \newcommand{\edpeercopyright}[2]{% {\small\color{black}Copyright \copyright\ ...
3
votes
1answer
287 views

Plot with Min/Max bar and two average points

I am trying to stop using Excel charts in my academic papers and rather use something more LaTeX integrated such as Tikz. My current Excel chart looks like that: As can be seen, any combination from ...
3
votes
3answers
514 views

TikZ exits with “do not know the key '/tikz/restrict y to domain”

When I try to compile, I get the following error. Runaway argument? samples=60, domain=0:10, xmax=10.5, restrict y to domain=0:10, axis l\ETC. ! Paragraph ended before \pgfplots@@environment@axis ...
5
votes
1answer
242 views

Problems with \pgfplotstableread and relative paths

I have this folder structure in my project: main.tex mystyle.sty tex mytex.tex img myimg.tex dat mydat.dat And the following files: main.tex: \documentclass{scrartcl} \usepackage{mystyle} ...
6
votes
1answer
151 views

Error using smartdiagram package:

I am trying to use the smartdiagram package and wanted to replicate an example in the documentation. Here is my MWE: \documentclass[10pt]{article} \usepackage{tikz} \usepackage{smartdiagram} ...
1
vote
1answer
72 views

pgfmolbio: Undefined control sequence \pmbchromatogram

I was trying to make a chromatogram today using pgfmolbio using pdfTeX from TeX Live 2013. The code I was using is: \documentclass{article} \usepackage[chromatogram]{pgfmolbio} \pagestyle{empty} ...
2
votes
1answer
133 views

Error compilation tikz, intersection & foreach

I want to compile this code (using PDFLaTeX) \documentclass[12pt]{article} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{color} ...
4
votes
0answers
106 views

TikZ code doesn't compile anymore [duplicate]

Consider the following code (which originates from this post): \documentclass{article} \usepackage{tikz} \usetikzlibrary{ hobby, shapes.geometric, decorations, decorations.shapes, ...
4
votes
1answer
166 views

Error in TikZ pgfplots with timestamps on axis

I get the following error message when I try to compile the attached code. I tried everything, but can't find the error. Runaway argument? \pgfplots@calender@ZEROSHIFT \relax \ifx \pgfplotstemptime ...
10
votes
1answer
178 views

Error with hobbyconvexpath

The hobby examples given on TEX.SX don't seem to be working with texlive 2013 (at least for me. For example, copying an MWE produces an error: \documentclass[tikz,border=2bp]{standalone} ...
5
votes
3answers
98 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
340 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 ...
8
votes
1answer
221 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
98 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
379 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
162 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
30 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
456 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 ...
1
vote
0answers
137 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 ...
9
votes
2answers
2k 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 ...
4
votes
1answer
104 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
608 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] ...
7
votes
0answers
3k 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
248 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
455 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
119 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
351 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 ...
10
votes
3answers
390 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} ...
10
votes
2answers
322 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
281 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} ...
20
votes
1answer
1k 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 ...