3
votes
1answer
67 views

“Illegal unit of measure (pt inserted)” using arithmetic in TikZ foreach

I am using a \foreach loop in TikZ with \i in {2,3,..,5} and I'd like to be able to use the value \i-1. However, every approach I have tried gives me a Illegal unit of measure (pt inserted) error. ...
3
votes
0answers
72 views

Problem compiling TikZ diagram using template

This is my first input here. I have a problem compiling this document, where particularly the TikZ graph comes messed up (no graphics at all and labels superimposed). I am using TeXstudio with MiKTex ...
0
votes
0answers
16 views

How to debug the “Argument of \XC@definec@lor has an extra }” error in Foreach statement? [duplicate]

First, I draw three nodes each of which has three parts. Everything is OK. The code and the image are as follows. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{tikz} ...
3
votes
1answer
34 views

`edge quotes mid` TikZ issue

When I render this with LuaLaTex: \documentclass[border=4mm]{standalone} \usepackage{tikz} \usetikzlibrary{graphdrawing,graphs} \usegdlibrary{layered,trees,circular,force} \begin{document} \tikz ...
3
votes
0answers
67 views

Problem with using tikZ in Texmaker

I seem unable to use any TikZ command in TeXmaker. Whenever I use such command, I get the following error: ! LaTeX Error: File `tikz.sty' not found. Type X to quit or <RETURN> to proceed,or ...
2
votes
1answer
97 views

Problem with pgfplots/pgfkeys: “I do not know the key '/tikz/use units'”

Problem in short: I'm using pgfplots but I can't use units in the labels. I tried this minimal example (from http://pgfplots.sourceforge.net/gallery.html) and get an error message: ...
8
votes
2answers
116 views

Dimension too large with tcolorbox and fading paths

I have this "Dimension too large" error that I don't understand: \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{skins} \usetikzlibrary{positioning,shadows} \newtcolorbox{mybox}{ ...
5
votes
1answer
154 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
86 views

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

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
165 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 ...
5
votes
2answers
180 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
184 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
75 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={&gt;=latex}] \coordinate (V1) at (1, 1.3); \coordinate (V2) ...
2
votes
1answer
196 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
113 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
96 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
134 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
96 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
75 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
215 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
292 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
413 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
183 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
254 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
84 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
143 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
337 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
707 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
328 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
181 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
94 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
152 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
107 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
200 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
204 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
110 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
415 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
280 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
104 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
438 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
172 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
507 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
171 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 ...
10
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
110 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 ...
11
votes
2answers
777 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] ...
8
votes
0answers
4k 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
269 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
499 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} ...