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
3
votes
1answer
133 views

Elongate side of a tikz ellipse or circle?

I'm hoping to make a few examples for my lecture slides that require generating some contour lines. Is there a simple way to elongate one side of a tikz ellipse so that I can generate contours that ...
2
votes
0answers
87 views

How to measure the cell width and height in tabular?

I need to draw some arrow marks in the border some cells in a tabular. That arrow should start from the bottom right corner of the cell and end at top right corner of the cell. I have drawn such ...
9
votes
3answers
431 views

Reproduce fundamental cell in Tikzpicture

I would like to make easier the creation of the following diagram. I wrote this code that makes a so called dimer diagram where are different hexagons. Each hexagons is numbered and the plot just ...
13
votes
2answers
923 views

How to add minus and equal sign in this picture?

We know that 1/2 - 1/3 = 1/6. Now I use this picture to show. How to add minus and equal signs between two rectangles? My code \documentclass[border=2mm]{standalone} \usepackage{tikz} \...
7
votes
2answers
472 views

Draw a 3D right-handed frame with good-looking origin

I am using tikz-3dplot a lot to draw coordinate systems (often multiple in one drawing) and I am not satisfied with how the 'origin' looks. For example, \documentclass[tikz]{standalone} \usepackage{...
1
vote
1answer
30 views

using own styles, changes behaviour of “below = of”

While drawing a program flowchart I encountered a problem regarding the "below = of"/ "below of =" behavior. I Would like to place two nodes beneath each other with a fix distance from edge to edge. ...
1
vote
1answer
109 views

Figure with table, with both text and background colors within the cells of the table, and outside figure annotations

I am trying to draw a figure that includes a table 4x3 (probably combining tikzpicture and colortbl), with text and background colors (grayscale) within the cells, and some annotations outside the ...
1
vote
2answers
166 views

Drawing a block diagram in Latex

I am a new user to Latex. Recently I have decided to use latex for preparing my project instead of using MS word. Can any one please help me to draw this block diagram for my project. Thanks in ...
0
votes
1answer
143 views

\draw[snake=coil]

I am new to tikz / circuitikz, each time I try to make a spring or snake I got only a straight line: %%circuitikz filename=p236 dpi=100 \begin{circuitikz}[snake] \draw[snake=coil] (...
0
votes
1answer
58 views

paussing figure of presentation beamer

I want to display the graph in beamer so that at each click of the entry we see the next step but of course in a single graph \begin{figure}[!h] \begin{center} \begin{tikzpicture}[x=1.5cm,>=latex] ...
2
votes
2answers
331 views

Drawing logic gate circuit with tikz library

I want to duplicate this circuit in latex. So far I have gotten this. I cannot seem to align the lines. Also how do I make the gates border bold? \documentclass{beamer} \usepackage[utf8]{inputenc} \...
1
vote
2answers
147 views

Tikz double arrow style error

Consider the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{center} \begin{tikzpicture}[every node/.style={fill=red!20,draw,double,rounded ...
1
vote
1answer
230 views

How to make the design of this path in TikZ (Critical Path Method design)?

Please consider the following picture: I would like to create those nodes using the tikzpicture environment. Each must have a dividing line in the middle so that the node is divided into three ...
1
vote
0answers
60 views

Reduce spacing inside cell, vertical and horizontal positioning of figure & defining some text in preamble

I want to make a template document (with custom margins, font sizes, header, footer etc...). I have specified only footer on first page and header on all other pages, margins, text width, text height,...
0
votes
1answer
264 views

How to draw the following diagram using tikz?

I am trying to draw the following cyclic birth and death chain using tikz: The key elements I require are: Labels inside the circles Arrowheads in middle of arrows Ellipses at bottom of diagram ...
11
votes
3answers
3k views

How may I rotate a tikzpicture?

I made a small tkzpicture as in the SWE below. How may I rotate it 90 positive degrees? \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usepackage[active,tightpage]{preview} ...
3
votes
1answer
108 views

Drawing a diagram with Tikzpicture

I would like to reproduce this diagram as shown (Sorry if the picture is fuzzy) using the code from this Website I just was able to do this : \documentclass{minimal} \usepackage[a4paper,margin=...
0
votes
2answers
122 views

TIKZ Flow Chart Compile Time Error

Please see MWE. No idea why its not working, error says 'Sorry, your compile took too long to run and timed out. This may be due to a large number of high-res images, or complicated diagrams.' ...
2
votes
2answers
60 views

Append style for matrix of nodes in a loop doesn't work

Following this question defining-nodes-of-a-matrix-programmatically, I was able to precise more of what I am trying to achieve. Sorry that I was way too general in the first question. Here is the new ...
4
votes
2answers
208 views

tikz `postaction` using `edge`

Problem I want to add a tikz style which affects only some arrows in a large diagram, and adds a postaction. I also need to bend and label these arrows, so many are created using the edge command. ...
5
votes
1answer
268 views

Adding nodes through a TikZ style, using double dash lines ``--``

I'm basically asking this question, because the answer there is not working for the case with -- lines. Say you have a line like so: \draw (0,0) -- (3,3) node[sloped, midway,above]{Hey!}; Then is ...
15
votes
1answer
496 views

Embed a graph on a Sphere with TikZ?

I want to draw a graph on a sphere using TikZ. Something like this (please excuse my crude drawing): Is there a way this can be done automatically? I'm sure there's a way to perform a change of ...
8
votes
2answers
394 views

Division of curved edges in tikz

I need to divide an edge into a number of equal parts. I have the following way to do this for straight edges: \begin{tikzpicture} [very thick, transform shape, scale=.2, rect/....
1
vote
1answer
88 views

How to adjust custom colormap for 3D shades based on degradation of a color tone

I have this figure: \begin{tikzpicture}[scale=1] \begin{axis}[xmin=0,xmax=1,ymin=0,ymax=1,enlargelimits=false,xlabel=$a_1$,ylabel=$a_2$] \addplot [blue!80!black,fill=blue,fill opacity=0.4] ...
0
votes
2answers
120 views

(easy) How to remove the solid boundary of a shaded region

I would like to remove the solid boundary of this shaded area. How should I do that? Here is my code \begin{tikzpicture} \draw[fill=gray!30] plot[smooth, samples=100, domain=1:3.8] (-\x,\x) -| (0,0) ...
3
votes
1answer
114 views

avoid arrow crossing border of block TikZ in beamer

I am writing a presentation in beamer but when adding the arrows to the "objective situation" and "Macro context" blocks they point inside the block , instead of pointing to the border. Can show me ...
2
votes
1answer
121 views

Boxed text on Tikz path

need texts on the first picture to be boxed(solid, not dashed), but lines to be dashed.... Here is MWE: \documentclass[10.5pt,b5paper]{memoir} \usepackage[english]{babel} ...
2
votes
1answer
131 views

How to reduce the size of the vertices in `tkz-graph`?

How to reduce the size of the Vertex in the following tkz-graph?? MWE: \documentclass[]{standalone} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture} \GraphInit[vstyle=Classic] % \Vertex[...
1
vote
1answer
162 views

3D Plot of a solid convex figure from set of node points

I would like to plot a convex hull given the coordinates of the vertices. The points are: 0 0 0 0 0 0.285957 0 0.285957 0.285957 0 0.3812378724 0.1906189362 0 0.571914 0 0....
5
votes
2answers
237 views

Cayley graph of with generators emphasized by color

I am trying to make the Cayley graph of a free group of rank 2 in TikZ. The result I would like to obtain looks like this: but arrows are not required. I read Cayley Graph of Free Group in TikZ and ...
5
votes
1answer
118 views

continue to cycle on colorbrewer

I'm preparing a presentation using beamer, and I would like to know if it's possible to have two separate frames showing curves of the same colorbrewer theme (as if they were made on a single tikz ...
4
votes
1answer
175 views

place matrix and tikz side-by-side

I'm trying to place a matrix beside a tikz picture and I put isomorphism between them but it doesn't work. Can anyone advise me? This is my attempt: \documentclass[10pt]{article} \usepackage{...
3
votes
1answer
227 views

Create horizontal hierarchy tree SmartArt

I was trying to draw a horizontal hierarchy SmartArt as shown below. I looked for this forum but I did not find any similar. Thank you very much.
1
vote
1answer
62 views

About some tikz styles

I have the following code \documentclass{article} \usepackage[left=0in,top=2in]{geometry} \usepackage{tikz,amsmath} \usetikzlibrary{arrows,shapes} \newcommand{\tikzmarkC}[1]{\tikz[overlay,remember ...
5
votes
2answers
547 views

Attractive chapter titles and sections styles

I came across a website where i found this attractive design for chapter titles and sections. https://webusers.imj-prg.fr/~leonardo.zapponi/leo_divers/Agreg/Matrices_normales.pdf Here's my attempt ...
2
votes
1answer
290 views

Tikz node with data storage flowchart symbol

I am trying to create a Tikz node with some text that has the 'data storage' flowchart shape: This is what I'm building on: \usepackage{tikz} \usetikzlibrary{shapes.geometric} \tikzstyle{storage} = [...
8
votes
1answer
310 views

How to add help line and background color by tikz

everyone: I want to use tikz to draw a figure like this one: But I don't know how to add help line and background color So I just get this figure: How can I change my code? anyone can help me? \...
0
votes
1answer
46 views

Model of table of content [duplicate]

I'm interested with this table of contents In this question there is the answer but as i'm not good in latex i don't know how to make a tex files wich works Text alignment issue in custom Table of ...
9
votes
1answer
1k views

beautiful section styles

I came across to website of IREM which I found beautiful section style in the following file Original file was created with PDFLaTeX. Could someone please create those styles for sections and ...
3
votes
2answers
327 views

Creating Beautiful box

I would like to create (blue!70) box contains method of how I use geogebra \documentclass{article} \usepackage{tikz,lipsum,lmodern} \usepackage[most]{tcolorbox} \usepackage{wrapfig} \usepackage{...
6
votes
1answer
417 views

How can I solve this problem when I write a lot?

In this fantastic post of @percusse: https://tex.stackexchange.com/a/67736/159009 I have problems when I write so much words, like this: \documentclass{standalone} \usepackage{tikz} \usepackage{...
0
votes
1answer
58 views

Problem setting rectangle size in tikz picture

I have a rectangle in tikzpicture that appears to have a minimum size that it can be set to as when I try to reduce the size further it just becomes a square and will not get any smaller. I am trying ...
0
votes
1answer
97 views

How to fill in node names and node values in pic environment with predefined variables?

I got a graphic with many nodes (~40). I want to add the same type of "sub-nodes" to each of them (view image, one node with a label that contains a name and another node with a label that contains a ...
1
vote
1answer
549 views

arrow tikz style

I wanted to draw something : \begin{center} \begin{tikzpicture}[ >=stealth, bullet/.style={ fill=black, circle, inner sep=1pt }, projection/....
2
votes
1answer
199 views

How to draw the following FSA?

I tried to draw the following FSA to the best of my abilities, but still certain edges are not showing well (because they are not curvy) and state 1 is not aligned with the rest. Is it possible to: ...
1
vote
1answer
138 views

Addition of Markov model and list letters next to nodes in Tikz

I have already drawn a block diagram, but I would like to add some special symbols/figures such as a markov model, some dashed lines, list of characters in a specific place, and the waveform as shown ...
2
votes
2answers
168 views

“display” shape for flowchart with tikz

How can I draw this shape with tikz?
1
vote
1answer
73 views

Setting polar coordinates for coordinate system in TikZ via macro

The problem I would like to do something equivalent to the following: \def\setX{{(0:1cm)}} \tikzset{x=\setX} "Debuggable" code (it doesn't run, because I put it the way I want it to be. the \setX ...
1
vote
1answer
88 views

How to overlay the fullscreen picture with box of tex

I found it very impressed with this display style of the author. My question is how to overlay the fullscreen picture with box of tex ? Thank you in advance
2
votes
1answer
62 views

Tikz Four Groups

I am aiming to make a flow diagram as drawn however I have not been able to add the four boxes and include the top box centered. Also note the top box should be a full box. Please assist if you could! ...