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
17 views

TikZ Matrix overwrite every column/row style for specific column/row

I tried to typeset a table like figure using TikZ matrix library and wanted to add stripes to it. However I also wanted to style the last column and row in another color. Regardless of order and ...
6
votes
2answers
479 views

How to make a glowing text?

I'd like to achieve such a result, like when you apply a glowing effect to a text in an image editor. As I am already using tikz package in my document, it would be prefferable to use tikz's library. ...
1
vote
1answer
37 views

Bullet list in tikz environment

I am working with tikz environment for making a figure with the following features. 1) A rounded rectangle with a figure headline 2) Partitioned into two, with sub-headlines 3) In each part a few ...
0
votes
0answers
52 views

How Are These Diagrams Made? [closed]

I'm working on a my first paper right now which has quite a few diagrams. So far I've been able to get by using tikz, but my last two digrams are quite a bit more complicated than the first two and I'...
0
votes
1answer
39 views

How to draw ER-Diagram-like specialisations (draw a direction-sensitive shape in the middle of a straight line) in TikZ?

I'm working with the tikz-er2.sty Package and extending it for my purposes to draw ER-Diagrams. One missing concept in this package is that of specializations. An example of the specialization ...
2
votes
2answers
33 views

How to draw curved edges in Tikz in a contol flow graph of a program

I'm trying to draw control flow graph of a program using Tikz and want to render a output like the image below But I'm unable to draw the curved edges in the given figure. The Code used for the ...
1
vote
1answer
57 views

Drawing a vector in tikz with a coordinate value of sqrt(3)

I am trying to plot a vector with the coordinates (sqrt(3), 1). Latex won't accept the square root or 3^(1/2). Do I need to manually write in the decimal number every time I have a square root ...
0
votes
1answer
37 views

How to emulate datavisualization's clean scientific axes in pgfplots

I really like the "clean" scientific axes generated by TikZ' datavisualization library. However, since it provides quite a bit more plotting functionality, I want to give pgfplots a shot. How can i ...
0
votes
0answers
33 views

How to draw connecting line in flowchart?

I have a flowchart as shown in the diagram. I want to draw a upward line from a average to train the model. See:
0
votes
1answer
29 views

How to fix same box size in flowchart

I'm following the tutorials given here to understand how to create flowcharts For example in, \tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, ...
0
votes
1answer
17 views

tikz: execute at begin box breaks matrix align

I'd like to insert automatically some text in some nodes inserted in a matrix, so I'm using execute at begin node. But unfortunately, the nodes are shifted up and not aligned anymore: Any idea how to ...
1
vote
1answer
41 views

How to fill everything on one side of path

Consider I have some image. I want to "cut away" part of an image using a double lined arc (see page 110 of the TikZ/PGF manual). This can be done with the following MWE documentclass[tikz]{...
1
vote
1answer
35 views

Multiple values inside stacked bar plot -Tikz

I want to have a stacked bar plot as the attached. However, can not figure out what make the bars to display multiple values? The following is the code. \begin{tikzpicture} \pgfplotsset{ ...
4
votes
1answer
48 views

Break a diagram in multiple independent subdiagrams

Problematic At the end (of a class), this is the full graph I want to display. But during the class, i'll present things step by step with only nodes and arrows in the "case #" area (and like an ...
1
vote
1answer
72 views

Are TikZ clear scientific axis available in PGFPLOTS (continous and discrete signals)

is it possible to re-create scientific axis = clear style using PGFPLOTS? Also, I want to use subcaption to present examples of continuous and discrete signals, but I can't seem to figure out how to ...
4
votes
2answers
167 views

Can I draw x, y lines with cross marks in Tikz

Can I draw a diagram like the following in Tikz? I tried the following in a long table environment. \begin{longtable}{ p{.2\textwidth} |p{.1\textwidth} | p{.1\textwidth}| p{.1\textwidth}| p{.1\...
2
votes
1answer
41 views

Mindmap attributes (grow cycle, level 1 etc) in a Mymindmap/.style

I well understood that \tikzset replaces \tikzstyle. But I am missing something to translate the code from one to another. Leading to the related question, how can I put the grow cyclic,shape=...
0
votes
0answers
35 views

Text inside circles in Tikz

I know there are many questions asked related to this. However, still, I couldn't figure out how to do that. I want to generate an image like the following. The following is what I tried. \begin{...
1
vote
2answers
49 views

How to draw border with half half colors

In the below code how can I draw the line around the circle so that half be blue half red (two color circle border)? \node[circle, draw=blue,line width=.5mm] at (0, 0) [label=center:{($A$)}] (A) {};
1
vote
0answers
65 views

How to draw a map of a country (or continent) and color a section of it?

In my assignment, I would like to draw a map of Australia with the state borders outlined (and the names of each state written on there): I wonder if there is a way of achieving those abilities using ...
4
votes
1answer
129 views

Cash flow Diagrams in economics/finance

The following type of graph (MWE below) describes the stream of flows received and paid over 10 dates. Problematic In economics/finance we frequently need "cash flow diagram" CashFlowDiagram that ...
1
vote
0answers
23 views

Hack the plot handler to display every x line on a 3D plot

After how-to-tranch-a-3d-plot-by-x-or-y, the more general question that has risen is How to hack the plot handler on a 3D plot so that we can draw 1 line every x with a different style (larger line ...
8
votes
1answer
158 views

How to tranch a 3D plot by x or y

When I use a 3D plot in class, I like representing first, 2D plots along each axis (as if I was "tranching" the 3D graph), and then explain the dynamic in 3D. The Final 3D plot is then easier to ...
0
votes
1answer
20 views

How can I draw an arc centered at the center of a node [duplicate]

I want to draw an arc centered at the center of a node (a), I have not been able to find how to draw te arc specifying its center as (a.center), the only option I found is either using cartesian or ...
3
votes
1answer
62 views

Drawing a bundle of cylinders inside a cylinder in 3D

I have been trying to draw the following diagram in TikZ: What I have achieved so far, with the help of the question posed in Drawing cylinder in 3D plane is this: \documentclass[border=10pt,tikz]{...
0
votes
1answer
18 views

Tight borders around and left-aligned text in a TikZ matrix

I would like to draw SQL diagrams in TikZ using the matrix library. However, the following code annoyingly creates unnecessary space around the nodes in the matrices. When I then try to draw arrows ...
0
votes
1answer
47 views

How to fill the space between two curves with colors

On some of the queries, I have seen people ask on how to draw linear inequalities (i.e. how to fill the area with color based on the inequality). Sorry, my code is super long: \documentclass[12pt]{...
2
votes
3answers
59 views

Changing axis scaling and flipping curly braces in tikz

I'm trying to draw an axis with specific points on it, and curly braces above and below to emphasize certain intervals. The goal would be a picture somewhat what I sketched below : I have something ...
0
votes
0answers
27 views

Nested alt fragment in UML sequence diagram with tikz-uml

I would like to create a UML sequence diagram with tikz-uml, which has several nested alt fragments. The problem is that the dividing line of the outer alt fragment starts at the level of the inner ...
0
votes
1answer
32 views

How to go to the new line and draw nodes in tikz

I have the following code \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{positioning,matrix} \begin{document} \begin{tikzpicture}[Dotted/.style={% https://tex.stackexchange....
0
votes
1answer
39 views

TikZ - Node style depending on node value [foreach + ifthenelse]

Into a tikzpicture, I'd like to apply different styles to nodes depending on their values. For example, in a list of integers, I'd like to color the node in red or in blue. This is only a test for a ...
5
votes
2answers
180 views

Plot decorated arrows in pgf?

Problematic I'd like to display a simple continuous graph and a set of vertical arrows whose height follow the shape of a function. The following diagram of flows in TikZ has this decoration \...
0
votes
1answer
71 views

How to create sequencing region diagram

How might I approach to create this in Latex? I am relatively new to Latex and haven't had experience with creation of any diagrams. The numbers and texts themselves are arbitrary as long as there ...
8
votes
2answers
381 views

Block diagram using Tikz picture

I am trying to generate the following figure using Tikz. However, I am not able to replicate the arrows. PS: So far, I have done the following: \documentclass{article} \usepackage{tikz} \...
0
votes
2answers
44 views

Why ```tikzpicture``` appears on a separated page?

I am beginner in tikz environment, so I am really sorry if this question seems quite naive. I had a flow chart drawn using tikzpicture, as you see its not that complicated. The problem is I want the ...
1
vote
1answer
25 views

left and center alignment in tikz

how can I align i), ii) and iii) all to left, many thanks in advance \documentclass{article} \usepackage{tikz, ulem} \usetikzlibrary{shapes,shadows,arrows} \begin{document} \tikzstyle{decision} =...
0
votes
2answers
44 views

Center multiple outputs on output layer of neural network tikz diagram

This question is building of a solution posted here. The code I have below has to be optimized as the output layer is not centered to the rest of the figure. I would like to know how to go about ...
2
votes
2answers
67 views

Increasing thickness of borders in a square grid

Here is the code for a diagram that I have just generated: \begin{tikzpicture}[fill=black] \matrix[matrix of nodes, nodes={draw,minimum size=1cm}, nodes in empty cells,column sep=-\pgflinewidth,row ...
5
votes
2answers
234 views

Tikz and lines with the Q letter

I do have a tex, that always show me a twolines, in a tikzfigure when letter Q is in the line. Let me share the TEX with you \documentclass[parskip]{scrartcl} \usepackage[margin=10mm]{geometry} \...
1
vote
1answer
59 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 ...
1
vote
1answer
19 views

Why does the node drawn by this code not have borders around it?

I'm trying to draw a simple ER-diagram. However, the following code does not produce borders around nodes: \documentclass[tikz]{standalone} \usetikzlibrary{arrows, calc, positioning, shapes....
0
votes
1answer
41 views

Generate block diagram using tikzpicture with rectangle inside rectangle

I am new to tikzpicture bu I am able to generate diagram using the following MWE but I struck at generating the figure as shown in the figure below. Kindly help me to generate a single block. \...
0
votes
0answers
9 views

left alignment in latex \node

how can I align all the i) ii) on the left side, many thanks in advance %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you ...
1
vote
1answer
82 views

Can you please help me write this out in TikZ

I need help writing this diagram in tikz and my skills are not yet advanced enough to do it. Can any of you help me? Please? so far all I have done is this \begin{tikzpicture} \draw (2,2) circle ...
0
votes
1answer
36 views

How can I put an angle at this specific point? [duplicate]

I am new to tikz and I am struggling to be precise with the placement of my figures. Specifically, I was looking to have angle EDF be labeled with $\frac{x}{2}$ and angle ADF to have the "right angle" ...
3
votes
0answers
60 views

imakeidx : create a fancy style with TikZ, with a rectangle with one rounded corner

I am trying to create a nice looking style for my index. Here is what I have achieved vs. what I want to reach : Achieved : Goal : Here is my file tablealphab.ist : heading_prefix " \\vspace*{0....
0
votes
0answers
15 views

define \textwidth and \textheight type of thing for tcolorbox

I have defined an environment based on tcolorbox as: \tcbset{% left=6mm, right=6mm, top=6mm, bottom=6mm, middle=4mm, } \tcbset{% outerlayer/.style={% enhanced, ...
4
votes
2answers
147 views

How to label cells in a square grid

I am relatively new to Tikz and there are still many aspects of it which I am unfamiliar with. I would like to construct the following diagram as appended in the picture. Now, I do know how to create ...
0
votes
1answer
46 views

How can I label the x-axis of my tikz plot with variables?

I am struggling to label the x-axis with my desired points 0, a, b respectively. I want 0 to sit just below the origin, a to sit below where the white rectangle ends and b to sit below where the grey ...
1
vote
0answers
44 views

Custom font with TikZ

I am trying to use Amatic SC with TikZ. Though I have partially succeeded in getting the results, it is not scaling with the use of tikzset. I have defined a new fontfamily for this purpose and it ...

1
2 3 4 5
27