Questions tagged [tikz-shape]

For questions concerning node shapes in PGF/TikZ.

Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

Tikz, no shape named is known error

I am trying to compile following MWE \documentclass[border=9 pt]{standalone} \usepackage{epsfig,graphicx,tikz} \usepackage{standalone} \usetikzlibrary{intersections} \usepackage{pgfplots} \usepackage{...
3
votes
1answer
571 views

Load custom TikZ nodes from an SVG file?

I want to use custom nodes in TikZ, with shapes loaded (or otherwise converted) from an SVG file because I don't have enough time to learn pgf to draw the shapes I want. How can I do that?
3
votes
1answer
73 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 ...
3
votes
1answer
278 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} \...
3
votes
0answers
1k views

tikz/pgf: do not know the key/undefined control sequence [closed]

Sorry if the title is not very descriptive, but my problem is that I'm at such a loss that I don't even know how to best describe it. The problem is that I have LaTeX errors with certain tikz figures, ...
2
votes
2answers
204 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 (...
2
votes
2answers
126 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 ...
2
votes
1answer
1k views

how to draw multi position cylinder with tikz

I would like to draw cylinders (tikz shape) with different orientations. thus I will wish that the cylinder (2) is parallel to the x axis. I'm tested different values for the parameters I can not ...
2
votes
2answers
503 views

Defining my own custom white-boxed digital circuit component

Tikz has a bunch of useful digital circuit components, basic or complex. Here, I need some of my own, not necessarily even one of the convenient ones. But let's take one, rather convenient example: A ...
2
votes
1answer
430 views

TikZ: Having circle borders only grown to the outside

How do I let circle borders only grow to the outside? If I write \node[circle, draw, minimum size=2cm, line width=4mm] {}; Then the inside of the circle has a diameter of 16mm, since 2mm of the 4mm ...
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
505 views

Text has been reflected in 3D plot

It seems that the text xz on the x-z plane of the 3D figure below has been reflected. How to make it normal, just like yz on the y-z plane? Editable Read-only code on ShareLaTeX \documentclass{...
2
votes
1answer
322 views

Creating a custom TikZ shape with lines [duplicate]

I want to create a shape that looks like this: I have the following code \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ inout/....
2
votes
1answer
421 views

Why does `shape aspect` not work for rectangular TikZ nodes?

The documentation of TikZ seems to indicate that shape aspect is available for all node shapes. However, the command is only available if shapes.geometric is loaded and for some shapes (e.g. diamond). ...
2
votes
1answer
227 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 ...
2
votes
1answer
280 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
1answer
200 views

TikZ non standard shapes

I am trying to figure out how to generate this in tikz so I can embed in my LaTeX document. Most drawing I have are following variation of a theme. For actual text, I use Indic language in my TeX ...
2
votes
1answer
33 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}...
2
votes
1answer
167 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
1answer
245 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
243 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
1answer
139 views

How to draw “wavy” sequence of boxes

I'm very new to TikZ and I'm having a slight problem that I'm not entirely sure how to solve. Suppose I generate a sequence of boxes like so: \documentclass{report} \usepackage{tikz} \begin{...
2
votes
1answer
257 views

Improvement of tikz code and color the cone

The following code produces (if you can call it like that) a sphere, a cone and the axis. \definecolor{uuuuuu} {rgb}{0.26666666666666666,0.26666666666666666,0.26666666666666666} \begin{...
2
votes
1answer
68 views

Tikz: Define custom shape conditionally drawn

I am trying to create a custom shape in Tikz in a way that would allow me to use the node's options to determine how such a shape should be drawn. With the example Rectangle node with diagonal fill ...
2
votes
1answer
357 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{...
2
votes
0answers
35 views

Changing the current direction arrow in TikZ' circuits.ee library

I want to change the arrow tip used for indicating the current directions in TikZ' circuits.ee library (first path in the MWE below) to something else, say the Stealth tip (second path in the MWE). In ...
2
votes
0answers
79 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
0answers
186 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=...
2
votes
0answers
106 views

Working with lengths in node shape definition

This question is a bit tricky. I am trying to build symbols of flow charts for pneumatic circuits. I don't need that many elements, but I would like to be able to extend my collection similar to what ...
1
vote
3answers
101 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
82 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,...
1
vote
1answer
359 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'...
1
vote
1answer
75 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}{...
1
vote
1answer
65 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,...
1
vote
1answer
96 views

Change the shape of a tikzpicture

I am making a party hat using XeLaTeX with TikZ. Clearly for this to work the shape of the tikzpicture has to be triangular. How can I accomplish this? And, for the sake of generality, how can you do ...
1
vote
2answers
357 views

TikZ outline stroke of a compound shape

I'm trying to draw an outline of a shape, combined from primitives (circles and a rectangle). I'm using the Caramdir's code from here but it doesn't work for some reason. My code: \documentclass[...
1
vote
1answer
40 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 ...
1
vote
0answers
295 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 ...
1
vote
0answers
128 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):
1
vote
0answers
198 views

Why trapez shape width changes with text?

What I want is to have shapes that are of some width. Apparently trapezium doesn't want to behave and makes shapes larger if there is less text in them. The more text I put in a trapez, the smaller it ...
1
vote
0answers
288 views

How to include variables from tikz/pgf into pgfdeclareshape

\documentclass[tikz]{standalone} \usepackage{circuitikz} \pgfdeclareshape{oscillator} { \anchor{center}{\pgfpointorigin} % within the node, (0,0) is the center \anchor{text} % this is used to ...
0
votes
5answers
363 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 ...
0
votes
2answers
2k views

Bottom up neural network with TikZ

I need to create a diagram of a neural network. I found this example online: http://www.texample.net/tikz/examples/neural-network/ However this examples shows how to create a graph from left to right....
0
votes
1answer
83 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
0
votes
3answers
70 views

Multiple Color PGF Shape

I have a Two shapes I use as a nodes. Currently I have Two styles, which overlap, which limits the number of nodes I can have by half. What I am trying to do is create a pgf shape so that both shapes ...
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[...
0
votes
1answer
152 views

grid of anchors within a hexagon

So I have a base shape I am beginning to work with, which is just a regular polygon shape from shapes.geometric. How do I create a grid of anchors within this shape? I know that it is just math + pgf ...
0
votes
1answer
474 views

Tikz: Stacked hollow solid cylinders

Is there a way to draw three hollow cylinders with finite thickness in TikZ? The result should look something like this: I already found the shape=cylinder option as in here or here. But I have no ...
0
votes
0answers
33 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 = { ...
-7
votes
2answers
344 views

how can draw cross sectional of electrical machine? [closed]

how can i draw a cross sectional of electrical machine like this: can you help me please?