Stack Exchange Network

Stack Exchange network consists of 174 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}.

0
votes
0answers
29 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
26 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....
12
votes
1answer
974 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
40 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
39 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
45 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
45 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
85 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
50 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
33 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 ...
1
vote
1answer
65 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
22 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
85 views

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

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
867 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
86 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$}; \...
1
vote
1answer
60 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
141 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
33 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
35 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
97 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 ...
3
votes
3answers
119 views

TikZ fill using draw color

The following code uses a decorator to add an arrow tip to an edge. Logically, the tip is part of the edge, and so I want it to be colored with the line-color. However, because the tip is rendered ...
4
votes
3answers
138 views

How to create a rectangle tikzstyle with arrows as edges/borders?

is it possible to create a new rectangle tikzstyle with arrows arround it? Like this... Thank you
1
vote
2answers
54 views

How to adjust dotted line in tikz example

I saw this to add a dotted line below some text. But I'm wondering how to shift it down a little bit and play with its positioning, I don't see how to adjust the layout of it from the example. I ...
3
votes
1answer
52 views

Generating tikz figure in latex

I am trying to generate a tikz figure similar to So far I made the following latex code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{booktabs} \usepackage{...
1
vote
1answer
36 views

How to create an article summary template?

I would like to create a box so that the summary is inside, the detail of the box is that it has a detail in the lower right corner.
11
votes
1answer
642 views

A Spiral of numbers

I am trying to produce a spiral of numbers from 1 through 101 with the following properties: -- multiples of 5 are in a node shaped like pentagon -- there is a special starburst node at numbers 3, ...
1
vote
1answer
54 views

How can I create the following graphic of raw data?

I've already tried different codes with tikzpicture but especially the normal distribution graphs are giving me headaches. Any ideas? Would appreciate any kind of help! That is what I have got so ...
2
votes
1answer
41 views

Color ellipse intersection

I try to color the interception of two ellipses as simple as possible. I found some examples here: Draw ellipses with different coloring for their intersection in tikz? But I'm not sure how to ...
5
votes
1answer
459 views

A wheel-like figure

I am trying to draw a wheel-like figure like this. I had used xfig. I wonder whether I can also use LaTex tikz or other ways to get similar figure with the additional criterion the area ...
6
votes
2answers
69 views

Aligning two diagrams in tikz environment

I have created to diagrams separately using TikZ package and now I want to make them left-right shown in one figure with a caption. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
5
votes
1answer
74 views

Strange error for passing parameter to forestset to draw tree

I am trying to draw a simple probability tree, where the probabilites could sometimes be fraction or decimals., this means, I will have to adjust the spacing. So I tried the below code. This produces ...
4
votes
1answer
96 views

Trapezoid box width changes beyond bounds

I have made a flowchart in Tikz, where for the trapezoid (in/output) box I used the following command: \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{io} = [trapezium, ...
2
votes
2answers
70 views

PGFplots: Changing style of labels of nodes near coords

Trying to adopt this answer approach, I didn't manage to get what I want of changing the style of the nodes near coords labels. I would like to make this code poles={red, fill = blue, draw} work and ...
1
vote
2answers
67 views

Perspectives in 3D graphics with tikz: practical application

Objective Below is a plot rendered in Mathematica. The goal is to reproduce this figure using tikz. After perusing many useful posts (such as Tikz: drawing in perspective), the solution is elusive. ...
1
vote
1answer
47 views

Plotting 3d vectors with a light cone in background

I was trying to plot a a couple of 3d vectors with a light cone in background. The code is a fusion of the following two old answers: Cut-off cone in TikZ and 2D and 3D vectors in Tikz. I was not able ...
1
vote
0answers
74 views

Can the command \minted and \mintinline have rounded corners without depending on the package listings? Are tcolorbox and tikz needed?

I use XeLaTeX, but I can not use both or similar or duplicate packages, because someone said it is bad idea in XeLaTeX. I would like to use only minted. Here are two answers which offer inline code ...
0
votes
0answers
29 views

How to align label and axis

What is the easiest way to align a axis label and the coresponding axis? My plot looks like this at the moment: And the code is the following one: \begin{document} \begin{tikzpicture} \begin{...
0
votes
1answer
46 views

Help in Creating a Legend for a Block Diagram in Tikz

I have a block diagram finished, but I need help in creating a legend for it. I'm trying to create a legend that looks like that picture below. I want to be able to 1st create this type of graphic ...
2
votes
2answers
60 views

How to add perpendicular symbol at desired location

I am trying to draw perpendicular symbol on point where the perpendicular line from O is meeting the line AB. But I am unable to achieve it. I try via simple draw because I use pgfplots (you can see ...
4
votes
1answer
95 views

Paragraph with a colored circle

I would like to put a red circle before the beginning of a paragraph. This code does that effect but there are a lot of errors: \paragraph{{\tikz{\draw[red,fill=red] (0,0) circle (.5ex);}} PARAGRAPH}...
2
votes
2answers
82 views

A custom table using TikZ instead of tabular

How could I create a table like below using TikZ? I tried using matrix, but could not get rid of few table lines like below. It might be easier in tabular LaTeX, but I want in TikZ because I could ...
1
vote
0answers
38 views

How to use tikzpicture/tkiz with IEEE access format? [closed]

I have a tikzpicture that works fine in IEEE format. But when I copy the same code to IEEE access format, I got many errors. I googled for how to use TKIZ in IEEE access, but these solutions does not ...
3
votes
1answer
59 views

Space between containers and arrow from block to container

I am trying to build a block diagram and achieved as below so far. MWE: \documentclass{article} \usepackage[utf8]{inputenc} \title{system overview} \author{Paari Vendhan} \date{November 2018} \...
3
votes
2answers
71 views

How do I mark an angle with multiple arcs?

I have been trying to find a good answer to this question (or a question to match it): I'm trying to give an angle a marking with multiple arcs in the interior, as per the pictures below. I'm not ...
1
vote
1answer
54 views

Layout modifing: simple code like this!

I'm new here. I found a code online and I'm working on it to obtain a good layout for my manual. Now I have this code: \documentclass[11pt,a4paper]{book} \usepackage{calc} \usepackage[left=1.5cm, ...
2
votes
1answer
64 views

How to draw a shift of line in tikz?

How to draw the first picture in Figure 1 of the paper on page 2? I want to draw a similar picture for a hexagon. The following are my codes. \begin{tikzpicture} \foreach \a in {1,2,...,5} { %\a is ...
1
vote
1answer
67 views

Draw a figure (cut-off functions) in tikz

Please I need the code tikz for this figure. I have this code but it's not correct : [![\begin{figure} \begin{tikzpicture}\[x=1.5cm,y=1.5cm\] \draw\[thick\] plot\[domain=-100:40,samples=100\] ({3.5*...
10
votes
3answers
318 views

Expanding macro defined by \csdef to define a style via \tikzset

I need to store tikz option in a \csdef{}: \csdef{My Node Option}{draw=red, thick, fill=yellow} How do I use this definition to define a style via \tikzset? I attempted to use .expand once as per ...
6
votes
1answer
144 views

Drawing Hypergraph using TikZ

I want to draw a Hypergraph using TikZ that looks like this What I have so far: \usepackage{tikz} \usetikzlibrary{calc, positioning, fit, shapes.misc} \begin{document} \begin{tikzpicture} [ he/....
2
votes
1answer
27 views

Method to quickly place text at specific locations on figure

I slightly modified the code written for a second order step response found here. I wanted to add extra text around the figure. I have to through many iterations before I get the placement right. I ...