Questions tagged [tikz-shape]

For questions concerning node shapes in PGF/TikZ.

Filter by
Sorted by
Tagged with
4
votes
3answers
195 views

Add builder hat to other people with tikzpeople

I'm using the tikzpeople package to draw some scenarios. Now I would like to give the hat, that the builder is wearing to alice, charlie, and dave. As it is not attribute like the monitor or the ...
2
votes
2answers
108 views

Custom “computer” resp. “server” shape for tikz

Similar to the custom "human" shape resp. the tikzpeople package I'm now looking for nice computer shapes. I'm drawing some diagram showing the collaboration and communication of humans through some ...
4
votes
1answer
92 views

Adding introspection to TikZ/pgf shapes

After digging into the output of \tracingmacros=1 during a while, I'll ask here... I am trying to add a bit of introspection to pgf shapes. The idea is to be able to "extract" a \savedmacro of a shape....
6
votes
1answer
126 views

How to adjust arrow head size of arrow-node?

I am trying to use single arrow node from shapes.arrows TikZ library. The problem is with the proper adjustment of the arrow tip span - with the argument single arrow head extend. MWE: \documentclass{...
3
votes
1answer
56 views

Custom tikz shapes: High level alternative to \pgfdeclareshape

So I've been researching making own shapes in TikZ. As most things in LaTeX, I've come to learn, it seems to have an extremely deep rabbit hole. So I was wondering - is there an easy way out? Is it ...
1
vote
1answer
38 views

Tikz style for rectangle with text in border

I'm trying to create a reusable style (let's call it titlerect) for a tikz node which is supposed to look something like the following figure I quickly whipped up in Inkscape: I imagine it should be ...
4
votes
2answers
126 views

How do I draw and define two right triangles next to each other?

My goal is to draw a figure exactly like this The best I could do coding this was: \documentclass{article} \usepackage{amsmath,amsfonts,amssymb} \usepackage{tikz} \usepackage{float} \begin{document}...
6
votes
1answer
151 views

TikZ node shape depends on inside text

In one of my previous answers, my first proposal \documentclass[tikz]{standalone} \usetikzlibrary{quotes,angles} \begin{document} \begin{tikzpicture} \draw (0,-4)--(0,4) node[above] {$Im$} (-4,0)--(...
2
votes
2answers
200 views

Ellipses aligned on the same boundary point

I want to create a cascade of ellipses in TikZ. However, with my code, I get the ellipses to have the same center. But what I instead want, is that the ellipses have a common point on their boundary (...
4
votes
2answers
198 views

hrule into tikz circle node

I am struggling with inner node layout with Tikz. Basically, I want to add a line under the first text line inside a node, splitting it unevenly. Here is a try: \documentclass{standalone} \...
2
votes
1answer
32 views

How to indicate radius (or size) of circle when it's defined as `\path node[shape=circle]at(x,y){}`?

I need to change the size of the circle but using radius doesn't work here. \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \path node(ID1)[draw,shape=rectangle]{ID1}...
1
vote
1answer
70 views

“unrotate” part of a \pgfdeclareshape

I was trying to work on a very nice question about building chips for circuitikz, and I have a problem. I reduced it to this MWE: \documentclass[tikz, border=2mm]{standalone} \pgfdeclareshape{chip}{...
2
votes
1answer
187 views

Arrangement of triangles via tikz

Task: I am trying to arrange four triangles via TikZ. Below, you see the output: As you can see, I face two problems with my solution: A) It seems hand-made since the borders do not fit perfectly ...
4
votes
2answers
146 views

TikZ: Coordinate on shape vertices

I know that I can draw a rectangle with tikz using \draw (0.0,0.0) rectangle (1.0,1.0);. Is there a possibility to determine all 4 edge coordinates directly from the shape? I do can save the lower ...
5
votes
3answers
137 views

Colorize sides regular polygon

To illustrate what edge-coloring is, I'd like to colorize a regular polygon. I want to generate the shape using TikZ, then colorize the sides (edges) of the polygon separately, for instance by doing ...
0
votes
1answer
79 views

Drawing similar picture with tikz

Is it possible to make something like this in tikz? How to? :) f(t) can be literally any curve, this arrow pointing it is just a comment, not a part of a drawing
4
votes
2answers
111 views

Flowchart in tikz

I am completely new in tikz package and try to built a flowchart as on the picture. I made some attempts but with no succes. Could you give me a hint how to start to produce such flowchart? Thanks ...
3
votes
1answer
76 views

Defining a tikz-shape for block mode diagrams

What I want to do I want to draw diagrams of operation modes of block ciphers like this one of the ECB mode. I did this before without defining shapes for particular parts of the diagram. However, ...
0
votes
0answers
31 views

using pgfkeys for drawing TikZ paths

Consider the following MWE: \documentclass[border=1cm]{standalone} \usepackage{tikz} \tikzset{ first/.style = { draw, ultra thick, red, }, second/.style = { ...
1
vote
1answer
77 views

How to draw this modified bent tube using tikzpicture environment

Please consider this MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture} \node (C) [cylinder,rotate=180,draw,minimum height=4cm,...
3
votes
2answers
102 views

tikz: positioning of ellipse

please consider the following mwe: \documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{positioning, shapes} \begin{document} \begin{tikzpicture}[ node distance = 3mm ...
3
votes
1answer
77 views

TIKZ make trapez shape with text with a fixed size

I try making a simple trapez like shape using the TikZ shape library. The text inside the shape differs from its length. However, the shape should be as big as the shape with the longest text so all ...
1
vote
1answer
335 views

No shape named … is known

For this error I can not find a correct answer %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Welcome to Overleaf --- just edit your LaTeX on the left, % and we'...
2
votes
1answer
245 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} = [...
2
votes
0answers
78 views

TikZ matrix vs. shapes.multipart vs. text width

I'm wondering if anyone can make sense of the error I get when I try to set the text width in a matrix of multipart nodes. \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix,shapes....
2
votes
1answer
144 views

How Does One Add a Tool Tip to a Tikz-Shape Diagram?

The Problem I am trying to add a tool tip to a flowchart PDF I am making using the Tikz library so that ideally it displays when one hovers over the flowchart box. However, I don't know how to make ...
2
votes
2answers
80 views

how to avoid the transfer of the outside of a node inside [duplicate]

How to avoid that the styles of a node style pass in a schema included in the node thus on the ECM below, the node of right becomes green and is cut in 2 and that of left does not change of color but ...
2
votes
1answer
310 views

flowchart tikz nodes and shapes

I am trying to replicate the following flowchart with the following code: \documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{...
0
votes
5answers
331 views

How to draw a rectangle with only “one” round edge

I need to draw a rectangle with only one round edge like following image. In this case its south-west corner that is round. I looked up n saw this post Draw a rectangle with rounded ends in TikZ ...
6
votes
4answers
560 views

Set endpoint of arrows in tikz

I have the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{chains,shapes.multipart} \usetikzlibrary{shapes,calc} \usetikzlibrary{automata,arrows,shapes,snakes,automata,...
1
vote
0answers
282 views

Customizing split rectangle

I want to make split rectangles, but customize the width of each part separately, moreover I would like to hide the lines which split up the distinct rectangles and make the filled part fade from ...
7
votes
2answers
1k views

How to create a rectangle with a transparent hole [duplicate]

I have an issue involving filling a rectangle, although, this is probably quite a simple problem, this has compeletly stumped me... I know how to draw a rectangle for a given colour and a circle ...
1
vote
3answers
99 views

How to make move up and move down mark in proofreading?

MWE \documentclass[12pt]{article} \begin{document} $\underline{a}\sqcap\underline{a}$ $\overline{a}\sqcup\overline{a}$ \end{document} but what I try to do Can you help me fix it? Edited: How did ...
1
vote
1answer
64 views

How to word delete mark in Turkish proofreading?

MWE \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{pgflibraryshapes} \begin{document} \tikz[baseline=(x.base)] \node(a) [red,draw,ellipse,thick,fill=white,...
0
votes
1answer
57 views

Missing } inserted in tipa [duplicate]

MWE \documentclass[a4paper,11pt]{article} \usepackage{tikz} \usepackage{tipa} \usetikzlibrary{positioning} \usepackage{pgflibraryshapes} \newcommand*\chiuan[1]{% \tikz[baseline=(x.base)] \node[...
3
votes
1answer
238 views

Draw a balance with a pivot and two pans

I am going to draw a balance with a pivot (the triangle) and two pans (the T bars), as shown in the figure below. However, I was only able to draw the triangle, following this post. How to draw the ...
3
votes
1answer
165 views

Animation with math crossed out or circled

I'm trying to make an animation to show how to find the median of a small list of numbers. As I would incorporate it into a presentation, I used beamer frames, but I'm open to alternatives. I used ...
11
votes
1answer
541 views

Tikz - Filling a node with random smooth, closed shapes

I am trying to create the following illustration. Using Tikz, I managed to achieve a partial effect as shown below (please ignore the dimension mismatches). The code I used (MWE) for arriving thus ...
5
votes
1answer
330 views

How to make triangle tightly (no space) enclose other triangles using “fit”?

I am trying, so far with negative result, to enclose a couple of triangles in a bigger triangle without leaving any space between them. Output (dashed green line I drew by hand; this is where I need ...
6
votes
2answers
613 views

Why triangle's corners are sticking out instead of aligning perfectly with adjacent triangles?

So I drew a few isosceles triangles aligned to each other with one being upside down but that upside down triangle created unwanted behavior (its corners started sticking out of line). All these ...
3
votes
1answer
240 views

Shape of walking man in tikz

Does TikZ contain some library with arbitrary shapes of men? I need something like that I was downloaded SVG from here and try to use \usetikzlibrary{svg.path} but unfortunately it divided into three ...
4
votes
3answers
475 views

How to draw a request response message in tikz?

I am pretty new to tikz. I need a request response message in tikz. I have attached the image. I need the image should be generated as shown in the attached figure. I have tried a lot, but struck in ...
2
votes
1answer
236 views

How can I place a node on another node's border anchor, adjusting so that it is centred on the middle of any line bordering the main node?

I'm working on a package and I want to draw constructions similar to the following: This features 2 nodes. The small, circular node is located at some anchor on the border of the rectangular node, ...
2
votes
1answer
232 views

tikz building blocks for pneumatic diagrams

I've created a small library of tikz shapes that I want to use over and over in a convienient manner. The following is a subset of the shapes used together in an example: \documentclass[]{standalone} ...
2
votes
0answers
179 views

Tikz : How to control the the ellipse at the top of a cylinder node

\documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,positioning} \begin{document} \begin{tikzpicture} \node (A) [cylinder, shape border rotate=90, draw,minimum height=3cm,minimum width=...
3
votes
1answer
71 views

Moving axis onto diagram

I'm trying to draw a light cone diagram and would like for a time axis and a spatial axis to be overlaid over the top of the diagram I already have. I'd also like to add directional arrows on both ...
1
vote
0answers
118 views

Custom shape in Tikz node [duplicate]

is it possible to create a costum shape with tikz node like in figure without using pgf? It is like this (but now I have to include the third block):
4
votes
2answers
466 views

Multipart shapes, left/right align text in node

Please, consider the following MWE: \documentclass[preview,border=3mm,tikz]{standalone} \usetikzlibrary{shapes.multipart} \tikzset{% base/.style args={#1/#2/#3}{% shape=rectangle split, ...
3
votes
2answers
444 views

Matching the text background color in tikz with the background color of a presentation slide

I created a polygon using tikz package. I need to change the background color for my text to match with the background color of the slide. I'm attaching the photo. \begin{figure} [H] \begin{center} \...
3
votes
1answer
263 views

Using \pgfpointanchor in the background path of a circuit symbol shape

I have tried to create a circuit symbol for general sources as used in physics textbooks for high schools: \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC,shapes.gates.ee} \...