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
0
votes
1answer
67 views

Filetree with pagebreak works but just with one Filetree

I found a latex code (file tree with page break, the owner/creator of this code (pagebreak+filetree) is Sašo Živanović). I want to use this code for a documentation. I want to have several different ...
2
votes
1answer
94 views

TikZ: Define a style of node that puts halo/contour around text [duplicate]

How put halo around text using the contour package as suggested in this answer in many nodes by defining a style? MWE: \documentclass[tikz]{standalone} \usepackage[outline]{contour} %halo around ...
1
vote
1answer
44 views

How to edit this figure to be drawn in just a column of 2 column paper?

The code below makes the output figure to be in full page width. I need to have the same output figure with the width of column (width of 3.9 in). I tried to use this command for the figure ...
-2
votes
1answer
100 views

Hi there! I'm looking for a help drawing this diagram. Any ideas? [closed]

ttps://i.stack.imgur.com/RJiXH.png
4
votes
3answers
464 views

Draw triangle with text in vertices/edges

I'm trying to reproduce the following: I tried to use tikzpicture and made something "by hand" (even knowing that that wasn't the better way), but I was not able to find a way to have the exactly ...
2
votes
1answer
90 views

Greek alphabet not displayed correctly in tikzpicture mode

I'm using the package TikZ to make a timeline with arrows and text pointing to certain ticks. (\begin{tikzpicture}...) The text I have inside the \addmilestone{...} environment contains the Greek ...
0
votes
1answer
572 views

Drawing mechanical systems (Mass-Damper-spring) in LaTeX

I don’t find any library that contain mechanical symbols. Could you help me to draw this diagram (mechanical system) in LaTeX?
3
votes
3answers
230 views

Vertical alignment of text in a node (TikZ)

I am using the TikZ code given in this answer. I would like the text in each rectangle to be on the top left of the rectangle. I already managed to bring the text to the left by replacing align=center ...
3
votes
1answer
91 views

Node text baseline in tikz for multi-part-nodes

I basically have the exact same problem as this question, only for multi-part nodes: I have a node that consists of 3 parts, each of which contains text. I want to have the text aligned by its ...
2
votes
1answer
104 views

Tikz in xetex - Recreate two ways of presenting/displaying old sources

I would like to present old digitalised sources with tikz picture in LaTeX for private purposes similar to the presentation of Luther's sources by Google, which you can see here: https://...
2
votes
1answer
203 views

How to draw a hyperbolic triangle?

Any ideas about how to draw this with TikZ? I tried several things, but nothing satisfactory. What I tried was to doing in the simplest way, that is, \begin{tikzpicture} \draw (point) arc (angle ...
2
votes
1answer
71 views

Vertical error shading in tikz plot

I have the following figure in Tikz (see the MWE below). I have an equation for the line. I have generated the error by plotting the same equation but by changing the line width. However, on the RHS ...
5
votes
1answer
91 views

How to give multiple axis the same style/options

I would like to pick your brains again on a small issue. I want to use tikzstyle to describe the style of multiple plots but when I copy and paste the style I use on my plot, I get a compilation ...
2
votes
1answer
98 views

Create separate double arrows as edge of a tree

I'd like to create a tree with edges made from two separate arrows as shown in picture: But I don't know how to change the edge to 'two separate arrows for each edge' Currently, I could only do the ...
1
vote
1answer
75 views

Is there an efficient way to edit the following UML

I tried to make a UML diagram using I strive in searching to make it looks good. Here is my code, sorry if there are errors (as I am a new learner to TIKZ package) but it should still work if u just ...
0
votes
1answer
191 views

How to align the label to centre?

I'm using tikz to draw my Neural Net architecture. The below snippet is for a single convolution block: \pic[shift={ (1,0,0) }] at (pool_b2-east) {RightBandedBox={ name=ccr_b3, ...
-3
votes
1answer
146 views

How can i design such type of picture in in TikZ? [closed]

How to get the design shown below in tikz wihtout star. Any suggestion will be helpful.
5
votes
2answers
489 views

How to get rid of arrows from european voltage source in tikz?

I would like to get rid of the arrow from the voltage source and just use the label without arrow. Is it posible? Any help would be much appreciated. Thanks \documentclass{article} \usepackage[utf8]{...
1
vote
2answers
156 views

Tikz - cannot figure out why my lines won't connect

I cannot figure out why my code doesn't compile into the attached image, not sure if I am missing something in how Tikz works or there's another issue: Code \begin{tikzpicture} \node[shape=...
8
votes
4answers
461 views

Is there any efficient way to add cell identifier to each cell in TikZ?

I made a grid with TikZ. I would like to add the cell number in each cell (in the middle of each cell), I used this command \draw (-4,2.5) node[below] {$Z_1$}; But this solution is time consuming. ...
0
votes
1answer
85 views

Tikz table with reference

I need to draw a table with the same arrows. The reason I do not want to use the graphics software is that I need to add dynamic references inside the cells using latex. I would appreciate if ...
1
vote
1answer
57 views

Set size text in mdframed

I wish to know if it's possibile to set the size of the text inside a mdframed. The next step is, if possible to set the text in italics form. I have the following code \usepackage[framemethod=TikZ]{...
2
votes
2answers
412 views

Flowchart arrow for loop

I'm trying to make a flowchart for my code using latex using this code, \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{startstop} = [...
0
votes
1answer
160 views

Replicate Action Plan with Tikz

I am wanting to create a template to use for a personal action plan. I googled around and found a format I like. I started to re-create this using TikZ, but I am not that familiar with the package. I ...
3
votes
1answer
138 views

tikzset does not work in foreach loop

I tried to use a foreach loop to define a new style. However, the code within the loop seems to have no effect. The following MWE ilustrates my problem: \documentclass[tikz]{standalone} \tikzset{ ...
4
votes
3answers
171 views

How to make the argument of `regular polygon sides` into a macro?

I am drawing a regular pentadecagon (i.e. 15-gon) using tikz and the shapes.geometric TikZ library. And I went with this (simplified): \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
4
votes
2answers
62 views

Tikz: keys appending label

Is there a (short) solution, so that a label is defined by multiple keys? I guess one solution could be using if-statements (I'm not sure if this is possible). An other solution could be something ...
0
votes
2answers
143 views

How to arrange all xticks on the x axis evenly?

I'd like to evenly spread all xticks labels on X axis, even they are integers. So instead of this: I'd like the 10000,20000,50000,100000,200000 to be treated as text labels and arranged evenly. I ...
0
votes
0answers
54 views

pgfgantt spans width

I would like to draw Gantt chart, where: is generated by: \documentclass{article} \usepackage{pgfgantt} \begin{document} \begin{ganttchart}{1}{12} \gantttitle{2011}{12} \\ \...
2
votes
1answer
301 views

How to draw custom flowchart diagram with tikz?

I want to draw a flowchart diagram like : This diagram is generated by Geogebra. Here are codes: \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \...
10
votes
1answer
250 views

tikz: grid corners

Apologies if this is a duplicate. It would seem like it would be a well-known problem, but I was unable to track a solution. In words: the grid lines do not extend enough to form sharp corners. I ...
0
votes
0answers
42 views

buzzword overview solutions (word cloud) [duplicate]

Is there anything out there I easily can create a buzzword overview with? A Package or templates? (buzzword overview := bunch of words, horizontally and vertically squeezed together in different ...
12
votes
1answer
1k views

Creating a Falcon's logo

I have been trying to trying to replicate this logo for my team (not to mention in LaTeX ofcourse:-)): So where I am now: \documentclass[11pt]{standalone} \usepackage{tikz} \usepackage{pgfplots}% ...
2
votes
1answer
74 views

Line thickness not controllable tikz

I use code below, I don't understand why the "horizontal lines" are thinner than the others. \documentclass{article} \usepackage{tikz,tikz-3dplot} \usetikzlibrary{calc,arrows,positioning} \...
3
votes
1answer
147 views

Tikz - Set all nodes in sans serif font

So far I had the understanding that providing font commands after a "parental" scope/more global definition was given, is additional, but I was wrong. How can I get nodes which are only set in the ...
2
votes
1answer
338 views

Multi input block diagram using TikZ

i want to create a block diagram that has multiple inputs into the next block, but do not seem to be able to get it to work at all. I would like to produce it like: This is what i have right now: \...
0
votes
1answer
62 views

How to modify the following code to add 3 adjcent lines to the left of the generated code?

I made this lines in tkiz to make 3 adjacent parallel lines \node (A) at (-8.5,+1){}; \node (B) at (-8.5,-15){}; \draw[-] (A)--(B); \node[right=-10.3 of A] (b) (...
1
vote
1answer
104 views

How to increase font using Tikz for the following dense protocol?

This figure is made with Tikz package, I need suggestions to make font more bigger and more readable. I tried many solutions such as \Large but still not able to increase the font more clear. My ...
1
vote
2answers
67 views

How to rescale a bayesnet figure

I want to rescale a bayesnet tikz diagram. My document is actually multicolum and with two bayesnet diagrams fitted in one column, but I think the real problem is how to rescale this bayesnet diagram: ...
1
vote
1answer
105 views

The style of plot line changes if \addplot+ order changes

I have a weird issue with this simple plot. I need to draw four couples of plots, each made by an approximate curve (continuous line) and the real curve (dashed line). For some reasons I can't ...
2
votes
1answer
105 views

Make a Tikz figure (a hypersurface figure made by Inkscape)

I am interested in drawing this figure through tikz: I made this figure myself though Inkscape. What is the best strategy to make this figure through tikz? Ans: The best way, for us, seems to be ...
0
votes
2answers
78 views

option clash geometry with tikz when using for a beamer presentation

\usepackage[hmargin=1.15in,vmargin=1.115in]{geometry} \usepackage{verbatim} \usepackage{graphicx,caption,subcaption} \newcommand{\noi}{\noindent} \usepackage{tikz} \usepackage{xcolor} \usetikzlibrary{...
2
votes
0answers
101 views

Complicated curves intertwined in the link figures (I): Unsolved Christmas tree decoration [closed]

I am struggled to draw these types of figures: I guessed there is a package called the knot library (just learned this thing exist 2 mins ago): So I am going to try the knot library out. But in case ...
23
votes
3answers
979 views

tikz — Snake like curves between straight lines

How do we draw a figure like this in tikz? I am able to draw the straight lines, but these curves are too challenging -- how to draw them nice? The minimal template is: \begin{tikzpicture} \draw[-&...
5
votes
1answer
165 views

Draw an array of lines and vectors in tikz

How do we draw a figure like this in tikz? I am able to draw the x-y frame via: \begin{tikzpicture} \draw[->] (0,0,0)--(1,0,0) node[right]{$x$}; \draw[->] (0,0,0)--(0,1,0) node[above]{$y$}; \...
2
votes
1answer
132 views

How do I draw a B-Tree that looks like following

I'm trying to draw a B-Tree with vertical connections to leaves; also, the values inside a node are separated by space only. See the picture below. So far, I have following. \documentclass[...
4
votes
3answers
156 views

How to get positions of tikz curve to lines

I am trying to draw the following figure, that is to get the positions of two separate lines (curve to line) and then draw a line between them. My code, \begin{tikzpicture} \def\L{1.5} \...
4
votes
2answers
111 views

Reducing math font in tikz pgf plot

my tick numbers are overlapping, reducing the fontsize with '\tiny' just change the size of the x but the subindex keeps the same size. How can I reduce the size also of the subindexes in the tick ...
4
votes
1answer
96 views

Drawing a sub cubic grid inside a cubic grid (with different gray scales)

This is a related but very simple follow-up to a previous question, inspired by the comment of @marmot "Or do you want to use different grays for different planes?" Here is what I have This is a 8 x ...
3
votes
3answers
219 views

How to draw a much more dense grid or lattice?

My inquiries: 1) How to draw a much more dense grid in 2-dim? 2) How to draw a much more dense grid in 3-dim? Let us say it is still 4 x 4 in 2d or 4 x 4 x 4 in 3D in size, but I want to have ...