0
votes
0answers
28 views

using package circuitikz causes tikz labels to not appear on vertices

I've been using tikz to create graphs and it's been working fine, but recently I added the circuitikz package to the preamble since I need to also create electric circuits. And now the labels for the ...
2
votes
1answer
120 views

Tikz code not working in LyX but working in pure Tex

I'm trying to add a tikz picture in my LyX document. To do this, I organize the tikz tex code in Texmaker (a friend sent me a tikz code model in a .tex file) and then I copy it to a ERT in LyX (making ...
1
vote
0answers
43 views

Referring to nested tikz nodes - works with pdflatex but not with latex

I am trying to achieve a box within another box in tikz and then drawing an edge from the inner box to an outer node. I stumbled upon this solution When I compile it using pdflatex, I get the desired ...
4
votes
3answers
186 views

Gnuplot and TiKZ: centering plots?

I'm trying to plot an implicit function in a LaTeX document, and I'm using TiKZ for all my diagrams. For the implicit function, I'm calling gnuplot, and I've found that the best solution, which seems ...
6
votes
1answer
301 views

Create style for a new section

anyone can help me to do something like this? for an informative section in my document
7
votes
3answers
230 views

rectangle with one curved side

I would like to create a filled rectangle with one curved side such as one shown in the picture below: \begin{tikzpicture} \draw[red,thick] (0,-3) -- (0,0) -- (3,0) -- (3,-3) edge [bend left] ...
3
votes
1answer
114 views

Special characters in tikz label

I have this code : \documentclass[tikz]{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usetikzlibrary{decorations.text,} ...
7
votes
1answer
115 views

How to write a LaTeX command that could discriminate if it's being called with pdfLaTeX in order to use PSTricks?

I'm writing a class for LaTeX, and I need to make it general. I want to include a simple image, a logo, within the class, which would be inserted into the document as a simple command ...
7
votes
0answers
145 views

TikZ: Text becomes invisible in large PDF [closed]

I am attempting to create a family tree in TikZ, containing an excessive number of nodes. Given the fact that everything should be visible, it is currently 9 layers high and around 70 layers wide. ...
3
votes
0answers
129 views

How to automatically optimize the PDF output of TiKZ externalize?

I use pgfplots with externalization for generating plots in my document. For heavy plots the output PDF for a figure can grow to few hundred KB. I used Adobe Acrobat to optimize the PDFs which ...
6
votes
0answers
175 views

Different color [closed]

I use the following code to generate a plot \documentclass{article} \usepackage{xcolor} % colorize your documents \usepackage{graphicx} % and use graphics \usepackage{tikz,pgfplots} % ...
2
votes
2answers
162 views

pdflatex problem

I just use latex to grid a pdf file. the code like follow \documentclass[ letterpaper, 10pt]{article} \usepackage{tikz} \usepackage{pdfpages} \newcommand\su[1]{ \begin{tikzpicture}[overlay,remember ...
0
votes
1answer
124 views

Clean way to plot a sequence of 3D objects from file

I want to plot a sequence of cones using tikz. My cones have arbitary coordinates that I calculated beforehand. For n cones, I have the coordinates of n+1 circles, each as a tuple of (depth, center, ...
1
vote
0answers
76 views

PGFplot shrinks after I add it the main TeX document with standalone package. What should I do?

I would like to ask question concerning usage of PGFplots package (LaTeX). I have this problems: after inserting tex file using standalone package in my main document, part of pgfplot shrinks and font ...
11
votes
2answers
230 views

Remove small kink in tikz picture

I have made this graphic using tikz: Sourcecode: \documentclass[]{scrartcl} \usepackage{tikz} \usetikzlibrary{shapes, arrows, calc, positioning, fit, external} \begin{document} ...
8
votes
2answers
575 views

How to Generate Random Variables then Use in Calculations in pdflatex

I'm basically trying to create multiple versions of a worksheet, each with different values for the variables in each question. To do this I'm defining random variables, then each time I compile the ...
5
votes
1answer
322 views

Lualatex, Pdflatex fail with \externalize

Here is my problem: I have a 100+ page document with ~100 tikz plots. Some plots contain 9000+ points, and compiling them with pdflatex -shell-escape (or whatever main_memory_size) fails. I can ...
1
vote
1answer
747 views

tikz externalization using lualatex over pdflatex

I am trying to externalize tikz plots using lualatex while encapsulating the whole tex file with pdflatex. I still couldn't figure out why this method is not working. I am using miktex and texstudio. ...
1
vote
1answer
277 views

Error: Sorry, the system call 'pdflatex -shell-escape -halt-on-error '

I am trying to use TikzEdt tool to generate some graphs....It was working very nicelly, until I tried the extended mode, and from that instance, it is reporting an error. Here is the preamble ...
5
votes
1answer
163 views

Coons patches in pgfplots

The current method of drawing Coons patches in pgfplots requires four cubic Bézier curves along with point meta values for each corner point. This closely follows the format used in the PDF ...
2
votes
1answer
495 views

How do you break long lines in pgfgantt?

I am drawing a gantt chart using the pgfgantt package. I have some text in nodes that I would like to break down into multilines, but it doesn't seem to work. I made a simple example like so: ...
2
votes
1answer
228 views

tikz setting font size to pts

I'm using tikz to create color boxes containing text. However I haven't been able to set font size within these boxes using pts. I found a snippet in this question that defines a Boxed command: ...
3
votes
1answer
151 views

TikZ & External: figure re-created for no apparent reason

I'm having an issue where only one out of multiple figures is recreated despite the use of the tikz/external library. I've created a MWE which shows the same effect with only two figures. Below is my ...
10
votes
0answers
65 views

Why does compiling TikZ with latex-dvips-ps2pdf produce a much much bigger PDF than with pdflatex? [duplicate]

The following MWE simulates the problem. Compile it with pdflatex -shell-escape. \documentclass[preview,varwidth,border=12pt]{standalone} \usepackage{filecontents} \begin{filecontents*}{common.tex} ...
4
votes
1answer
146 views

Why does pstricks have an effect on tikz' draw opacity when used within beamer?

\documentclass{beamer} %\documentclass{article} \usepackage{pstricks} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{frame}{} \begin{tikzpicture}[start chain] ...
4
votes
1answer
145 views

tree-dvips Alternative for Linguistics Document with pdftex

I'm attempting to find a way of linking two objects in avm.sty together. The result I want is exactly that specified here: http://www.essex.ac.uk/linguistics/external/clmt/latex4ling/avms/#4 I'm ...
1
vote
1answer
456 views

Using “latex” to externalize tikz graphics wont work

I am lost in tex! I try to run a tay example, which you can find here: EXAMPLE If I run it, using pdflatex -src -interaction=nonstopmode -shell-escape faster-latex-part2.tex everything works fine, ...
4
votes
0answers
401 views

PGFPlots pattern bug [closed]

I tried to compile the example in How to combine fill and pattern in a pgfplot bar plot? to answer the question here PGFplots ybar patterns not showing and the pattern doesn't appear when I use ...
3
votes
0answers
146 views

pgfplots — Patterns are not displaying correctly in PDF version 1.4 [closed]

I am using this method to plot a pattern in-between two curves. If I save the file as PDF version 1.5 everything looks great. Unfortunately the journal that I am submitting the paper to requires PDF ...
3
votes
2answers
458 views

Plotting floating point data with pgfplots

Is there a binary file structure supported by pgfplots to allow floating point numbers to be loaded and plotted? I understand the time taken to convert floating point data to a text file is small, ...
4
votes
1answer
251 views

Why does pasting the contents of a tikz file into my main file compile properly but not when using \input

If I place the contents of my tikz picture in my main.tex file it works like a charm using \usepgfplotslibrary{external} \tikzexternalize and subsequently: pdflatex --enable-shell ...
2
votes
0answers
58 views

Where to put Latex generic commands? [duplicate]

Using more and more Latex I reach a point where I don't want to copy/paste anymore the new "generic" commands I created. As an example, I have generic commands to create Tikz pictures. These commands ...
4
votes
1answer
1k views

Conflict between TikZ with decorations.text library, caption and booktabs packages and progressbar theme [duplicate]

Possible Duplicate: No room for a new \dimen I obtain an error when using simultaneously the above 4 elements. When removing one of them (which I do not wish), the output is fine. ...
8
votes
1answer
1k views

pgfplots: reduce tick density

I am using matlab2tikz to produce plots in latex. The default tick settings produce very dense ticks, making the axes look ugly. I know that I can use something like /pgfplots/xtick={0, 1, ... 3} ...
73
votes
1answer
3k views

pgf-Tikz QR code generator

I am looking for a Tikz QR code generator. I am aware of pst-barcode as well as several "local" programs, a luatex solution and web services to do this. Nevertheless, if at all possible, I would much ...
2
votes
0answers
294 views

TikZ arrows do not draw with pdflatex [closed]

I am using the answer from Arrow between parts of equation in LaTeX. \documentclass{article} \usepackage{tikz} \newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};} ...
2
votes
1answer
371 views

Using ps2pdf colour and fonts change when TikZ picture added on beamer slide

When compiled with LaTeX + dvi2ps + ps2pdf the pdf output of the below MWE shows a strange behaviour: On the first slide (without TikZ picture) fonts and colours are slightly different from the ones ...
5
votes
1answer
3k views

Option clash when using graphicx and tikz packages

The following code fails Option clash for package graphicx, it seems to be an incompatibility between the package graphicx (when the option pdftex is used) and the package tikz. ...
12
votes
2answers
5k views

Increasing TeX's main memory

I have a plot with a lot of measurement datapoints. I exported this plot from Matlab2tikz. When I wanted to compile this, it said that the memory was exceeded. Now I found this, How to expand TeX's ...
15
votes
2answers
4k views

pgfplot: plotting a large dataset

I try to plot a dataset which is large using pgfplots. Since I'm aware of problems with large files, I used the external mode. I additionally increased main_memory from 3000000 to 6000000. It crashes ...
8
votes
1answer
2k views

tikz: plotting a one column file [closed]

I use tikz/pgf to plot plots with data from a file. This works perfectly fine if I have at least to columns in the file that I can choose from. However, I have a rather huge file with just one column. ...
3
votes
1answer
1k views

GraphViz and LaTeX; gives blank PDF

I've tried 4 different .sty files (most of which didn't work, some of which gave me errors on rendered page). Now trying with the dot2texi package, which is giving me a blank PDF. I have tried ...
3
votes
2answers
636 views

using grid from Tikz in Texmaker

I use Tikz for creating figures. But there is a problem. If I use for example \begin{tikzpicture} \draw[->] (0,0)--(10,0); \draw[->] (0,0)--(0,10); \draw[help lines] (-0.1,-0.1) grid (9.9,9.9); ...
17
votes
5answers
741 views

How to black out a figure for confidential reasons?

I have a document, that contains critical parts. Now two documents should be generated. One version that is "balcked out" and one version that is all readable. For pure text I found some hints using ...
5
votes
1answer
405 views

Wrong positioning of images inside tikzpicture with XeLaTeX

Consider following code: \tikzstyle{box}=[draw, fill=brown!40, text width=7em, text centered, minimum height=7em, rounded corners] \tikzstyle{usb}=[draw, fill=blue!40, text width=3em, ...
4
votes
1answer
344 views

Embed text in pgfplots or tikz generated pdf files

I generate data plots in my LaTeX documentation using a combination of TikZ and pgfplots. Many of the plots are generated using script files which can also include the raw data if data is being ...
5
votes
1answer
2k views

Rotate a PGF figure, and being able to center it

I have a figure, created in MS Visio, a PDF figure. I have added text to the figure using qtix. The code is pasted below: \begin{tikzpicture}[scale=0.30] ...
35
votes
2answers
4k views

How can I draw an arc from point A -> B on a 3D sphere in TikZ?

I'm basing myself on http://www.texample.net/tikz/examples/spherical-and-cartesian-grids/ and now I need to add a arc from point P to Q. What I was able to get so far: ...
9
votes
1answer
1k views

How to use shading in TikZ when rotating the picture?

I have the following problem: I want to draw a rectangle and around it, there should be some smooth fading to the background (white). I found the shading technique of tikz quite interesting. The ...
4
votes
1answer
1k views

Drawing a Cube Using Tikz

I'm trying to simply use the example of a cube provided here \begin{tikzpicture}[ back line/.style={densely dotted}, cross line/.style={preaction={draw=white, -, line width=6pt}}] \matrix (m) ...