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

learn more… | top users | synonyms

1
vote
1answer
15 views

How to modify the pgfplots arrows?

The code \documentclass[10pt,reqno]{amsart} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[arrow1/.style={->,color=black,solid}] \begin{axis} \addplot [arrow1] ...
5
votes
2answers
137 views

Problems with flow chart - decision tree

I am creating a decision tree with flow chart in the using the tikz-package. A MWE is as follow: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} ...
2
votes
0answers
119 views

Cut off graphs using dot2texi with TikZ

I am creating concept maps using dot2texi and TiKz. However, with more complex maps the current style sometimes causes the map to be cut off. This despite the fact that in theory there is actually ...
0
votes
1answer
30 views

TikZ: remove side-bearing from text node

I want to horizontally align the first letter of a text node with a shape I've drawn. In my example, I want the F to be horizontally pixel-aligned with the left side of the square. The first step is ...
2
votes
1answer
26 views

Using a pgfplots style for error bars

The following MWE shows two bar plots with error bars. \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \pgfplotstableread{ ...
0
votes
1answer
18 views

Latex: Changing nodes name using Tikz

Please, how do I change nodes name? I want to change my nodes from a,b,c,d,e to v1, v2, v3, v4 and v5 (please note that the numbers beside V must be subscript). Here is my latex Tikz \documentclass[...
2
votes
1answer
71 views

how to draw 'inhibitory' arrow in latex tikz?

i'm using this tikz-based library to draw nodes and arrows between them (https://github.com/jluttine/tikz-bayesnet). I want to draw an arrow that has a vertical line tip (|) (which usually means ...
3
votes
1answer
126 views

Drawing a closed loop diagram with Tikz with multiple inputs

I am using Tikz for the first time and I am having trouble coming up with a diagram I am required to draw The diagram is this I have found a code and attempted to modify it to make it resemble as ...
2
votes
1answer
105 views

Making Jablonsky diagrams using TikZ

A powerful tool to explain complex chains of transitions between the ro-vibronic level of a molecule is a Jablonsky diagram. The code below uses TikZ to draw the following diagram: But in order to ...
6
votes
1answer
162 views

Increment Counter as part of TikZ Style

I would like to increment a counter every time a particular style is applied. The MWE below compiles just fine, but the counter is not incremented. I would like to have the counter value be 3 ...
1
vote
1answer
43 views

pgfkeys and ifs

I'm still looking for a viable solution to have "conditional pictures", or pictures, where I can enable and disable certain parts of the pictures with styles (very much like beamer overlays). My aim ...
2
votes
1answer
40 views

Automated Tex bubbles with texts

I am working on a project that will require intense timeline fields and all to keep track of stuff so I am trying to make it all easier by making it automatic. I have made a lot of progress in it ...
0
votes
1answer
64 views

TikZ fails to draw

I'm trying to use TikZ to draw the following figure, I'm sure that the commands are correct but I obtain the following error: "! Package pgfkeys Error: I do not know the key '/tikz/closed' and I ...
2
votes
0answers
67 views

Suggestions for a professional LaTeX book template [closed]

I recently discovered LaTeX and have been impressed by how powerful it is. I formerly used DocBook for all my writing, but after a Linux seminar, saw the wisdom in using LaTeX. I started using the ...
0
votes
0answers
41 views

How to create multiple lines with tikz

This is my first time working with tikz. I wanted to draw the scheme in the figure. What I have from my code are the red parts and the green one as well. How should I proceed if I wanted to turn the ...
3
votes
1answer
41 views

tikz: Expand rectangle size to cover text inside rectangle fully

I've defined the following command that just draws four colored rectangles with some text inside them: \newcommand{\fourcards}[4]{ \begin{figure} \centering \begin{tabular}{cccc} ...
8
votes
1answer
109 views

Integrated blocks for thesis structure

I would like to draw jigsaw blocks (boxes) and then write text into it. Something like the following figure. I could not find a package to get this shape, however, I am posting a minimal example ...
3
votes
1answer
96 views

Auto-export TikZ images (previously expand (print) contents of a TikZ style)

EDIT: The external library is great but I'd like to add I figured out how to print the contents of a style (although not fully expanded, so if it contains other styles, they will not be). A style is ...
1
vote
2answers
67 views

Generate a square color matrix in Latex with TikZ

How can we generate this type of image using tikz package? Thank you all
1
vote
0answers
27 views

Inserting footline into section page

I like to insert footlines into my \section{} pages. For now, it only shows them on the main content pages. Also, as my sections have a darker background, the footline should be white. How is this ...
6
votes
2answers
80 views

Node baseline in tikz

MWE: \documentclass[12pt]{article} \usepackage{fancyhdr} \pagestyle{empty} \usepackage{tikz} \usetikzlibrary{graphs, matrix, arrows.meta} \begin{document} \tikzset{graph/.style={matrix of nodes, ...
0
votes
0answers
32 views

LaTeX mappng to Markup Language, for flow diagrams

I am new to LaTeX code but I really like, the only problem is that I find it way more expressive than for what I need. I just want to do simple flowcharts, but I don't want to use GUI tools (like ...
7
votes
1answer
167 views

Help required to understand tikz code?

Following is the code that was posted for my question How to show path gains in block diagrams drawn in tikz environment? It is giving me the desired output. But my problem is that I don't understand ...
6
votes
1answer
91 views

How to rotate the box

How to rotate the box? How to change the above grid to the below shown grid I used this code to rotate \draw[step=1, red,thin,rotate=30] (-1cm,-1cm) grid (1cm,1cm); but i don't wan't to ...
3
votes
1answer
65 views

setting a tikzset which has draw inside as style of a \node

I need to get different color edges for my rectangular nodes. I found this question How do I set only one side of a tikz node's border color? The \tikzset mentioned in the answer has input ...
3
votes
1answer
68 views

TikZ: discrepancy between node text align and use of babel library

For all labels in my drawings I use the common settings every label/.style = {label distance=1mm, inner sep=0mm, font=\footnotesize\sffamily, align=center, text=...
5
votes
4answers
91 views

Small corrections needed for game tree

I've drawn what I would like the result to be: The current game tree looks like this: With the current code: \documentclass[12pt,twoside]{book}%{book} \usepackage[a4paper, hmargin={2.5cm, 2.5cm}...
2
votes
1answer
75 views

tikz macro, how to implement

I would like to make macro blocks for control loop block diagram. My idea is to have PI controller and filter blocks like in picture, and to have the possibility to simply add in my diagram, but I can'...
6
votes
1answer
80 views

tikz library shadows does not accept space

With TikZ library shadows, a space immediately after the curly bracket in drop shadow = { shadow... throws an error. If there is no space after the bracket, there is no error, i.e. drop shadow = {...
3
votes
1answer
51 views

IC and BC curve with anchor at specific points

I'm trying to make the following figure: . How could I find the specific point where the anchor of Δ(c2) ends and Δ(c1) starts? Is there a way to name it or I should try it by trial-and-error ...
2
votes
2answers
85 views

Rotating scope in tikz

Can't able to rotate scope with external image (fig.pdf). \begin{scope} [rotate=30] \node (scope6) at (0,0) {\includegraphics{/tmp/fig1}}; \node at (0,0) [rotate=0,color=black] {Text}; \end{...
3
votes
1answer
85 views

Using fancytikzposter to define a block node with no title

I am using fancytikzposter to generate a poster for a conference, I have three columns where the last block node of the first is continued in the second column. Is their anyway to define a block ...
2
votes
1answer
91 views

Pgfplots for every group plot

Similar to this question I want to align my y labels of groupplots. The style ylabel absolute, y label/.append style={yshift=0em}, does the trick, and thus I want to apply this to every group plot....
1
vote
0answers
29 views

Draw regular pentagon in tikz

I am trying to draw unfolding regular pentagon. I have got a really great example her: Regular pentagon. And the code is: \newcommand{\downpent}[2][blue!50!gray,draw=white,thick]% [options], list of ...
0
votes
1answer
47 views

How can I add multiple cross line within a node of tikz?

Here is my question, I want to add a node on top of several lines of code, representing that these code are not used anymore. Right now it is something like this: Here is my code: \tikzstyle{...
5
votes
1answer
73 views

How to draw a simple angle, two intersecting lines Tikz

I'm trying to get an angle between the negative $y$-axis and the line passing through the origin. How is this done? I've looked at other forums, and the code seems quite complicated; is there not a ...
0
votes
1answer
102 views

A Good way to draw technical Diagrams

I'm currently writing a research paper. For that I need to create some diagrams like the one given below(it is taken from an existing paper). It's not clear so I wanted to make my own figure. I tried ...
3
votes
1answer
93 views

Vertex labelling in TikZ

I want to be able to label the vertices of a graph arbitrarily, i.e., not just by letters or numbers, but by whole formulas. For example, I can't be bothered to rename the vertices in the text, so I ...
5
votes
2answers
139 views

Tikz: failure to fill

I've just gotten into the tikz package, and am using tikzpicture to do some work with graphs and complexes on them. I want to be able to fill in certain areas of the graphs. I've found what I want, ...
2
votes
1answer
41 views

Increase the distance of a tikz path edge

So, I made a graph in Latex, but I can't get the edges of the nodes to elongate themselves in any way. The weights of the edges are hard to read as they currently are. How can I fix this? Below is ...
5
votes
2answers
105 views

Game tree needs adjustment

I've created the following game tree: I want it to look like this and I'm stuck: (Apologize in advance for the ugly drawing!) This is my code: \documentclass[12pt,twoside]{book}%{book} \...
3
votes
1answer
110 views

Animated proof of quadratic formula

I have the following code earlier posted by Alenanno. I want to give an animated proof of quadratic formula. My question is: I want to improve the code so that when I am multiplying with $4a$, ...
0
votes
1answer
110 views

animated proof in latex [closed]

How can I make something like this? I would prefer tikz.
0
votes
0answers
21 views

Changing font and alignment in a tikz, forest organizational chart

I am trying to change the font and orientation of the following organization chart - I started with stackexchange help to create it (here - Third Level Organizational Chart using Latex Tikz) and ...
6
votes
1answer
112 views

Tikz path starting from inside a node

How can I have an arrow, which goes from an outer node to an inner node, leave the outer node from the inside of its border. In the MWE below the arrow leaves the outer blue node's border from the ...
1
vote
1answer
119 views

Section title opposite to the logo

Could you please advise me how I could change that code from this link to place the section title opposite to the logo? I am new in LaTeX and I would be very grateful for advice. For example: 1st ...
4
votes
1answer
82 views

Plate captions overlapping

I am trying to draw a probabilistic graphical model using BayesNet, a TikZ library for drawing graphical model in latex. I have tried to insert plates caption - Tasks i, Classes c, workers j, ...
4
votes
1answer
191 views

How to split tikz rectangle by half with different colors and text lines

So I have tkiz style: \tikzset{ state/.style={ rectangle, rounded corners, draw=black, very thick, minimum height=2em, inner sep=2pt, text centered, },...
1
vote
1answer
88 views

Modify Fancy Chapter Heading to show Chapter Name

In the code given below, I wanted to have the chapter names show up instead of the numbers just for the first two chapters. This code is building from the code found here. I am writing a "Problem" ...
4
votes
2answers
138 views

Tikz: Is it possible to change line style within same \draw command? [duplicate]

Is it possible to change the line style in a tikz figure in the same \draw command? I am looking for something like: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} ...