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

Reproduce this slide - tikz

I would like to reproduce the attached slide in beamer. Of course, I don't ask you to make it for me. I'm just wondering if you are aware about which package I should use to make the blue big arrow on ...
  • 155
0 votes
1 answer
68 views

Multiline in section title

I am using this template: http://www.fluortools.com/misc/LaTeXtemplate and I have this defined in formatAndDefs.tex file \usepackage{tikz} \usetikzlibrary{calc,decorations,decorations.pathmorphing,...
  • 143
18 votes
8 answers
680 views

How to draw parts of a line dotted with TikZ?

I want to create a straight line between two nodes in a tikzpicture interrupted in the middle by a dotted portion. This should work whatever the orientation of the line. Here is an expected output: ...
0 votes
0 answers
118 views

Given the adjacency matrix of weighted directed graph, how to draw such graph in Tikz without weights?

I have the adjacency matrix for a directed weighted graph. I want to draw this graph in tikz. My adjacency matrix is of size 50 by 50 and I have it in txt format. Obviously it is better to have code ...
2 votes
3 answers
155 views

Help with rectangle splitting in tikz

I want to draw something like the following picture. I tried the split tikz library, and tried splitting a rectangle but drawing 32 parts is not happening, it is showing only some parts. Any help on ...
5 votes
3 answers
336 views

Imperfect cube vertices

Hi guys I'm trying to draw a really simple cube in different ways but there is something that is bugging me, why the vertices are so imperfect? \documentclass{article} \usepackage{tikz} \begin{...
  • 91
1 vote
1 answer
109 views

Drawing Intelligent Reflecting Surfaces in LaTex

How to generate in LaTeX (TikZ or something similar) the following image: 1-IRS (a planner surface that is gridded) I wrote This code but I don't know how to tilt it; \begin{center} %\fbox{ \begin{...
0 votes
0 answers
36 views

How to add optional arguments to tikz command

I used the code for adding overlay animations on tikz-qtree diagrams, suggested by Ignasi (tex.SE answer here). With this code, I can create the following animations: \documentclass{beamer} \...
  • 333
5 votes
1 answer
171 views

Understanding <something>/.style={<bla bla>} syntax

I'm having trouble finding good docs about this specific way of writing styles for latex documents. The way I understand the grammar should be <name of the command>/.style = {<options of the ...
  • 63
0 votes
1 answer
77 views

How to draw a diagram using TikZ to represent a parallel connection of two blocks?

I am learning TikZ to draw diagrams for LaTeX documents.. One challenge for me is to draw a block diagram using TikZ for a parallel connection of two blocks. Kindly help me with a suitable TikZ code ...
1 vote
0 answers
23 views

How to make the part of the rectangle wider than the red part in tikz?

I have a figure where there is a train-test split visible. However, I would like to make the red part 'wider' than the blue part, but I cannot find an option in shapes.multipart that allows me to do ...
  • 43
4 votes
2 answers
113 views

How to set rectangle split with the same size (width and height)?

I want to draw a graphic like this one: But the vertical rectangle split does not have the same size (the horizontal one works OK). How to ensure the width and height with the same size? MWE: \...
  • 417
3 votes
2 answers
100 views

How to set rectangle split with the same size (especially the width)?

I'm using rectangle split to draw link nodes: How to ensure every rectangle split with the same size, especially with the same width! no matter it is empty or with one digit or with two digits (...
  • 417
0 votes
1 answer
87 views

TikZ : decoration and quotes positioning in a graph

There're some positioning conflicts here for the graph to be more legible : the 2 arrows in the center (from C1 to v4 and C3 to v1) : they should be placed for example at pos=.48. some numbers over ...
  • 117
2 votes
1 answer
152 views

How to draw multi-blocks block diagram?

I am trying to draw this block diagram I am a beginner and I started with this code \begin{figure} \centering \tikzstyle{block} = [draw, fill=white, rectangle, minimum height=3em, minimum width=6em] ...
1 vote
1 answer
140 views

How to set node to left and below in tikz

I have the following tikz code in which I want to set a node to the left and below of an endpoint of a line. \tikzstyle{node} = [font=\footnotesize] \def\r{0.5pt} \filldraw[densely dotted] (6.5,0) ...
  • 464
0 votes
0 answers
46 views

Color of tikz node is not working

I have the following graph, I aim to have the labels in black color to be orange color. In Overleaf, it's completely normal and the texts are in orange, but when I insert the very same code it shows ...
0 votes
2 answers
48 views

How to circle text in paragraph that points to other text to work in XeLaTeX

I would like to know how to go about circling words in a paragraph and then have arrows pointing from the circled words to other words, like this: This is just the start of the code: \documentclass{...
  • 8,734
4 votes
1 answer
198 views

3D Geometry using Tikz

I use the following code to generate a 2D geometry: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...
  • 159
1 vote
0 answers
116 views

Template to write cheque

I would like to use latex to write cheques as perfect word placement is only possible with it. For this, I would require to do following things Set page size to cheque size Write current date in ...
  • 6,287
2 votes
1 answer
51 views

Decorations on circuitikz elements

I was trying to create a schematic with TikZ that looks like hand drawn. Unfortunately circuitikz seems not to work nicely with the decorations library. See the following example: \documentclass{...
  • 455
2 votes
1 answer
138 views

Draw an eye with an arc with tikz

I want to draw something like this : an eye with an arc. I started like this but I don't know how to continue \documentclass[reqno]{amsart} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw ...
  • 541
1 vote
1 answer
35 views

Custom style for tikzcd

I would like to define something called fieldtower (a style?) which stands for arrows=no head, column sep=small. This thing should be usable at will between tikzcd environments. So something like this ...
  • 145
0 votes
0 answers
40 views

LaTex: Misplaced \omit. for inside table cell crossout

I am trying to do a crossout of a cell inside a table. I have inherited the code from the following question Cross out arbitrary table cells with diagonal line. Unfortunately, there is an error ...
0 votes
0 answers
26 views

How to highlight an itemize item in an animation flow

I am trying to highlight the second item in an itemize after displaying all items: \usepackage{tikz} \usetikzlibrary{tikzmark} %#% \begin{frame}{slide_1}{} \begin{itemize}[<+->] ...
  • 219
1 vote
1 answer
47 views

How can I draw the canonical IV DAG?

This is my code: \documentclass{scrartcl} \usepackage{tkz-graph} \usetikzlibrary{shapes.geometric}% \thispagestyle{empty} \begin{document} \tikzstyle{VertexStyle} = [shape = ...
  • 13
3 votes
2 answers
125 views

Color diagonal of a matrix

I would like to color the diagonal and off diagonal elements of a matrix: I have: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amssymb,amsmath,amsthm,enumitem} \usepackage[a4paper, ...
  • 39
2 votes
0 answers
237 views

Pie chart with legend position south

I tried the legend to the south code from this question (see code below): Pie chart with joined legend position but it unfortunately does not work. If i change yshift to a fixed value it work. BUT ...
1 vote
1 answer
77 views

Help with tikzpicture for WBS (Work Breakdown structure)

i need your help to boost my master thesis WBS This is the code: \usepackage{tikz} \usetikzlibrary{arrows,shapes,positioning,shadows,trees} \tikzset{ basic/.style = {draw, text width=2cm, drop ...
4 votes
2 answers
126 views

Using tikz and tipa packages

I'm using the packages tipa and tikz in the document class beamer. However, I'm having a hard time trying to combine them when drawing arrows. Look at the MWE below: \documentclass{beamer} \...
  • 333
0 votes
0 answers
131 views

Chapter and section numbering style

I am writing a document in LaTeX and I would like to use exactly the numbering style as shown in the image attached to my message. Can anyone help me? Thank you.
3 votes
1 answer
44 views

TikZ: tikzset to set a macro and pass forward a key-val

I've made a TikZ pic called gen(erator). I would like to establish a TikZ key that passes rotate=90 to this pic, but also sets a macro called \complabelanchor that changes the anchor, so that if I ...
0 votes
1 answer
65 views

Drawing simple pointed annotations to number sections

I would like to draw the following diagram on latex without diving into many low-level tikz commands and details. Is there any specific name for those types of diagrams? This one looks fantastic ...
  • 160
1 vote
1 answer
38 views

Could you help me to create a diagram in Tikz? [closed]

Excuse me, could someone help me to make the code for this diagram? I have a hard time drawing in Tikz
  • 143
2 votes
2 answers
164 views

Circular flow diagram with arrows

I use \begin{tikzpicture}[ node distance=4ex and 0em, block/.style={rectangle, draw, fill=white!20, text width=7.5em, text centered, rounded corners, minimum height=4em}, ...
0 votes
2 answers
72 views

Joining nodes of graph

I want to draw a graph similar to in latex but I want edges to touch vertices. My attempt: \node (f) at (0,0) {$F$}; \node (g) at (1,0) {$G$}; \node (e) at (2,0) {$E$}; \node (d) at (2,1) {$D$}; \...
  • 155
2 votes
0 answers
58 views

repositioning tikz-pins in pie chart

I only want to know if anyone has an idea on how to reposition the tikz-pin in a way that they look like the pins in the example picture without creating extra nodes? this is my code so far: P.S.: if ...
1 vote
1 answer
67 views

TikZ - border alignment with fit library

This is a follow-up question to Zarko's answer. On the picture below one can see the misalignment of the cells in comparison of using and not using fit library. Which options should I give the fit ...
  • 171
7 votes
1 answer
219 views

How to fade light rays by tikz

I would like to draw the light rays as below picture. The below MWE is not beautifull. Please help me correct it. Thank you in advance! \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{...
2 votes
1 answer
67 views

Drawing arcs under letters

I have been trying to draw something like Can anyone help me with the code? I have no idea how to do this. Your help would be appreciated. Edit: Based on comments, I got the code \documentclass{...
  • 155
0 votes
1 answer
100 views

LaTex Customized Sunburst

This post is related to my previous one (which is still unsolved) link. Since I couldn't find a proper workaround, I'm here again asking for help for a variant version of the proposed sunburst (you ...
  • 123
0 votes
1 answer
61 views

Can I collect all the code in one code?

I want to write a single code for many polygons using foreach. How can I plot each one with the same code by using n variables and writing n values? I am repeating a few steps in the same way as below....
  • 33
0 votes
0 answers
28 views

Problem bringing the commutative diagram inside the question and answer frame

I can not put the commutative diagram under the frame: \documentclass{amsart} \usepackage{latexsym,amsmath} \usepackage{tabularx, environ} \usepackage{wasysym,latexsym,amsmath,amssymb,mathrsfs} \...
  • 113
1 vote
1 answer
66 views

Typing a commutative diagram using tikzcd [duplicate]

How do I type this commutative diagram in tikz-cd in overleaf? I have tried this \documentclass{amsart} \usepackage{latexsym,amsmath} \usepackage{mathtools} \usepackage{scalerel,stackengine} \...
  • 113
0 votes
1 answer
48 views

Exogenous Boxes in a Forest Tree

I want to include an arrow that connects PPP (no edge) to Pros. How could I do it? Is it possible to have an arrow between a box that does not descend from the main root and another box below? Could I ...
2 votes
1 answer
112 views

Recreate Figure

How can I recreate this figure? This is what I have so far: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \begin{scope}[xshift=-12cm] \draw[rounded corners=35pt](...
  • 147
0 votes
1 answer
57 views

Problem with Forest Tree Arrows

I the following diagram, I have problems connecting the (A2) with (B1) (A3) with (B1). I cannot spot the mistake. Could you please help me? \documentclass[12pt]{article} \usepackage{amssymb,amsmath,...
4 votes
1 answer
258 views

Using tikz to draw arrows in text

I am trying to do the following: where I want to draw the up and down arrows within text. I first assumed it to be tikz, so below is my MWE. It is weirdly shifted up a little bit, so please help me ...
1 vote
2 answers
49 views

beamer: uncover table by row when number of cells is not constant

The first row of the table has one cell, but the second row has 2. \documentclass{beamer} \RequirePackage{array} \begin{document} \begin{frame} \begin{tabular}{|c|c|} \cline{1-1}% a \\ \cline{1-2}% \...
1 vote
1 answer
69 views

Drawing arrows on sides of a node

I'm stuck a little with TikZ, I've this example where I would like to add Yes /No arrows on the right and left sides of the Finished? block. So far, the arrows show over the block also the spacing is ...
  • 227

1 2
3
4 5
35