{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

11
votes
1answer
305 views

TikZ: nodes with text, scale = or \large, \Large, \Huge?

If one needs to slightly increase the size of the text in a TikZ node. What are the pros and cons of using scale= in the style options instead of changing the font size with the usual LaTeX\TeX ...
8
votes
1answer
125 views

Double style and double colour line in tikz

in my document i have a lot of lines like this: I usually do this with a code like this: \begin{tikzpicture}[node distance = 5cm] \node (a) {}; \node (b) [right of=a] {}; \draw[red] (a) -- (b); ...
3
votes
1answer
197 views

Tikz positioning inside matrix node

I have created a figure for tikz that looks like this: But when I add it inside a matrix node it became like this: Why does this happen? My code for the first is: \begin{tikzpicture} ...
5
votes
1answer
171 views

How can I make Beamer overlays with TikZ node attributes?

As a follow-up question to Tikz animated figure in Beamer, how can I animate a particular attribute of a node? MWE \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{graphs} \tikzset{ node ...
0
votes
0answers
107 views

How do i create this graph on latex?

So…i made this graph using paint(!)…and it looks horrible. I have used tikz to create similar graphs but this one seems to be more difficult.
6
votes
1answer
140 views

Can't find the documentation for \tikzstyle or `+=` operator in tikz

I've noticed in a number of examples that the following is occasionally used when working with tikz: \tikzstyle{every picture}+=[remember picture] When I search the documentation I can't find ...
0
votes
2answers
815 views

Drawing Flow Chart with LaTeX

TikZ can draw flow chart but I want some sort of a graphical tool where I can create flowchart in an interactive way and then somehow export to LaTeX. Any advice? I am not a geek and the interface ...
5
votes
1answer
62 views

Understanding tikz inheritance with the positioning library

I have trouble understanding the tikz inheritance model while using the positioning library. Consider the following example: \documentclass[]{scrbook} \usepackage{tikz} \usetikzlibrary{positioning} ...
6
votes
1answer
89 views

Cross-reference of custom environments created with environ and TikZ package

Problem: I want to create an environment named Example, and the environment has a counter (number within chapter). I want to refer to the counter for illustration just as the table, figure and ...
5
votes
1answer
231 views

Reuse tikz picture in another tikz picture [duplicate]

I have a TikZ picture \begin{tikzpicture}[scale=0.5] \draw (-1,0) arc (180:360:1cm and 0.5cm); \draw[dashed] (-1,0) arc (180:0:1cm and 0.5cm); \draw (0,1) arc (90:270:0.5cm and 1cm); \draw[dashed] ...
3
votes
1answer
240 views

flow chart page size issue

I have been doing this since from last month. I want to draw this flow chart using \documentclass[a4paper,11pt]{report} but if I use above configuration (which I want to use) the flow chart does ...
3
votes
1answer
226 views

Removing bounding box of text node (tikz)

When I added some text into my Tikz figure, it also hows the bounding box how can I get rid of it. (I took the example from: TikZ Adding Text) Here is what I've got: \begin{figure} ...
3
votes
1answer
118 views

TikZ - I do not know the key … despite correct code (can't define a new style anymore)

I just wanted to define a new style, a very very simple one with align left, text width=6cm but I found out even simpler code won't work. Basically I assume my installation is broken or I run the code ...
2
votes
1answer
99 views

\xleftrightarrows command in TikZ with arrows matching the LaTeX font

There is the command \xrightarrow that inserts an arrow that extends with the text you put above and/or under it. There is also the command \rightleftarrows (notice the "s" at the end) that display ...
5
votes
1answer
179 views

Still some of the flows missing in the flowchart

I have posted this question few days back but still I can't complete the algortihm. This is the uncompleted work done so far \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
2k views

Tikz: increase arrow head size

Given the Tikz example here http://www.texample.net/tikz/examples/double-arrows/ how do I increase the size of the arrow head? I'd like to make it way bigger but, after manipulating the code, I was ...
2
votes
0answers
101 views

Tikzpicture highlight on matrix in different slides

I am new to latex but I have to make a presentation in university with it (or more I want to do the presentation in LaTeX). But I am struggling with the package tikz. So my first question is ...
3
votes
1answer
81 views

How to give simple label to each connected component of graph

I have a disconnected graph, with six components. I would like to give some name at the bottom for each component. I would like to represent them with $D_1, D_2 . . .D_6$. Can some one help me out. ...
4
votes
1answer
107 views

TikZ: Create a downward chain of nodes with different heights

I want to create a downward chain of TikZ nodes. Some nodes are rotated and they may differ in height. Consider the output of the MWE below: The horizontal chain adapts to the different widths of ...
3
votes
1answer
139 views

How to get edges after vertices in a graph using TikZ?

The following code is giving me a graph, how to display edges one after the other instead of displaying total graph at a time. \begin{figure} \begin{tikzpicture} [scale=.8,auto=left,every ...
7
votes
2answers
213 views

comma in node name [TikZ]

In my database some objects have name in A,B format, i.e there is comma in between. I wanted to do something like this \node (A,B) {Comma}; \node (x) {normal}; \draw (A,B) -- (x); However, this is ...
3
votes
1answer
83 views

How can I style tkz-euclide points?

The tkz-euclide package lets you do things like \begin{tikzpicture} \tkzDefPoint(0,0){A} \tkzDefPoint(4,0){B} \tkzDefPoint(2,3){C} \tkzDrawPoints(A,B,C) \tkzDrawSegments(A,B B,C C,A) ...
7
votes
3answers
203 views

To make one environment flow into another without empty space

I have this design at the moment. However, when you have many of those, they distract much. I propose to have Answer just on the same line with Question like Question 41 Lorem ipsun. Answer 38 ...
2
votes
1answer
194 views

Breakable boxes with Tikz and right and leftmargin

I've found a method to obtain breakable boxes, using polyglossia for arabic, and the Tikz package and I have two problems... 1) the commands leftmargin and rightmargin of Tikz have no effect on the ...
1
vote
0answers
94 views

boxed text between pages in arabic, rightmargin with tikz

First, I want to thank the members of the discussion of the message Boxed text between pages which was very interesting for my use, so I got a macro in arabic for my examples (which is ...
11
votes
1answer
384 views

How to plot a graph from its adjacency matrix (coordinates manually specified)?

For example, I want to plot a graph whose adjacency matrix is [0,1,0;1,0,1;0,1,0]. I first plot three points labeled by p1,p2,p3, and link the points p1,p2, p2,p3. For a general case, how to link the ...
2
votes
2answers
615 views

Making the TikZ drawing(ER Diagram) looking nicer

My ER Diagram is finally complete. But I need help in making it look complete. I need changes in, i) Making the diagram centered to the page ii)Adjusting the node distances (need very badly, not able ...
4
votes
1answer
138 views

Creating a directed graph with some cosmetic structure

Via utilizing Tikz, I would like to create a graph such as the following : So I would like to have a classical directed graph, where there is some text in each node. Moreover there is a single ...
3
votes
0answers
100 views

Dual axis: yticks scaling [closed]

I have a problem in fixing my y ticks when having a dual axis plot. The ticks on the second plot dont match the grid of the first. Is it possible to rescale the second plot in order to make only one ...
3
votes
1answer
571 views

How to change theme of fancytikzposter

Elena Botoeva has written a new package for creating posters with TikZ. I have already dowloaded the file fancytikzposter sources. I would like to modify file fancytikzposter.sty in order to have ...
2
votes
1answer
96 views

Heaped up tikz figure-how to fix

My problem is: The figure looks ok on Geogebra, but after exporting to Tikz code and importing to LaTex, it is ugly and have some heaped up between point, lines, and the name of the point or line. ...
4
votes
1answer
376 views

Change boxplot style

I'm following this PGFPLOTS manual. At first I was enthusiastic with it. However I'm finding some difficulties on doing even basic things. Now I'm trying to change boxplot style. Up to now I wrote ...
3
votes
1answer
183 views

fixing diagram to be a good-looking diagram

i draw this with help of question here notice that draw doesn't looks good-looking diagram could someone fix it i think that's because of the size of the words i can't control them to make it ...
4
votes
1answer
275 views

Relationship diagram

So this is what I would like to have Diagram 1 Diagram 2 Diagram 3 with help of Nico i could draw it like that \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows} ...
5
votes
2answers
100 views

How to decorate a node with additional paths?

I want to add styles to my nodes that draw additional paths inside of the node. For example (without proper placement of nodes) \node[draw,circle,lVert] {}; \node[draw,circle,lHor] {}; ...
2
votes
1answer
162 views

How can I draw an arrow linking two items in a list?

I know you can use the package tikz to have braces like \documentclass{article} \usepackage{tikz} \usetikzlibrary{tikzmark,decorations.pathreplacing,calc} \begin{document} ...
4
votes
2answers
886 views

Fancy Styled Borders in LaTeX

How to draw attractive Borders in LaTeX. A Sample image like this:
8
votes
1answer
212 views

How can I add nodes through a TikZ style?

Consider a small example below. I'd like to automate the addition of the label-node along the edge through the use of styles. I've tried the naïve solution of just adding such a necessary node ...
3
votes
2answers
117 views

How to define edges in tikz

When I use absolute position for the edges, I get almost intersecting arrows. Here is my code. Kindly help. \begin{tikzpicture} [ node distance = 2cm and 0.8cm, >=stealth, ...
1
vote
1answer
174 views

Using variables to draw a tikz diagram

I am defind my own command to plat a diagram with tikz. Instead of constant values I rather want to pass numbers to my command which determine the height of the bars in my diagram. Problem: I am ...
2
votes
3answers
153 views

Tikz Nodes Order and Shapes with a General Number of Nodes

This is part 2 of Tikz Nodes Positions and Shapes with a General Number of Nodes, a question I was asked to split. Please refer to the code below. In the table below I'd like to: Control the ...
6
votes
2answers
399 views

Tikz Nodes Positions and Shapes with a General Number of Nodes

My purpose is rather simple: use tikzpictures to draw tables of numbers, where the numbers are drawn inside colored boxes with fancy shapes, with different shapes and colors for different numbers. ...
4
votes
1answer
104 views

Modifying the look of table of contents

How to modify the table of contents to appear similar to this.Alignments are temporary but it should be similar.How do I do it?
2
votes
0answers
317 views

Designing Magazines in LaTeX [closed]

How to design attractive magazines using LaTeX?Will TikZ be sufficient.What packages to include in the book class
2
votes
1answer
172 views

using tikz to draw a flattened polyhedron

I want to create the net of a flattened hexagonal based box. Each side of the box is a slight trapezium (so in 3D the sides will not be perpendicular to the base, but that's not important to the ...
4
votes
1answer
168 views

Is it possible to define abbreviations for coding?

I am using the tikz-timing package to create a timeline since chronosys and chronology wouldn't cooperate and were too limited and archaic-looking to suit my purposes, and moderntimeline unfortunately ...
9
votes
3answers
225 views

Don't do any fills in TikZ

I have a macro that will draw several things in a TikZ picture using some styles I defined, which include fills: \documentclass{article} \usepackage{tikz} \tikzset{% ...
0
votes
0answers
39 views

Use Case diagrams , UML diagrams and E-R diagrams in LaTeX [duplicate]

Does LaTeX allow to draw Use Case Diagrams, UML Diagrams and E-R Diagrams. How to implement these? What packages to use?
8
votes
2answers
236 views

Correct use of arguments pattern in pgfkeys/append after command in tikz?

I could not find many examples for the correct use of arguments patterns in pgfkes, but I was able to come up with the following: \documentclass{standalone} \usepackage{tikz} ...
2
votes
1answer
44 views

PGF’s \foreach can’t replace in [start chain=\here]?

Here in TikZ/PGF, I need two lines of dots to connect them later. – I make those dots with chains in a \foreach loop. But I can’t get the naming to work in the loop. The code below works, but ...