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
3answers
138 views

Creating Concept map akin to markdown

After watching some videos on concept maps such as concept mapping for time management and long term memory, I decided that this might be a useful way to learn. When looking for apps (e.g. CmapTools) ...
1
vote
2answers
91 views

tcolorbox and tikz: two pictures in two columns

Basically I want two tikzpictures of the same size aligned in two columns. To realise this I use the tcolorbox package with its \tcbsidebyside{}-command. The problem is that the picture in the second ...
4
votes
1answer
78 views

Tikz - Drawing a partial circle between two lines

So I am trying to draw a triangle excircles but I do not need the extra circle beyond the circle's center point. How do I draw the circles partially? Is there any way to cut off the segments? Here ...
3
votes
2answers
84 views

How to adjust arrows in this tikzpicture?

I want to draw following block diagram in tikz environment. Here is my code: \documentclass{beamer} \usetheme{default} \usecolortheme{default} \usepackage[english]{babel} \usepackage[style=verbose,...
1
vote
1answer
57 views

Enlarge the arrows on the edges

I have written the following code for a directed graph, but the size of arrow is too small. My question is how can I enlarge the size of the arrows \documentclass{standalone} \usepackage{tikz} \...
4
votes
1answer
54 views

How to draw vertical arrows toward a line between two coordinates?

In this shape I need to draw the two vertical arrows from nodes toward the line as shown in red. \documentclass[border=1cm]{standalone} \usepackage{tikz} \usepackage{amsfonts, amsmath, amsthm, ...
3
votes
1answer
40 views

tikz: Expand rectangle size to cover text inside rectangle fully

I've defined the following command that just draws four colored rectangles with some text inside them: \newcommand{\fourcards}[4]{ \begin{figure} \centering \begin{tabular}{cccc} ...
2
votes
2answers
70 views

Allow page breaks in a dashed box

I use tikzpicture for my dashed box, but the box breaks to a newpage when the inside text is too long: Here is my .tex: \documentclass{article} \usepackage{lipsum} \usepackage{tikz} ...
1
vote
1answer
35 views

Drawing Nx1 tables in a row with specified spacing using tikz(page replacement algorithm illustration graph)

Actually, how to draw the picture like this. That's the illustration of LRU page-replacement algorithm in operating system concepts.
1
vote
0answers
26 views

Arrange tikzpicture horizontally [duplicate]

I want to arrange three pictures drawn with tikzpicture horizontally. Unfortunately I can't make it work using any of the threads on a similar topic. Thank you a lot for your help, best regards ...
2
votes
2answers
88 views

Add and mention some pages in another page

How can I add some pages in another page like the following picture, and how can I mention them with this free arrows on the text!
1
vote
1answer
48 views

Arrows between parts of two brackets

Source: Better solution to display the Distributive Property Question: When i came across the answer given by Peter Grill, i am very interesting to know that how we can extend(modify) this codes ...
1
vote
1answer
56 views

3D spherical coordinate system in pgf plots

I just learned 3d rectangular graphs in pgf-plots, and now I need to graph in spherical coordinates. Ive been reading the manual and cant find an answer. Is there a simple way to plot something such ...
1
vote
1answer
79 views

Using Tikz to Sketch an irregular graph

I am trying to use tikz to sketch these graphs but it looks irregular and don't know how to go about it. I can do almost everything with the exception of the irregular graph in red which I would need ...
4
votes
2answers
74 views

Specify where and how edge connects to child (tikz)

I have the following tikz tree: I'd like to change where the edge meets the child to where I placed the red dotes. Also, I'd like to have bend edges. I've tried [bend left] but it didn't change ...
0
votes
0answers
18 views

Subfloats with tikz files [duplicate]

I have several tikz files which I include in the following way: \begin{figure}[!htbp] \setlength\figureheight{5cm} \setlength\figurewidth{0.4\textwidth} \subfloat[Subcaption1.\label{fig:...
1
vote
0answers
44 views

Adding border to table of contents in xepersian package

I'm trying to add a border to the table of contents and so far I've done this: \def\@makeschapterhead#1{% \begin{tikzpicture}[remember picture,overlay] \node at (current page.north west) {\begin{...
8
votes
1answer
74 views

How to skip a ticklabel on a tkzAxe?

The picture below shows my problem: I want to skip the "2" on the x_2-axis. How can I do that? Here's the corresponding code: \documentclass[11pt,a4paper]{article} \usepackage{tkz-euclide} \...
2
votes
1answer
50 views

Positioning name of node label in tikzpicture

I have the following diagram: \documentclass{article} \usepackage{amsmath,amsfonts,graphicx} \usepackage{algpseudocode} \usepackage{tikz, nth} \usetikzlibrary{arrows.meta,decorations,decorations....
1
vote
1answer
83 views

Drawing topology of network with Tikz

I want to draw with Tikz a topology as illustrated below The shape of node preferred is ball, can you help me ?
0
votes
1answer
46 views

How to label a textbullet with tikz?

I have this code: \documentclass[table,dvipsnames,svgnames]{beamer} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[red] at (6.6, 2.7) {\textbullet}; \end{tikzpicture} \...
1
vote
0answers
45 views

tkz-euclide but in 3d?

I just recently found the package tkz-euclide and I think it's amazing. I was wondering if there is a similar package to work in 3d. And if not what is, in your opinion, the best package for 3d ...
2
votes
1answer
42 views

Customise Space between Nodes in Tree (using Forest)

I have the following tree, and I would like the central and the right branches to have a wider separation between them, to avoid confusion. I have been trying some things because I thought it would ...
2
votes
1answer
133 views

How to create Surface finish texture symbols with TikZ?

Relate to How to create geometry tolerance symbols with TikZ? I want flexibility, adaptive control by parameter, thanks for your answer. 20160627 update start: For example \RF{a=Rz1.6,b=xx,c=xx,d=...
6
votes
1answer
54 views

rotating custom shapes in Tikz

I'm trying to build upon the rectangle node shape but what I came up with doesn't rotate nicely (the hashed pattern, the second rectangle). As you can see, I've tried adding as many transform shape ...
2
votes
0answers
29 views

TikzEdt checking for new version gives “server not found”

Since some weeks ago when I run "Check for updates..." in TikzEdt (version 0.2.3.0 with Windows 10) I get the error: Checking for new version failed: Errore del server remoto: (404) Non trovato. ...
2
votes
1answer
55 views

3D pgf/tikz; first time making a 3D graph

This will be my first 3D graph on LaTeX, and I need help figuring out how to generate the graph of f(x,y)=xye^{x+2y-9x^2-9y^2}. Thank you for your help.
2
votes
0answers
16 views

Filling bar chart with patterns for black and white printing [duplicate]

I am trying to plot a bar chart like below: \documentclass{standalone} \usepackage{graphicx} \usepackage{tikz} \usepackage{pgfplots} %\usepackage{subcaption} \definecolor{blues1}{RGB}{198, 219, 239} ...
2
votes
0answers
14 views

TikZ: Problem with relative node positions for “big” nodes [duplicate]

I want to place two nodes besides each other, using TikZs right of= placement. But if the first node is two broad, like in the minimum example below, this does not work right. How can I make TikZ ...
4
votes
1answer
56 views

arrow tip when using “.. controls ..” in tikz

When I draw a commutative diagram with tikz, I normally use the syntax \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \node (a) at (0,0) {$A$}; \node (...
2
votes
0answers
61 views

Using equation/function in 3D TikZ

I have a subset in 3D, than has the restrictions: 1<=x<=2, 1<=y<=2, 1<=z, 2x+2y-z<=5. So far I have just plotted the point, where I restrict x and y. How do i plot the last ...
2
votes
2answers
39 views

Multiple object instances represented by two slightly shifted rectangles

In a software diagram, I'd like to be able to represent multiple instances of an object by two rectangles with one of them slightly shifted. I recently learned about the pic style so I'm using it with ...
3
votes
1answer
35 views

How to define a moving line?

In the following code, I draw two parallel lines. I am looking forward to know how to define a moving line which from the blue line to the red line which will result in a animation. The code is as ...
1
vote
1answer
59 views

How to get random-steps decorated tables?

I use tikz's decoration={random steps} a lot in a document for boxes and separator lines. In the same document I have tables set as tabularx, but the cell backgrounds / lines in those tables are ...
3
votes
1answer
97 views

Pgfplots and large exponents in expression and domain

After I discovered the fpu library for increased precision, I tried to make a plot involving large exponents. I choosed as an example a plot of the gravitational force of the moon on a test mass in SI-...
3
votes
1answer
46 views

Plotting figure side by side and numbering them using subfigure

I am trying to plot two figure side by side using subfigure. However, the figures are coming one below another instead of side by side and also the caption is printed twice for each o the figure! I ...
0
votes
1answer
29 views

Pgfplots domain [duplicate]

I have three columns of data and one which stops at a moment, but the other continues. But LaTeX creates the values as a constant, and I don't want them to appear, how to do? \begin{figure}[h!] ...
2
votes
0answers
69 views

Typesetting category of elements diagrams

This nlab page features the two diagrams below which I would like to typeset myself, except I only know xypic which cannot really produce them. I would like to typeset the following: What is a ...
1
vote
0answers
54 views

Can't select text in PDF created using Asymptote [duplicate]

I am making 3D diagrams using Asymptote, export them as PDF and then use them in LaTeX documents. I cannot select the text/labels inserted in the pictures/diagram in the final PDF of the LaTeX ...
1
vote
1answer
38 views

Help with Arrow Thickness

I need help with making the arrows thicker for the following: \documentclass[landscape, 12pt]{report} \usepackage{hyperref} \usepackage{tikz} \newcommand{\myarrow}{\raisebox{11ex}{\tikz \draw[->] ...
1
vote
1answer
64 views

Using \pause and multiple tikzpictures in one slide

I have two tickpicture blocks. What I need, is to use \pause (or overlay) another plots on top of each one: \begin{tikzpicture} \draw (0, 0) node[inner sep=0] {\includegraphics[width=1\...
3
votes
3answers
94 views

How to color tick label background when curve overlaps it

I have lots of pgfplots in my document with curves that pass vertically through points where I want an x tick label. This makes those labels hard to read. I do want those labels to still be there. I ...
4
votes
3answers
211 views

Typeset simplified ROM circuit diagram using Tikz

I'm trying to typeset the following image using Tikz: I have tried many options, but there doesn't seem to be any good solution doing this an efficient way. My code I used at last: \begin{...
2
votes
0answers
37 views

Tikz plot of a (log-) normal quantile function and inverse error function

I want to plot the lognormal and normal quantile functions in tikz. To fix notation, let's refer to https://en.wikipedia.org/wiki/Normal_distribution, which gives the quantile of the normal ...
3
votes
1answer
64 views

TikZ: Change position of arrowhead along line?

I have a TikZ plotmark and an arrow leading to it: \documentclass{article} \usepackage{tikz} \usetikzlibrary{plotmarks} \begin{document} \begin{tikzpicture} \node at (4,0) {\pgfuseplotmark{*}}; ...
2
votes
1answer
100 views

How can I draw the Minkowski sum of two sets? [duplicate]

I would like to represent the ɛ-neighborhood of a convex polygon, which is the Minkowski sum of the polygon and a disk of radius ɛ. The polygon is given by its vertices, from which of course I could ...
4
votes
1answer
30 views

Link Arrows in pgfgantt for Long Periods of Time

I am making a Gantt chart with pgfgantt. The arrowheads for dependencies between the bars do not show properly (e.g. pointing to left rather than right, for an input to another bar). My time-frame is ...
2
votes
0answers
42 views

How can I rotate this ellipse on xy plane?

I want to enclose the red circles into an ellipse, but this ellipse should rotate, but the rotation is wrong. \documentclass[border=1cm]{standalone} \usepackage[x11names,dvipsnames]{xcolor} \...
2
votes
1answer
23 views

'Undefined control sequence' with \addplot

When trying to insert a TikZ figure, using \addplot, I've got an 'undefined control sequence'. My code is: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} ...
1
vote
2answers
32 views

Background image moves to the right with the addition of text

I'm building a title page for a custom report .sty file. A MWE follows: \documentclass{report} \usepackage{lipsum} \usepackage{geometry} \usepackage{mwe} \usepackage{tikz} \usepackage{pgf} \...