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
0 answers
40 views

Create a flowchart in latex

How to create a flowchart like this in latex? So far I have not been able to achieve anything close to this. My code is as follows. \documentclass{article} \usepackage{tikz} \begin{document} \begin{...
Novel Sapien's user avatar
2 votes
1 answer
33 views

how to create infographic box with arrow using tikz

I would like to draw a box including an arrow which is defined as Infographic Box with Arrow at this link. I would like to update the following figure to generate a top-to-bottom diagram. \...
ball_jan's user avatar
  • 313
4 votes
1 answer
71 views

How to define a custom axis attribute to reuse multiple axis settings?

edit: This post originally was named "Why is siunitx throwing an \endcsname inside newcommand?", but the rename does reflect the intention of the question better I think. Why is this code (...
VanC's user avatar
  • 57
1 vote
0 answers
27 views

Drawing one branch of hyperbola with asymptotes in tikz

I am trying to draw a single branch of hyperbola with tikz and I found in this forum a wonderful script here in this post (@DouglasMencken) : this post \documentclass[tikz, margin=10]{standalone} \...
Waxler's user avatar
  • 712
5 votes
2 answers
141 views

macro to change line color in tikz

I am new both to tikz and macros in latex and appreciate your help. I have a simple code for two similar diagrams as follows: \documentclass{article} \usepackage{tikz} \newcommand\tpdrrr{ \tikz{ \...
lhz157's user avatar
  • 53
2 votes
2 answers
88 views

Mind maps not letting me have more than 6 siblings

I am trying to make a mindmap but it only seems to let me have 6 siblings no matter what angle I put in or even make the distance bigger to make more room: \documentclass{article} \usepackage{tikz} \...
Paul A's user avatar
  • 1,117
4 votes
1 answer
68 views

Plot is being drawn on layer below gridlines

I'm having an issue with the order of layers in the second figure. In it, the lines and patterns for the plots are drawn on a lawyer below the gridlines. Whereas the first figure's line and markers ...
Mearman's user avatar
  • 43
0 votes
1 answer
83 views

Drawing angles with pgfplot

I would like to put an angle between a curve and a particular axis (let's say the x-axis). I tried several options but chose to use angles however it's still not working. Can somebody help me to ...
Waxler's user avatar
  • 712
3 votes
1 answer
97 views

How to color some numbers on a line and add a shade

Questions: In figure (1) I want to give blue color to 0 (Zero) In figure (2) I want to shade the numbers (figure is attached) MWE: \documentclass[12pt]{article} \usepackage[bindingoffset=0.2in,left=...
SandyM's user avatar
  • 2,825
2 votes
1 answer
48 views

Tikz use custom label in enumeration causes line spacing to be too large

I want to use custom symbols in an enumeration using tikz. Currently, my code looks as follows: \documentclass{article} \usepackage{tikz} \newcommand*\zzzz[1]{\tikz[baseline=(char.base)]{ ...
John Doe's user avatar
  • 123
0 votes
1 answer
80 views

How to draw the following diagram with rectangles using tikz?

I want to use tikz to draw the following (using gray and black where specified): Note that $\chi-\delta/2$ and $\chi-\delta/4$ is centered with respect to the gray colored region (not the whole gray +...
anonymous 's user avatar
3 votes
1 answer
61 views

Is it possible to apply two pathmorphing/pathreplacing decorations in succession?

Suppose one wants to achieve the following: Current Status Based upon another post, I was able to create a "MWE" of how I would like this to work: \documentclass[border=5pt]{standalone} \...
dsacre's user avatar
  • 327
3 votes
3 answers
132 views

I am drawing a cycle in TikZ, need to add integer labels on the outside of each node

Here is what I have so far: \begin{tikzpicture} \tikzstyle{every node}=[draw, circle, fill=black, inner sep=0pt, minimum size=5pt] \tikzstyle{every path}=[line width=.75 pt] \foreach \s in {1,...,5} {...
PeakyBlaze7788's user avatar
3 votes
1 answer
42 views

What's the difference between \tikzset and \ctikzset?

The fine Circuitikz Manual shows extensive examples of \ctikzset to specify styles for lots of things (my PDF search shows 87 pages with \ctikzset on it). But, page 22 confuses me. There, \ctikzset ...
Bill Nace's user avatar
  • 379
1 vote
0 answers
42 views

Simultaneus Multicolor for Letter using Latex [duplicate]

\documentclass[11pt,a4paper]{scrartcl} \usepackage[spanish]{babel} \usepackage{geometry} \geometry{margin=1.3cm} \begin{document} \centering {\Huge Markallaa}\\ \vspace{1.1cm} {\huge (Harawii)} \...
ABV's user avatar
  • 611
3 votes
2 answers
151 views

callouts direction

I m lost with the callouts and the pointers directions I have read documentation unfortunately it was hard to understand for me, \documentclass{standalone} \usepackage[table,xcdraw,dvipsnames,svgnames,...
BROK's user avatar
  • 109
0 votes
1 answer
51 views

3D box and shapes + Customized arrows

Looking for help to make a 2d shape to be kinda of a 3D shaped so here is my try : \documentclass{article} \usepackage[table,xcdraw,dvipsnames,svgnames,x11names]{xcolor} \usepackage{tikz} \...
BROK's user avatar
  • 109
2 votes
2 answers
133 views

How can I draw the shapes with gradient colors as shown in the below figure?

\documentclass[11pt, oneside, a4paper, titlepage]{article} \usepackage[dvipsnames, svgnames, xllsnames]{xcolor} \usepackage[most]{tcolorbox} \usepackage[left=0.1cm, right=0.1cm, top=0.1cm, bottom=0....
Vishakha's user avatar
  • 119
3 votes
1 answer
112 views

Adding an inset figure in tikz

Is it possible to draw like an inset style figure but just using tikz ? Obviously, I am trying to use the zoom effect by focusing on a particular region of a scheme but I want to achieve is : Inside ...
Waxler's user avatar
  • 712
1 vote
1 answer
72 views

How to make the following tikz picture interactive?

I am a newbie at using Tikz, so forgive my extended latex code. I am trying to recreate this image: in Beamer using Overlay in such a way that first it just shows the green bulk region and then, on ...
codebpr's user avatar
  • 197
2 votes
2 answers
98 views

controll over shapes and image + tikz add path image background

code used and efforts made are referred in here :link 1,link 2 I ended up updating this code but the facing errors \documentclass{article} \usepackage[table,xcdraw,dvipsnames,svgnames,x11names]{...
BROK's user avatar
  • 109
0 votes
2 answers
55 views

over laying pictures and positioning

using this Link i modified i could have made this the output i had \documentclass{article} \usepackage{fourier} \usepackage[table,xcdraw,dvipsnames,svgnames,x11names]{xcolor} \usepackage{tikz} \...
BROK's user avatar
  • 109
0 votes
1 answer
75 views

modified planet outline and orbitals in smartdiagram [closed]

after reading the documentation of smart diagram I could have done a very simple approach but I need more customization over the orbitals and outline of the planets and satellites , thank you for your ...
BROK's user avatar
  • 109
0 votes
1 answer
45 views

More control over arrows and shadows

I'm trying to make something similar to this shown in the figure below but I'm stuck with the text over the arrows and I couldn't make those shadows and thank you so much ! \documentclass{book} \...
BROK's user avatar
  • 109
0 votes
1 answer
39 views

shifting bars and creating polygons inside another shape

i m trying to make this diagram and i have made this so far \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.symbols,positioning} \definecolor{myblue}{RGB}{150,150,150} \tikzset{ ...
BROK's user avatar
  • 109
0 votes
1 answer
47 views

how to put an image inside a flowchart or at a corner of a diagram

so i m willing to get something similar to this but somehow for my lack of expertise about latex so I have this code \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta,positioning} ...
BROK's user avatar
  • 109
0 votes
1 answer
52 views

help with diagram with custom shape

\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{amsmath, amsfonts} \usetikzlibrary{arrows.meta} \tikzset{ customshape/.style={ fill=lightgray, draw=...
BROK's user avatar
  • 109
0 votes
1 answer
45 views

TikZ - replacing arc with ellipse

Although I have figured out how to draw arcs, I haven't had the same luck with ellipses. I was wondering if you could help me with this. Please find the code below. \documentclass{article} \usepackage{...
meletkis's user avatar
4 votes
2 answers
140 views

how to make this flowchart

so i came to this code right now i m still stuck with the text in between arrows and that dashed box with correct and wrong emoji so far I have this code : \documentclass{article} \usepackage{...
BROK's user avatar
  • 109
4 votes
1 answer
45 views

One of the edge enters into the circle of vertex 1, how to correct

In the code below, one of the edge enters into the circle of vertex 1. How to modify this code. \documentclass[tikz,margin=5pt]{standalone} \begin{document} \begin{tikzpicture} \foreach \n [count=\i]...
math131's user avatar
  • 149
1 vote
1 answer
115 views

How to add the shadow effect like the image shown below?

From this code: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{tikzpagenodes} \usetikzlibrary{arrows, shapes, positioning, shadows.blur} \usepackage[most]{tcolorbox} ...
Vishakha's user avatar
  • 119
0 votes
1 answer
26 views

Problem in highlighting cell using hf-tikz and using overlay for a column

I want the red boxes in column 6 ( labeled F) to appear one by one. Also, after all the boxes get highlighted want the last column (labled G) to appear with cells appearing one by one. Currently the ...
mathslove's user avatar
  • 141
0 votes
2 answers
100 views

How to draw the shape shown in the below image?

\documentclass[12pt]{article} \usepackage{tikz} \usepackage{tikzpagenodes} \usetikzlibrary{arrows, shapes, positioning} \begin{document} \pagestyle{empty} \begin{tikzpicture}[remember picture, overlay]...
Vishakha's user avatar
  • 119
1 vote
1 answer
72 views

How to give the shadow effect which is shown in the below image for the white rectangle in the code?

\documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{arrows, shapes, positioning} \begin{document} \pagestyle{empty} \pagecolor{blue!50} \begin{tikzpicture}[remember picture, overlay] \fill[...
Vishakha's user avatar
  • 119
1 vote
0 answers
222 views

How to draw a fancy box with an overlay rectangle enclosing the title box

I kindly request to be helped to achieve my target of recreating the fancy box below. I attempted with the codes below: \documentclass[openany]{book} \usepackage[many]{tcolorbox} \usepackage{tikz} \...
Kidegalize's user avatar
6 votes
0 answers
193 views

How is It possible to draw 2 merging spherical caps with tikz?

I am trying to reproduce a figure using only tikz. I have produced the figure using Inkscape but I am wondering if I can do it fully in Latex. This is the aimed figure : And with the help of some ...
Waxler's user avatar
  • 712
0 votes
1 answer
70 views

Change orientation of spiral in this 3d tikz image

I am trying to create a '3d' image using different viewing angles in Tikz (see MWE below). The image I have created can be see at this link. My issue is that the spiral I have created is not aligned ...
Sid's user avatar
  • 1,806
0 votes
1 answer
65 views

How to draw the shape shown in the below image using tikz?

\documentclass[12pt]{article} \usepackage{graphics} \usepackage[dvipsnames, xllsnames, svgnames, table]{xcolor} \usepackage{tikz} \usepackage{tikzpagenodes} \usetikzlibrary{arrows, shapes, ...
Vishakha's user avatar
  • 119
1 vote
1 answer
40 views

Limit pattern inside tikz node

I want to create a tree in tikz, where I highlight certain nodes using a pattern. However, I want to limit the pattern inside the rectangles such that the text is visible on a white background. Here ...
John Doe's user avatar
3 votes
1 answer
147 views

How to color a part of curve

I would like to color a part of curve, as in the picture. I used the following code \documentclass{article} \usepackage{tikz,amsmath, amssymb,bm,color} \usetikzlibrary{calc} \usetikzlibrary{...
Hariz Khaled's user avatar
8 votes
1 answer
194 views

Draw arrow on a curve

I would like to add arrow to a red curve as in the picture, this is my code \documentclass{article} \usepackage[margin=0cm,nohead]{geometry} \usepackage[active,tightpage]{preview} \usepackage{...
Hariz Khaled's user avatar
10 votes
2 answers
207 views

How to make branches in a game tree parallel?

I created the following game tree: Here is my code: \documentclass[leqno, oneside, 12pt]{book} \usepackage{amsmath} \usepackage{istgame} \usepackage{caption} \usepackage{makecell} \begin{document} \...
Beerus's user avatar
  • 201
1 vote
1 answer
98 views

tkz-fct: How to set line style of a tkzGrid

I'm using the tkz-fct package and I'd like to change the appereance of the grid issued with the command \tkzGrid , for example switch from solid to dotted lines. So far I managed only to change the ...
Antonio's user avatar
  • 95
0 votes
1 answer
103 views

How to draw cube (3D plot) with dashed lines instead of solid lines in TikZ?

A figure of a cube (or a 3D plot), along with an external image, is shown below (and its code is here). I'm trying to use dashed lines instead of solid lines in this figure. I have checked these links,...
Ellie's user avatar
  • 242
0 votes
3 answers
140 views

Bubble / satellite diagram with children

I've got the following code with Latex smartdiagram package that produces the attached bubble diagram. But I would like to be able to have child satellites in it (see prototype image below). Is it ...
Gerard Bosch's user avatar
0 votes
1 answer
47 views

A tcbline only to the half of the page

This MWE example: \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{skins,breakable} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tcolorbox}[ sharp corners, ...
montarenbici's user avatar
3 votes
2 answers
73 views

Newcommand and macro expansion in pgfplots

I would like to create a shaded error bar area such as in Error bars as shaded area. To avoid copy pasting the same code over several pgfplots figure, I try to make a new command which do this ...
arthropode's user avatar
0 votes
1 answer
67 views

Error in chapter Style modification

for the past few days, I have been attempting to change the chapter style, but I've encountered an error with the class I am using. Here is my code: \documentclass[a4paper,12pt]{extra/MyThesis} \...
Espoir's user avatar
  • 110
4 votes
3 answers
197 views

tikzset style - use a command to generate multiple key-vals

When creating a style with args using \tikzset, I have no problem creating "aliases" with args, as long as those args appear in the value part of a key=value, like xshift=#1. What I want to ...
likethevegetable's user avatar
0 votes
0 answers
38 views

TikZ text node and edge position in TikZit

I am using the TikZit application to construct a diagram containing nodes that "contain" or "consist of" only text (formatted with color, etc.) and that are connected by various ...
Qohelet's user avatar
  • 119

1
2 3 4 5
40