Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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}.

5
votes
2answers
115 views

Is there an wasy way to program in Tikz something like the one in the image?

I am able of doing the hexagons and the rectangle, as well as all the nodes and so on. My problem is if there is an easy way to draw the blue arrows of the image, knowing that I have given to ...
0
votes
0answers
61 views

Why are my characters overlapping?

As a test of what's going wrong with a longer LaTeX file I've written, here is what I tried: \documentclass{article} \usepackage{tikz} \pagestyle{empty} \begin{document} \begin{tikzpicture} \draw (0,...
0
votes
0answers
44 views

Is there a tikz command for showing people in a flowchart?

I need to show a group of people (sometimes women, sometimes men) in my flowchart. Is there any command for that?
3
votes
1answer
35 views

Two side by side flowchart (tikz-flowchart) with box and label for each

I need to draw two flowchart using TikZ with a box around each flowchart and a label. I'm new to Tikz library and I have looked similar questions regarding pictures and tables and figures. They ...
1
vote
1answer
41 views

Tikz/pgfplots Reduce distance between Tick labels line break

I'm pretty desperate with a problem I have right now. I'm trying to create a lollipop plot that has different categories on the y-axis and occurrences on the x-axis. According to the below code. Note ...
5
votes
1answer
44 views

How to make (multi part) node fill color depend on its content?

In the following MWE i like to change fill and text color depending on content of a cell similarly as I manage to change text color for this particular cell content: \documentclass[tikz, margin=3mm]{...
4
votes
2answers
208 views

A collection of the actual smartphones

Considering the recent excellent questions that I've really enjoyed Welcoming 2019 Pi day: How to draw the letter π? and What has been your most complicated TikZ drawing? I have carefully observed ...
4
votes
1answer
248 views

how to write weight parallel to edge?

In the following graph edge weight by default is written as horizontally, I want to write weight value parallel to edge between two nodes. How may I write weight value parallel to the edge between ...
4
votes
1answer
28 views

How to bend text so that it follows the curves of a Venn diagram

I need to make "class A", "class B", "class C" follow the curves of the circles immediately containing them: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \...
0
votes
0answers
35 views

Latex Figure Query

I am trying to draw a figure in Latex and then convert that pdf to jpg and import in Powerpoint slide. I do not want "Figure 1" which comes below the figure as every separate figure gives me "Figure 1"...
0
votes
0answers
45 views

Wrapfigure unrecognized environment

TeXstudio has highlighted this for some time. same problem indicates it in the commands: \tikzmarknode{}, \eqdescbox, \dimexpr I have no problems in compiling the pdf file, I only see these things ...
2
votes
1answer
46 views

Setting Styles in tikzset

I am facing several issues when trying to create a picture as a tikzset and load it with different variables. The tikzset includes styles for: parts of the tikz picture (in the example the nodes)...
0
votes
1answer
53 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
39 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
38 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 ...
-3
votes
1answer
86 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
317 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
67 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
91 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
62 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 ...
2
votes
1answer
56 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 ...
3
votes
1answer
81 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
93 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 ...
3
votes
1answer
35 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
63 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
27 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
48 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
0answers
69 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, ...
-2
votes
1answer
102 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
366 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
127 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=...
9
votes
4answers
441 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
50 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
14 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
1answer
89 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
71 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
66 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
120 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
51 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 ...
1
vote
2answers
44 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 ...
1
vote
0answers
32 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
84 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
176 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
30 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 ...
0
votes
0answers
29 views

How to make references with empty page style?

I am preparing my PhD thesis, and I am sharing with you this MWE ( i hope this time is compilable). \documentclass[a4paper,12pt,oneside]{book} \usepackage[a4paper]{geometry} \geometry{lmargin=1....
13
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
42 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
47 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
69 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
50 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) (...