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
0
votes
0answers
2 views

How I can use tikz picture?

$2x-3=11$ $-\dfrac{2}{5} \times \left(-\dfrac{5}{6}\right)$
1
vote
0answers
27 views

Placing a fully defined picture absolutely at any point inside a path picture

The following example generates a rack switch with a single port. The front oft the rack switch is defined by a path picture. I add the port to path picture by using \node and i am placing the node ...
2
votes
2answers
56 views

A possible improvement of witharrows package

I was looking at this question Please help me solve. i am trying where there is the image below. In my comment I have suggested using the witharrows package. I don't know this package very well, but ...
2
votes
2answers
76 views

“Numeric Puzzles” in Latex. Vertical division etc. with letters and other symbols

I tried to make puzzles like this in LaTex and had some problems, especially with examples for division . With help of \begin{tabular} i make this for addition and multiplication: \documentclass[...
0
votes
0answers
39 views

How to draw a boiling point elevation apparatus

I would like to draw the diagram below using tikz My attempt with these codes \documentclass[openany]{book} \usepackage{tikz} \usetikzlibrary{patterns,intersections,calc,positioning} \usepackage{...
1
vote
1answer
58 views

How to draw isotherms of a gas

I would like to draw the diagram below using tikz I started the task with these codes \documentclass[openany]{book} \usepackage{tikz} \usetikzlibrary{patterns} \usepackage{mhchem} \begin{document} \...
1
vote
4answers
74 views

text baseline in a rectangle split node in tikz

I am trying to put the text on the same baseline. The text under picture A is a little bit higher than the text under picture B although both are centered. I think it is because of letters like g, p ...
4
votes
1answer
34 views

Radius-Property doesn't work in \tikzset (Tikz)

Why doesn't the radius-property work in these case: \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{calc, shadings, shadows, shapes.arrows} \tikzset{my style/.style={fill=black!60,circle,...
0
votes
1answer
49 views

Multiple Pointing arrows in a slide unable to find the location

I am new to tikz just able to draw some arrows but going to complex part unable to find the location and technique to do so. \documentclass[xcolor=dvipsnames, aspectratio=169, 11pt]{beamer} \...
0
votes
0answers
23 views

How to format the quarter date and make annotations? Latex

I would like to show the date in quarter format on the x axis. So far this is my code. However, not all the dates are shown in the graph. Can anyone help me with this issue? \documentclass{article}%[...
1
vote
1answer
47 views

Drawing conductometric curve in tikz

I would like to draw conductivity graph using tikz, so far: \documentclass{article} \usepackage{tikz} \begin{document} \draw[<->](0,5)|-(5,0);% drawing axes \draw(0,2)..controls(1.5,.5)..(3.2,4)-...
2
votes
2answers
53 views

Math or text symbols of Bagua 2

Previously, we had obtained great answers to get math or text symbols of Bagua. Is it possible to make math or text symbols of these forms of Bagua (as 90 degree rotations of the previous ones): Are ...
5
votes
3answers
205 views

Math or text symbols of Bagua

Is it possible to make math or text symbols of these forms: Are there already available in LaTex? These are from Bagua for your reference: https://en.wikipedia.org/wiki/Bagua Thank you in advance!
0
votes
1answer
32 views

Adjust Weight Size to Become Smaller Using Latex

Below is the coding using Latex to generate 3 nodes and 3 edges graph, as seen in the picture. It works perfectly, with only one small problem. So, each edge has 7, 31, 31, which represent the weight ...
1
vote
0answers
57 views

Automate transition on slides using Beamer

I have multiple images that I would like to show on a single slide in beamer. These images are in fact related and I would like to simulate a GIF by transitioning between these images. Currently, I am ...
2
votes
1answer
51 views

How could I render a dashed path as independent paths?

Motivation I have a document in which I draw dashed lines. Ultimately, I want to use it for a laser-cutting project which needs to cut the lines in a dashed fashion. In TikZ, I define the paths (...
1
vote
1answer
58 views

Draw line in tikz with changing color

I have the following line using \draw (see MWE below). I would like to have the line change in color, from red on the right, to blue on the left. Current attempts are adding a fading region rather ...
0
votes
1answer
50 views

How to fill the area enclosed by two shapes in tikz

I have two lines; one a "curly" line and the other a vertex (seeMWE below): How can I fill the area enclosed by these two lines? That is, between the red and black lines? MWE \documentclass[...
12
votes
1answer
720 views

Tikz railway tracks issue in TeX Live 2021

Until I upgraded to TeX Live 2021, I was very happy with Mark Wibrow's train tracks. However, under TeX Live 2021, I get very strange behavior; the code from his answer now typesets as the following. ...
1
vote
1answer
19 views

How do you use tiks to draw a labeled time scale with no number line in LaTeX?

I am attempting to draw the following labeled time scale using the tikz package in LaTex: I used the following code: \begin{tikzpicture} \draw[*-*] (0,0) -- node[midway,above] {a} ++ (1,0); ...
2
votes
1answer
54 views

Tighter capacitor plates in CircuiTikZ

The gap between the plates of CircuiTikZ's default capacitor symbol is quite spacious. I'd like it to be less so, perhaps by a factor of 2/3 or 1/2. You can see the difference between what I want and ...
3
votes
1answer
92 views

TikZ multi-part rectangle with dashed line separating parts?

How does one put a dashed line between the parts, say like this?
1
vote
1answer
26 views

Elegant/Automated Way to Make My Single Framed Tikz Beamer in Multiple Frame [duplicate]

I want this single framed beamer to reveal step by step in multiple frames \documentclass[compress]{beamer} \usepackage {tikz} \usetheme {Warsaw} \usetikzlibrary{3d} % \makeatletter \...
0
votes
1answer
24 views

How to Properly Convert Tikz Picture in Article Class to Beamer Without Deformation

I want to transform the article document class of this tikz picture to a beamer class and the tikz picture deforms and looks wayward in beamer. Here is the article class: \documentclass[border=10pt]{...
3
votes
1answer
43 views

How to make tcolorbox find right paths of styles

I define my options of tcolorbox with different paths by \tcbset(Please see the following code). I'd like to know how to make tcolorbox find the right path of an option? I know that I can invoke a ...
2
votes
1answer
27 views

Math mode in a `tikz` diagram

I want a tikz diagram, with an arrow connecting bit of text with a bit of math above it. I had the following, but it doesn't work once "Math" is in a math environment (i.e.:$Math$): \...
1
vote
1answer
71 views

CircuiTikZ: Redefine 'open nodes fill' key to 'fill=none' (so that open-circuit terminals are not filled)

Problem description As described in the "Terminal shapes" section (currently section 4.12) of the circuitikz manual, the "open circuit" versions of bipole nodes are [...] by ...
0
votes
2answers
58 views

How to create a new symbol (with adjustable colors) in tikz

I have a naive question --- How to create a new symbol like the figure below (with adjustable colors) in the tikz? I believe that it is doable with tikzpicture. For example, using tikzpicture, are we ...
1
vote
1answer
47 views

crop image with complex custom shape

I want to crop an image on a complex shape. The shape will be applied to different images and used in a {beamer} presentation. I took a example picture from here and clipped it by hand so that is ...
1
vote
1answer
73 views

Tikz Image Help (Recreating Image)

I am trying to create the attached image in Tikz. I don't want to include the bullseye, as I will use a fill in order to get the desired result. I am having trouble with the smaller polygons above the ...
0
votes
1answer
61 views

Plot with TikZ (Fermi distribution)

any idea on how to do these two figures with TikZ? Especially the one on the right :) Thanks a lot!!
1
vote
2answers
22 views

Create space for extra 2 arrows into a node

I am having an issue to create space for another arrow into the "Process Model". I would like to shift the elbow up so to be aligned with the entry point of the arrow. I could probably do it ...
0
votes
1answer
18 views

Evenly space unconnected nodes to form columns

How can the first node on tikz be placed to space out evenly? You can see that instead of placing them properly by evenly spacing them out, Overleaf just cuts of the box on the right side. I am ...
2
votes
1answer
29 views

Defining global styles, using tikzset and usebeamercolor

I am defining a corporate design beamer template. Actually, I have defined some given colors in the beamercolorthemeCD.sty file. (Next step will be, to define some font templates via ...
5
votes
1answer
120 views

How can improve my Tikz scripting? (3D Cube)

I've been learning LaTeX for a while, and today I'm trying to create graphic elements for the first time using Tikz. This is what I'm trying to achieve: And this is what I've made: \documentclass{...
0
votes
1answer
37 views

Move figure labels down

Source Code and Credits: https://github.com/PetarV-/TikZ/blob/master/2D%20Convolution/2d_convolution.tex#L6 My modified code: \begin{figure} [h] \centering \begin{tikzpicture} \matrix (mtr)...
1
vote
1answer
79 views

diagram drawing by Tikz

I am new to Tex, below is the image I wish to redraw by Tikz. If you have any suggestions, pls, help.
0
votes
0answers
67 views

How can draw this? i only get to do this

Hello I have managed to draw this, but I am not able to draw the rest, any help? \documentclass{article} \usepackage{pst-labo} \newcommand{\pstClamp}{ \colorlet{myfill}{brown!60} % potence ...
1
vote
1answer
43 views

How to set straight line (horizontal) connector?

Please help me to set a straight line (horizontal) connector. Thank you in advance. \documentclass[a4paper,11pt]{article} \usepackage[edges]{forest} \usepackage{caption} % Source <------------...
4
votes
1answer
66 views

-|- arrow pointing in the wrong direction

Issue The -|- arrow is intersecting another node to its left. I want it to point eastward, then point northward, then point westward. How do I change this arrow's direction? I have looked through the ...
3
votes
1answer
77 views

Drawing a border in odd and even pages

Please help me for having this border different in odd / even pages \documentclass{article} \usepackage{tikz-page} \usepackage{lipsum} \usetikzlibrary{shadows.blur} \tikzset{ secnode/....
2
votes
2answers
43 views

TikZ, how to put label above the path arrow

On the picture below (generated with TikZ library), I would like to put AA above its arrow, and BB below its arrow: Here is my code so far: \begin{figure} \centering \begin{tikzpicture}[thick,...
0
votes
1answer
52 views

TikZ: Place two boxed side by side in a flow chart

and I am currently trying to create a large flowchart. I have reduced my example only to the boxes, where I have some struggle with (much more boxes will be below these). I am trying to place these ...
1
vote
1answer
58 views

Flowchart Tikz for Process with levels

i need a PDF with a huge Process and levels for the subprocesses. The idea is to make it with tikz, but i dont know how to build it simple and automatic. Something like this example and the package ...
0
votes
1answer
20 views

rotate matrix of customized tikzset pictures

Is it an easy way to rotate this TikZ diagram? I use the matrix at the end to stack four similar diagrams. \documentclass[tikz,border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{bayesnet} \...
1
vote
1answer
59 views

How to define a globaly style with pylatex?

I have been playing with pylatex lately, I tried to define a global style so that all pictures of my document can use this style. in this example an object named 'my_element' has a specific style. for ...
3
votes
1answer
98 views

draw a power system network

I want to draw the following figure, however, I can not put the name for the bold vertical line, and then I can not show the circles. I have tried to find the symbol for the transformer also, but I ...
3
votes
2answers
146 views

How do I position nodes that are created using tikzstyle

I need to draw a network topology diagram showing subnets, servers inside the subnets, and databases etc. I have been looking at various examples of using TikZ to draw diagrams, but I am uncertain how ...
1
vote
1answer
36 views

How to change spacing between nodes that were drawn with Tikz?

I have a grid of nodes labeled "orthographic layer" whose spacing I would like to modify. There is too much space between the nodes, and I would like it to look more "grid-like". ...
1
vote
2answers
62 views

Drawing a graphics with details using Tikz

I'm new to using Tikz for generating graphics in Latex. I've written the following part to generate a 2D domain. \usepackage{tikz} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amssymb} \...

1
2 3 4 5
32