Questions tagged [tikz-styles]

{tikz-styles} are predefined sets of options that organize how graphics elements are drawn. It is thus possible to program specific styles and reuse the styles on different objects. The {tikz-styles} tag can be used in parallel with {tikz-pgf}.

Filter by
Sorted by
Tagged with
1
vote
1answer
41 views

Filling out the space between two circles with dashed lines in order to create a torus like shape

\documentclass[fleqn]{book} \usepackage{amsmath, amssymb} \usepackage{amsthm} \usepackage{xcolor} \definecolor{nord0}{HTML}{2E3440} \definecolor{nord4}{HTML}{D8DEE9} \definecolor{nord5}{HTML}{E5E9F0} \...
1
vote
1answer
42 views

How to put box like image in left side?

How to use code like this? I need it for explain and summary answer in books. Can help me!
3
votes
1answer
65 views

How to shift plot

I want to draw several plots in the same tikzpicture (I am not sure if there is other ways to do it) using plot function in tikz. The code is: \documentclass[preview,border=2pt,2pt]{standalone} \...
0
votes
2answers
62 views

How do I change the arrow length in a tikz file

Edit: I have the following code in which I want to change the length of arrows: \documentclass[preview,border=2pt,2pt]{standalone} \usepackage{tikz} \usetikzlibrary{shapes,backgrounds} \...
0
votes
2answers
67 views

How can I draw this graph in the picture attached below by using tikz [duplicate]

I would like to draw this graph in the pic via tikz, could you please help me
0
votes
2answers
49 views

How to align label to the center of picture in tikz

I have a tikz code to draw four circles as follows: \begin{document} \pagestyle{empty} \tikzstyle{white} = [fill=white,fill opacity=0.4] \tikzstyle{gray1} = [fill=gray!5,fill opacity=0.7] \...
0
votes
0answers
24 views

How to access style values of a node

I'd like to access the style of a node, something like mynode.fill or mynode.color etc.. Particularly, I have this task: draw a node and grid it. But I'd like to use some node properties when I plot ...
0
votes
2answers
33 views

How to draw complicated arrows in a big flowchart and also how to maintain the size of the whole thing in an article?

I have been trying to draw a big flowchart inside my article. I have managed to draw most of it but got stuck in some places. First, I can't draw the arrow marked in red in the image. I tried to use ...
0
votes
1answer
78 views

How to draw and shade dependent sets with legend? [closed]

Suppose $x$ and $z$ are variables in interval $[0,1]^2$. How is it possible to draw the following sets and shade them and provide legend? $c1 \quad if 0<x<1/13*(5-2sqrt(3)),0<z<1/2(2x+x^2)+...
0
votes
1answer
90 views

Rainbow arrow with snake decoration

I have a simple question but I can not find a solution : How can I get a simple snake arrow but with a rainbow color?
0
votes
1answer
114 views

A Mindmap with Tikz

I want to create a mindmap by using the following. I have never created a mindmap before. I want to use \usetikzlibrary{mindmap,trees} But I think that I have a lot of things about this. Question 1: ...
0
votes
1answer
43 views

Assign a colour to a \lineload

I need to illustrate three different load situations. I need a load to act on a line in three different ways: equally, with peak on the uppermost part and with peak on the lowermost part. For this ...
1
vote
1answer
44 views

How to make a Whitehead link in the tikzpicture

I made an attempt to make a Hopf link using my own code: \begin{document} \begin{tikzpicture} \begin{knot}[ clip width=3, flip crossing={2}, ] \strand [ultra thick, red ] (1.5,0) ...
1
vote
1answer
83 views

Can someone help me design this shape in TikZ

I've gotten a little bit done so far but I'm not sure how to do it. Especially because I don't quite know how to do the coordinate system yet. The lower cylinder has an arrow pointing at it ...
4
votes
5answers
362 views

How can I recreate this rectangle with lines, points, and labels in LaTeX?

I'm just typing this up for class and I'd appreciate some guidance like what packages I'd need and how to start?
2
votes
1answer
57 views

How can I get an horizontal double loop (infinity symbol) with TikZ?

I want to get the following image, wich consists on two horizontal loops, by using Tikz (or Tikz-feynman). I know that probably I have to use the parameter "arc", but I get very confused ...
0
votes
1answer
54 views

How to put one TikZ picture on top of another?

I have two TikZ pictures on my slide, and now for me they are displayed one next to the other. I want first one to be on top of the other one. Also, I want to draw three arrows between Alice and Bob, ...
3
votes
2answers
67 views

Increase the width of the arrowhead and shape boundary

I want to increase the width of the arrowhead and want to make the boundary of the shapes border a little darker (like I want to make the lines of the rectangle to be thicker). Is there is any way of ...
5
votes
1answer
76 views

How to mesh connect the nodes and do curvy arrows in TikZ?

I want to draw the following in TikZ: However, I'm not sure how I can draw all the arrows, and position the math equations in the places that they are shown. I have the following nodes (I used "...
2
votes
1answer
65 views

How to draw arrows below nodes in TikZ?

I want to replicate the following drawing with TikZ in beamer, with slight changes to the names. Currently, I have something like this, but it is not exactly what I want. The lines are next to the ...
0
votes
1answer
45 views

TikZ drawing lines between nodes and text above/below nodes

I want to draw kind of a protocol flow, where I have two parties, and each send one message to the other one. One arrow should be above the other one, and above both arrows there should be some text. ...
0
votes
1answer
48 views

how to create a term-life annuity timeline on LaTex [duplicate]

how to create a term-life annuity timeline like this
0
votes
2answers
98 views

Draw Toroid in Tikz

I want to draw a toroid in TikZ like shown in the example picture below: I found already something: Modify TikZ coil decoration But I have no Idea to bring this on a circle. First, Yes it must be ...
0
votes
0answers
20 views

Why is minimum width ignored?

I am trying to draw a simple node with a split rectangle. minimum height works as expected. But minimum width is simply ignored. I'd like to make the node a bit wider. Below is an MWE. \documentclass{...
1
vote
2answers
67 views

Draw hash table (int -> array)

I would like to visualize a hash table that maps integers onto arrays of integers. I have found visualizations for both arrays and hashtables, but none of the hashtables had arrays as values. What I ...
0
votes
2answers
35 views

Help Lines point of origin in tikz

I use this code: \documentclass[12pt,a4paper,oneside]{book} \usepackage{tikz} \usetikzlibrary{positioning, decorations.text, calc} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{figure}[!ht]...
0
votes
1answer
41 views

fitting tikz in two column document

I have the following tikzcd diagrams in my two column document" \begin{center} \begin{tikzcd}[column sep=20,row sep=20] P: \prod_{i=1}^{WS}{G} \arrow[r,"RTL"] & \prod_{i=...
1
vote
1answer
73 views

Accordion Keyboard layout with TikZ

I am trying to draw accordion keyboard layout with Tikz To have results like this with modified variable, Could someone helps me to create something similar with Tikz ? Does anyone have any code ...
0
votes
1answer
37 views

TikZ plots are not centered

I use the following to show examples of overfitting, underfitting and balance: \documentclass[12pt,a4paper,oneside]{book} \usepackage{tikz} \usetikzlibrary{positioning, decorations.text, calc} \...
1
vote
2answers
54 views

Drawing a arrow tip with text in it or a double arrow with different angles on both tips

I need to draw a figure as attached. Any help is appreciated. I tried a double arrow but I an unable to give different angles on both tips. Any other idea is welcome.
0
votes
1answer
33 views

How to remove the tick number in tikzpicture code?

I created the code of tikzpicture in Geogebra. I want to remove the tick number leaving only the ticks. How to modify the code and remove the tick number. The code of the tick picture is: \begin{...
2
votes
2answers
250 views

A rectangular shaped carpet with the grass

I have a rectangular shaped carpet. Is it possible to create a specific code to simulate a grass carpet, like in a golf field? \documentclass[tikz,border=5]{standalone} \usepackage[prefix=]{xcolor-...
2
votes
1answer
51 views

Intervals on the real line. How to construct the symbolic diagrams of real intervals on the real line?

I'm trying to elaborate on my student's exercises on interval notation on the number line. I tried using the LaTeX code of this response here to draw intervals on the number line identical to those in ...
2
votes
2answers
445 views

Tikz node with data storage flowchart symbol

I am trying to create a Tikz node with some text that has the ‘data storage’ flowchart shape: This is what I'm building on: \usepackage{tikz} \usetikzlibrary{shapes.geometric} \tikzstyle{storage} = [...
0
votes
1answer
24 views

using columns breaks the compilation of the document

while using the beamer class to try to make this slide 2 things poped up- When try to use columns it breaks the document The coordinates gets messed since the circle expected (thanks to abcdefg) ...
1
vote
1answer
43 views

Reference custom labels of TikZ graphic in text

I have drawn the following diagram using the tikz package. I need to add labels on arrows and reference them back in the text. How can I do that? I would be so grateful if someone could give feedback ...
5
votes
3answers
592 views

Encircle a formula with arrow pointing from the circle

Is there perhaps a package that already does something like this? In THIS topic encircling a formula is given, but I don't understand the syntax to modify the 'circle' to have an arrow point outward ...
0
votes
0answers
76 views

tikz drawing perpendicular line

I copied and pasted some code from another thread on this forum, and it has worked, however I am unsure how to change the length of the line. On the attached image, the line is the one labelled H(X,T)....
0
votes
1answer
33 views

Text overlap in nodes

I've created a tikzpicture that has a lot of nodes. These nodes are sometimes close to eachother and my text is overlapping. This is my output: What i want to have is this: The text lines under ...
2
votes
3answers
133 views

Edit fading in TikZ

I have a filldraw rectangle with custom fading (i.e. more than just top fill = color1, bottom fill = color2 for instance), that is defined using the \shade option following this post by Tobias Brink. ...
1
vote
1answer
43 views

Haw can I put one node into the other

I want to make flowcart diagram with while loop and some actions inside it. I have written the folofing latex code: \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[...
0
votes
1answer
61 views

How to define line behaviour in Tikz?

I have the following LaTex code: % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode \documentclass[14pt, a4paper]{article} % use larger type; default would be 10pt \usepackage[utf8]{inputenc}...
1
vote
1answer
62 views

How to do the following diagram in Tikz?

I'm trying to do the following diagram Here's my try: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \pagestyle{empty} \tikzstyle{...
1
vote
2answers
92 views

Labeling an edge in TikZ

I'm new to TikZ (and LaTeX) and I'm trying to create a graph with nodes. I've been reading the manual and I've created a graph using the same method in the picture. I'd like to now label my edges, but ...
0
votes
0answers
46 views

Draw a tree-graph in Latex with Tikz or qtree

Is it possible to draw tree-graphs like the image below in LaTeX? I just need an idea of ​​how to write the first two levels of the tree. I believe that from there I can continue... thanks!!!!!
3
votes
1answer
68 views

How to label a cylinder in tikz

I am trying to create a cylinder like this But I only have the cylinder. How how I do it? Thanks. \documentclass[preview]{standalone} \usepackage{tikz} \begin{document} \begin{figure} \centering ...
0
votes
0answers
74 views

Visual editor for tikz

I would like to draw something like the block of nested file icons as roughly drawn on the paint. This is my current desired, but I need to find a better way about drawing on LaTeX infrastructure. So ...
7
votes
2answers
270 views

Projectile motion: change an old code and make it more beautiful

Given this image, where a golf player throws a ball with a angle of 54.0° above horizontal and a speed v₀=13.5 m/s. Looking this excellent old answer Sketching a graph mapping projectile motion using ...
1
vote
1answer
64 views

Creating rack and pignon arrangement

I'm trying to create a rack and pignon arrangement in tikz. I found a code allowing to draw a pignon. I'm trying to add a rack in order to have the arrangement. I wrote this code \documentclass[...
0
votes
0answers
26 views

Annotating / Labeling an Image with tikz-imagelabels and adding a custom style

I want to use the TikZ package tikz-imagelabels in conjunction with these types of labels I found used in a pie-chart demo but I have absolutely no idea where to start. Im not so good with TikZ to ...

1
2 3 4 5
29