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
1answer
19 views

How to add bars on upper and lower X-Axis in Tikz BoxPlot

I need to show green bars on the x-axis of a tikz boxplot as shown in the following figure. (The green bars indicate whether the corresponding question to this value is positive when the value is high ...
2
votes
1answer
43 views

Tikz: drawing a transmission line taxonomy with boxes and lines

Please, I'm struggling to draw the follow picture for my master's dissertation: Once I reproduce it on Tikz I'm able to translate to my own language.
0
votes
0answers
31 views

frame inside frame in beamer [closed]

In beamer, after slide 1 in frame M, inside the frame M I want to add another frame A to give slide 2, then slide 3 is frame M only, slide 4 is another frame B inside the frame M. Is it possible?
0
votes
0answers
20 views

How to fit the paper-size to the content in beamer?

How can I modify the page size (like standalone) to fit the contents here? The included picture link is cited at the bottom. \documentclass{beamer} % \usepackage{tikz} \usepackage{verbatim} \...
0
votes
1answer
25 views

Scale a node's width to adjust to the text while keeping a max-width

My problem actually seems simple, so apologies if this has been answered before, I wasn't able to find it. Maybe I had the wrong keywords as well. Current Situation: \tikzstyle{block} = [rectangle, ...
0
votes
1answer
38 views

How can I colour-fill a plotted shape?

I have the following code \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.markings} \usetikzlibrary{arrows.meta} \usetikzlibrary{decorations.pathreplacing} \usetikzlibrary{...
2
votes
4answers
136 views

How to properly draw block diagrams with multiple inputs in TiKz

I would like to recreate the following block diagram. But is still unsuccessful on how to correctly position the blocks and arrows. I've tried several things, and this is what I have so far. Any help ...
0
votes
0answers
20 views

Editing distance between photos and their caption/ label

I am placing photographs on a page as per certain hierarchy The output is correct but the labeling/caption of the names is a bit distant – how do I correct it? Can the coding below be improved in any ...
0
votes
1answer
48 views

How to indicate tiers in a Tikz graph?

I have a network made in Tikz. The graph has three tiers of nodes. I need to draw a dotted line connecting the nodes and place a tier label next to the rightmost node ($m_1$, $j$ and $i$) - Tiers 1, 2 ...
4
votes
2answers
68 views

Coloring a tikzpicture with the overlays in the beamer presentation

The code show below gives a block diagram, comprising of two blocks P(s) and C(s). These two blocks are also given in a list as separate items and each appear after the click of mouse. To draw the ...
1
vote
2answers
69 views

A minimalist block in latex beamer

I want to create a block that looks like: I am unable to find the latex template for the same. Any ideas?
0
votes
1answer
40 views

Blinking of a certain section of image in beamer

I have drawn an image in latex using tikz as given by the code below. The image generated via the below code comprises of a rectangular block having a text E(s) written inside it. I want to make this ...
1
vote
1answer
33 views

How to have declared pgf shape with different line thickness for one part in it?

How do I change line thickness for one part of a declared shape? I want it to have half thickness of the other lines. I tried adding the line \pgfsetlinewidth{0.5\pgflinewidth} before that part with ...
6
votes
1answer
1k views

How to draw this latex diagram. I need to, how to fix it?

\documentclass{artilce} \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{tikz} \tikzset{ keep name/.style={ prefix after command={ ...
1
vote
2answers
34 views

How do I change color of the pgftext in a declared pgfshape without changing the shape color?

How do I make it so that only the pgftext of the declared shape has different color without the shape itself? Below is what I want and the code (currently I have black text for the middle box). \...
11
votes
1answer
205 views

Draw ribbon with variable bending points

I refer to the following answer of Gonzalo Medina about creating a ribbon with text. I want to modify the existing code such that the points where the ribbon bends are quite large compared to the ends ...
6
votes
3answers
161 views

Tikzpicture Latex: Drawing triangle background

I'm super new to tikzpicture in LaTex. However here is my minimal working example: Minimal Working Example I basically have a graph and would like to group together both "cliques" in the graph. In ...
1
vote
1answer
39 views

Flow Chart with tikzpicture

I have some trouble with the last block closing the block chart. In practice, with the following setting, the result is that the "end" is attached to the previous one and I cannot understand hot to ...
2
votes
1answer
33 views

How is text indented and glued within TikZ node contents?

This is my MWE: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[draw=red,very thin, align=left,every node/.style={draw,rectangle}] \node ...
0
votes
0answers
27 views

Customize the items in the enumeration environment

How can I beautify the items in personal style? Can you give me an example? I want to do like the "1,2,3,4" subsections below
2
votes
2answers
53 views

Tikz: edge with and without arrows in a style file

How can I write a style file so that I can have combined arrow and no arrow edges? Here is a minimalist example. I would like to have a dashed line from O1 to A1 without an arrow. \documentclass[...
8
votes
1answer
137 views

Adding noise to sinusoidal plot

I have the code which outputs a couple of sinusoidal functions \documentclass[tikz,border=3.14mm]{standalone} \usepackage{tikz-3dplot} \usetikzlibrary{arrows.meta,bending} \usepackage{xparse} \...
0
votes
1answer
41 views

Change the edge style

I want to make the attached tikzpicture. First, how do I change the arrows to ankled arrows? Second, how do I align a node below a node that's at the top to skip the one between them? Code \begin{...
3
votes
1answer
85 views

How to make this TikZ picture more idiomatic? (environment diagram)

I am re-typesetting a picture (Figure 3.9) from "Structure and Interpretation of Computer Programs": The result of my TikZ musings is the following: Please, ignore the white-ish main colour, I want ...
1
vote
1answer
71 views

How can I draw antenna beam-like diagram with latex

I would like to draw beams pointing towards any angle of my choice as shown in the picture. Can anyone help with the latex code please?
0
votes
1answer
22 views

add a plus sign for the last tick mark along the x axis

Here is a MWE. \begin{tikzpicture}[scale=0.92] \begin{axis}[ xmax=100,xmin=0, ymin=0,ymax=1, xlabel=\emph{x axis},ylabel=\emph{y axis}, xtick={0,10,20,...,100}, ytick={0,0.1,0....
1
vote
2answers
35 views

draw a specific part

how can i color a specific part like the one in white? here the code: \documentclass[headsepline,BCOR=10mm,11pt,twoside,openright,cleardoublepage=empty,bibliography=totoc,numbers=noenddot]{scrbook} ...
1
vote
0answers
49 views

Kinematics CAD package for LaTeX

Do any good libraries exist for drawing kinematics diagram in LaTeX. I am looking for something similar to the following image. Duplicate
2
votes
1answer
43 views

TikZ: How can text in a node be increased?

I'd like to draw some circles with text inside. I can increase the radius, but the text naturally always stays the same. I know \Huge, which I tried to use, but it seems not to work in math-mode. How ...
3
votes
1answer
122 views

How to I set “rounded corners” inside a style in TikZ?

I have the following code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} [karl/.style ={help lines,color=blue!50}] \filldraw[step=.5cm,karl] (-1.4,-1.4) grid (1.4,1.4)...
1
vote
1answer
35 views

Defining node style when label is different in each node

Is there a way to reduce the amount of TikZ-Code I have to write for this collowing graphic? Every node has the same parameteres except for the specific label text and its positioning so I thought of ...
2
votes
2answers
52 views

Changing shapes and colors of blocks also redirecting arrows properly

I would like to have a flow chart as shown below. I have my initial latex code below but I am having trouble changing shapes, colors of blocks and redirecting arrows properly. Someone, please help. ...
1
vote
0answers
39 views

Is \tikzpictextoptions not supposed to contain the text after the quotes only?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{quotes} \begin{document} \tikzset{ thing/.pic={ \node {\tikzpictext}; \node at (0,1) {\tikzpictextoptions}; } } \...
2
votes
2answers
50 views

Negative amplitude signals on tikz-timing (Return To Zero)

I'm trying to do RZ with tikz-timing, like in the following picture. For that I tried using the high impedance timing character Z, like in this MWE : \documentclass{article} \usepackage{tikz-timing}...
0
votes
1answer
59 views

Text of nodes in tikz [duplicate]

I want to create a table in LATEX using tikz and I want to fill text into the table. I tried to do it with nodes, but the nodes overlap and so the text is not displayed correctly. Is it possible to ...
2
votes
1answer
46 views

Rotation of an object like \ddots in Tikz picture

I have the code provided below. The code produces the following picture: I want to rotate \ddots, which are showed in red circle, but can not figure out how to do this. CODE: \documentclass{...
1
vote
1answer
31 views

I have already plotted a function now I would like to delete two coordinates and group the ylabel with his value then put the origine O(0,0)

\documentclass[12pt,a4paper,french]{article} \usepackage[T1]{fontenc} \usepackage{pgf,tikz,pgfplots} \pgfplotsset{compat=1.15} \usepackage{mathrsfs} \usetikzlibrary{shapes.geometric} \usetikzlibrary{...
0
votes
0answers
40 views

Restarting figure numbering

Does anyone know how to start the numeration of figures from the second figure, that is, I would like the first figure, which is illustrative, not to be included in figure counting, so that Fig. 1 ...
2
votes
1answer
54 views

Text in a node in tikz does not seem to be vectorial

I am trying to draw a nuclides chart in tikz. But when I look at the different elements names (C, Be, etc.) I notice that my text does not seem to be vectorial... What is very strange is that some of ...
0
votes
2answers
100 views

Asking tikz code for this diagram

Can someone provide me the tikz code for the following diagram? Any help would be appreciated. Thanks so much
4
votes
2answers
90 views

Arrow styles in TikZ trees

Here's the LaTeX for a figure I'm working on: \documentclass[sigplan,10pt,anonymous,review]{acmart}\settopmatter{printfolios=true,printccs=false,printacmref=false} \usepackage{subcaption} \...
2
votes
1answer
84 views

Tikz node without text

I have a lot of diagrams with shapes where I draw lines between certain points on the boundary of those shapes. With Tikz I can use nodes to draw shapes, and use anchors like "node.west" to draw lines ...
0
votes
2answers
59 views

How do I remove gaps between line segments of tikz's draw?

I have read the related question: Tikz Understand white space between node and draw, and tried the solutions proposed therein. I am trying to draw a phylogenetic tree. I define the leaves and ...
3
votes
1answer
1k views

Can it be improved? Help me to fix this code [closed]

\documentclass{standalone} \usepackage{tikz} \begin{document} \usetikzlibrary{backgrounds} \def\centerarc[#1](#2)(#3:#4:#5);% % Syntax: [draw options] (center) (initial angle:final angle:radius) {...
0
votes
1answer
31 views

Adding an Under-brace Under a Label, `tikz`

I'd like to add add an (under)brace under the labels in the following diagram, indicating the part of the structure labeled "A" and "B", respectively. What I have makes the brace too close to the ...
2
votes
2answers
95 views

Add an icon to a node in tikz

I would like to add an icon on the border of a node. I can do it easily for one node: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[draw] (A) {content};...
4
votes
2answers
70 views

How to perfect the line joins?

I'd like to perfect my linejoins. How can I accomphish this? I tried line join=round in the \begin{tikzpicture} environment, like so \begin{tikzpicture}[line join=round], but it didn't solve the issue....
5
votes
1answer
110 views

Cube around 2 points with correct perspective

I'd like to display a moving rigid body with 2 coordinate frames attached to it. The body should be displayed around every link in the image below, so that the body is parallel to the line connecting ...
8
votes
1answer
374 views

Tikz: How to use multiple parameters in pic?

How is it possible to use multiple parameters in a single pic? It works nicely with just 1 parameter, but always results in errors in case of more than 1 parameter. I found this post, which didn't ...
2
votes
1answer
91 views

Stroke a path so that it's rendered half in one color and half in another

This is a question that's been asked twice before, but both of the previous solutions involve clipping; my paths are more complicated and I have a lot of them, the clipping solutions provided here and ...