TikZ is a higher-level drawing language built on top of the PGF graphics framework. For questions specifically about the PGF layer use {pgf-core} instead. Both tags are possible on the same question. The tag {diagrams} is also compatible with this tag.

learn more… | top users | synonyms (3)

2
votes
2answers
70 views

Adding Finite State Transducer (FST) in XeLaTeX

Hi I am trying to add a Finite state transducer in the paper, which look like this Using tikz library. I don't understand how it works. The code I am working on \usepackage{times} ...
1
vote
0answers
38 views

Pgfplot with logarithmic x-axis to zero

I'm busy creating a learning curve, however I am unable to get my plots (blue) and my baseline (black) to zero. I use a logarythmic x-axis with fixed tick points. When i use xmin > 0, my whole plot ...
10
votes
2answers
369 views

3D Cube within a cube?

I have been trying to make an image but have been unsuccessful. Typically I use the tikz environment but can still not figure it out. I would love some help! Thank you! \documentclass{article} ...
3
votes
1answer
126 views

Which are the packages to draw a diagram in LaTex

I'm trying to draw a picture (actually it's more of a diagram) like this but I don't know which packages to user or even even if it's possible to do such a thing using for example TikZ. Thanks in ...
4
votes
1answer
107 views

How to make a ruler with logarithmic divisions?

I'm trying to make a slider for a custom cut-out slide ruler with logarithmic increments/divisions on each side. On one side the scale needs to go from 100 to 5000. On the other it needs to go from ...
3
votes
1answer
63 views

Get the width of a picture with Tikz

I 'm trying to make a presentation with beamer and I use Tikz to incorporate pictures at some places in my frames. For some reasons, I would like to fixe the heigth of a picture (contained in a node) ...
6
votes
1answer
70 views

Arranging connected boxes

I try to draw a diagram similar tp this one: What I currently have is this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=2] \tikzstyle{atomic} = [draw, ...
0
votes
0answers
16 views

tikz error with `\draw` command and babel package [duplicate]

I'm compiling a document with class article, in which I use tikz library with this libraries: \usetikzlibrary{arrows,automata,positioning} And I have this picture (and nothing more in the ...
5
votes
2answers
103 views

How do I fix spacing on paths for a nested tikz flowchart?

I'm trying to create a nested chart in tikz. I have a nonnested chart completed, but I'm trying to nest the blue boxes inside the first yellow box. I'm trying to follow the advice given here, so I ...
0
votes
0answers
18 views

Vertical connector between left (west) aligned boxes [duplicate]

If I have two connected nodes of different widths, which are aligned on the left (west) side, the connector between them is diagonal (or -| which I don't want for this application). Here's what it ...
2
votes
2answers
86 views

Animation with tikzpicture

I currently have a frame with a tikzpicture and nodes. But i d'ont know how to show only one node and the others in gray, next frame will contain some text and the next frame will makes visible the ...
4
votes
2answers
47 views

Centering the labels in circuits.logic.IEC

The tikz circuits library aligns the label for a gate to the top of the node, rather than to the center. Is there any way to move the label to the center? I.e.: the black label for the not gate is ...
7
votes
2answers
494 views

How to draw a ``bunch of documents'' icon with Tikz?

I would like to draw something similar to this (see below) with Tikz. Except for the lines and the dog-eared thing. That is, I want to draw three nodes with a layer effect... What I've tried so far ...
16
votes
3answers
582 views

The belt for chain of gears

I want to draw like this Gears I created based on rpapa's codes. \documentclass{article} \usepackage[dvipsnames,svgnames]{xcolor} \usepackage{tikz} \newcommand{\gear}[3]{% \def\modu{#1} ...
7
votes
1answer
119 views

Placing text on face of 3d cube

How simple/hard would it be to add text to the front face (the red colored face in this example) of the cubes found at http://www.texample.net/tikz/examples/plane-partition/? I have seen examples like ...
2
votes
0answers
79 views

Undefined control sequence \end{tikzpicture} with classicthesis.sty

Sadly I wasn't able to get the help I needed from this other question with the same problem: Undefined control sequence \draw and \end{tikzpicture} I am using the code presented in this answer: ...
4
votes
2answers
197 views

How to draw a figure with output as input with latex?

I want to draw the exact replica of this figure with latex but I failed to draw the feedback as I want. Thanks for your help. Here is my result and my code. \documentclass[11pt, ...
0
votes
0answers
34 views

Auto label points read from file

My question is the following, I read data from txt file where the data are stored as: North,East 1,5 4,7 a file with code \pgfplotstableread[col sep=comma, header=true {data.csv}\table; \addplot ...
6
votes
2answers
88 views

Branching statement issue (TikZ)

I am using a branching statement in a tikzpicture as presented in the TikZ & PGF Manual (p. 634). Here is a MWE : \documentclass{article} ...
6
votes
1answer
240 views

``squeezed in word'' effect

Is there a way (with tikz) to get an effect like shown in the following image? I.e. what command \inserteffect would yield that effect instead of just inserting in brackets as is the case for the ...
3
votes
1answer
95 views

How can I draw the following plots?

I have two plots. How can I draw them? Thank you
2
votes
1answer
64 views

How to nest a particular grid structure into the node?

I'm trying to achieve the following result with tikz: but I'm not able to structure the nodes like those in figure. The colors and the arrow style are not important. It's just the node inner ...
1
vote
3answers
130 views

Drawing birth and death process diagram with Tikz

I am trying to draw birth and death process diagram under queuing theory with text on top and bottom of the diagram. I am using TikzEdt software. When I compile the code I received an error message ...
7
votes
1answer
175 views

How to draw stacks of blocks in tikz?

I am preparing a presentation on Python Scientific Computing and trying to draw a block diagram showing the software stack that are used in this environment. I came up with a good output, but since I ...
0
votes
1answer
39 views

Data points not shown when using TikZ datavisualization in beamer

When I try to implement the first example of section 75.2 from the TikZ 3.0.0 manual within beamer I don't get any data points. \documentclass{beamer} \usepackage{tikz} ...
4
votes
0answers
42 views

Hyperlink a rotated nodepart

I would like to have the entire node part a link. But, it seems that once you rotate, hyperref has issues. The reference below say to place the rotated content in the hyperlink, but not sure how to do ...
4
votes
2answers
102 views

Why does Tikz ignore my variable increment?

I am at wits end with a simple problem (I am just learning Tikz). I am trying to use tikzmath to increment a variable. However, the output of my code is 1 every time the loop executes. Here is the ...
4
votes
1answer
41 views

my centering command does not work! why?

I am going to plot a bar histogram using the following command: \documentclass[a4paper]{report}‎ \usepackage{pgfplots}‎ \pgfplotsset{compat=newest}‎ \begin{document}‎ \begin{tikzpicture}‎ \centering‎ ...
4
votes
1answer
79 views

How can I force the pin angle in a TikZ data visualization?

Please note that I am not using the pin option of a node as in How can I force TikZ pin angle? and TikZ node pin angle in 2D plot, but am instead using the pin in data option in a TikZ data ...
3
votes
3answers
75 views

vco lowpass etc. don't work. Circuitikz

How come that circuitikz does not give me the vco I intend to build? See this code: \documentclass[tikz, border=10pt, 12pt]{standalone} \usepackage{circuitikz} \usepackage{verbatim} ...
1
vote
1answer
59 views

How to draw specific shapes for input and output message like Tikz ones?

In an algorithmic representation (i have been helped for that a few months ago, thanks to tex.stackexchange !), I would like to use 2 spécific symbols for input and output data : Here is the actual ...
2
votes
0answers
74 views

How to draw Box UEFA champions league

My source \documentclass{article} \usepackage[table]{xcolor} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \tikzset{add reference/.style={insert path={% coordinate ...
2
votes
1answer
31 views

Why does including brackets in a TikZ datavisualization label give me an error?

My questions concerns the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \begin{document} ...
3
votes
1answer
167 views

I need some hints on how to draw this figure

This is the figure I hope to draw in Tikz. I need to draw 4 components. Two Banana-like objects facing each other. Two curves with a certain curvature connecting the two Banana-like objects A ...
2
votes
0answers
50 views

PDF viewer crashes when creating complex picture in Tikz

I've been creating an image using Tikz and everything works fine, however the code is rather long (~270 lines). I'm highlighting this aspect because I think it's the reason why my PDF viewer often ...
2
votes
0answers
59 views

Error in GeoGebra-Generated Tikz Code [closed]

I used GeoGebra 5.0.0 to draw a diagram consisting of a few points, lines, and circles inverted in a circle (it's called `reflection in a circle' in GeoGebra). I then exported the graphics view to ...
3
votes
1answer
66 views

Split nodes (again)

Using an idea posted here I'd like to draw a graph of vertices and edges using some split circular nodes (and colored differently). Unfortunately the edges are not ending nicely. It would also be ...
2
votes
1answer
34 views

Adding a legend with connector to a picture with overpic and tikz lead to a misspositioning of the bottom left corner of the tikz picture box

I try desperately to make a macro which allows me to simply add a circled number with connector on a figure. To do that, I try to use into the command \put of overpic a tikz function which makes the ...
0
votes
1answer
43 views

Can TikZ be used in a caption block?

I want to get the following effect: I wrote the code show below, but itt cannot be compiled. I don't know what is wrong with it, or how to get the effect of Figure 1. What should I do? ...
1
vote
1answer
60 views

Is it possible to use TikZ shading with XeLaTeX? [duplicate]

When adding the second solution to this answer, I initially tried to compile with XeLaTeX so that I could use fontspec. However, that didn't work, although compiling with LuaLaTeX did. I've now ...
3
votes
1answer
85 views

Coordinate System in Tikz with plottet with one equation

I would like to have this coordinate system (with numbers on the axes): I know how to make it in Tikz; but the numbers on the axes are missing and I would like to add a plot: ...
3
votes
0answers
77 views

Pgfplots Boxplots with a thick line at the mean value

pgfplot produces nice looking plots, that have consistent look and feel. But sometimes you have a good reason to change that look, and I found it tricky to change style of an specific line, circle, ...
3
votes
1answer
47 views

Tikz and ctable incompatibility, gives error when printing

When I print a report I get an error: An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem ...
2
votes
1answer
56 views

linking a dot and a triangle

I am trying to link a triangle and a dot but I couldn't figure it how to do it. here is followed by the image of what I get: \documentclass[border=3mm]{standalone} \usepackage{etex} ...
2
votes
0answers
54 views

rotate around and calc [duplicate]

I found a strange problem in my tikz picture. I use calc library to draw a line, and rotate this line with some angle, but I find I cannot specify its rotate center point. In other words, the rotation ...
2
votes
1answer
156 views

How can I draw the integers with labels?

I want to draw a representation of the integers with numbers below the marks. So far my code is this: \begin{tikzpicture} \foreach \x in {-5,-4,-3,-2,-1,0,1,2,3,4,5} ...
12
votes
2answers
249 views

LaTeX figure, how to make it?

I want to draw this figure in LaTeX but I failed. Here is what I get from my code. Could you help me please? There is my code. Thank you. \documentclass[11pt, letterpaper]{article} ...
2
votes
0answers
294 views

How to make the fancy Time Schedule/Time Table in LaTeX? [closed]

I want to make the Time Schedule in LaTeX but it's not working properly. First I want to make the atleast three rectanuglar boxes and when in TASK row I start writing full picture forward. So need ...
4
votes
0answers
206 views

Batman Equation in LaTeX

Based on the answer from Gonzalo Medina, the Batman Equation in LaTeX is nearly finished. \documentclass[border=10pt, tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{arrows} \tikzset{ ...
4
votes
3answers
71 views

avoid overlapping between line label and nodes

I'm using tikz to draw a info flow diagram which contains a few long labels. What I get is unacceptably ugly, mainly resulting from various overlapping between labels and shapes. Ideally, I want the ...