Questions tagged [shapes]
This tag is about shapes, geometric or otherwise, that can be drawn directly with LaTeX commands or with a related package.
31
questions
22
votes
3
answers
3k
views
tikz: Jigsaw Puzzle Boundary Shape
This question led to a new package:
jigsaw
I would like to draw a jigsaw puzzle boundary layer, ideally connecting two half-circle segments. The two segments should be connected by a nicely curved ...
9
votes
3
answers
2k
views
Wrap a text in a triangle
is it possible to wrap a text inside a triangle like the following image?
6
votes
1
answer
3k
views
How to draw shape as 'curved arrows' with text (with tikz)
I would like to draw the figure below with Tikz. My research on the web to draw a curved arrow with text yielded nothing.
On the other hand, I wonder how to direct the arrow to the left with the text ...
6
votes
2
answers
6k
views
No borders on left/right side of tikz nodes
I want to draw something like the following (photoshop'd) rendering:
This image consists of three \nodes, each using a different border. The whole thing is pinned on a chain, because in my actual ...
5
votes
2
answers
429
views
How to draw a hazard diamond (like the one from National Fire Protection Association) in LaTeX?
Is it possible to make a diamond like the National Fire Protection Association in tex? I made a table using xcolor package with [colortbl].
2
votes
2
answers
2k
views
circuitikz DAC and ADC shapes
Are there DAC and DAC shapes in circuitikz?
You know, the irregular pentagon (line assure/rectangle with a triangular side).
Trying to write a \pgfdeclareshape for it, but wondered if someone already ...
13
votes
2
answers
8k
views
Tikz callout: positioning start of pointer
The pointers of my Tikz callout rectangles always start in the middle of the rectangle. But that kind of pointer sometimes gets in the way of other objects (e.g. the pointer start should be more to ...
6
votes
2
answers
2k
views
Sliders in LaTeX
I was wondering if there is a standardized and fancy way to have sliders like these horizontal linear ones in a LaTeX article. Anyone has an idea on how I should start tackling it? I'd like to get an ...
2
votes
1
answer
1k
views
Undefined control sequence: \pgfmath@multiply@thousand [duplicate]
After updating my MiKTeX distribution, I suddenly got a compile error with a .tex file that compiled perfectly fine before. After removing everything that did not contribute to the error, I ended up ...
20
votes
8
answers
2k
views
Drawing rotated triangles inside triangles
How do I draw rotated triangles inside a triangle as shown above? I already know how to draw one triangle; But I'm not able to draw this specific figure. I found a similar example from https://...
17
votes
2
answers
23k
views
Upside-down triangle as node shape
How to give a node the shape of an upside-down triangle (base at top)?
I tried the following:
triangle/.style = { regular polygon, regular polygon sides=3, rotate=180}
But I don't want the text ...
9
votes
2
answers
520
views
representing an arithmetic rope
I'd like to include figures representing different uses for an arithmetic rope throughout the document to explain the duodecimal system and the application in architecture. The distance between knots ...
7
votes
3
answers
2k
views
Drawing a Tank with Water in it
I am trying to draw a cylindrical tank that has water in it, using tikz. Here is what I have so far:
\documentclass[a4paper, 12pt]{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
...
7
votes
1
answer
2k
views
Is there an easy way to number a hexagonal spiral?
I created a hexagonal spiral, but ran into a problem while trying to number it. The spiral is created in 2 sections. I can manually number the whole thing, as I did below, but I haven't been able to ...
4
votes
2
answers
4k
views
How to superimpose two images in a beamer presentation?
Even I am familiar with LaTeX I consider myself new to LaTeX presentations.
I already created the graphics / diagrams.
I want to overlay the cloud and the arrows over the diagrams.
The overlay ...
4
votes
1
answer
1k
views
TikZ: Skinny ellipse around two horizontally and vertically offset nodes in a tree
As a follow up question to draw an ellipse into a Tree picture -tikz package, how would one go about making a skinnier ellipse that encircles two horizontally and vertically offset nodes in a tree?
...
4
votes
2
answers
451
views
How to Crop an Image Precisely in the Shape of a Norman Window
A Norman Window looks like a semicircle atop a rectangle; for example,
If would like to be able to take an existing rectangular image and crop it so that what is cut out resembles the perimeter of a ...
3
votes
1
answer
2k
views
Weird behavior of cylinder shape in TikZ
I am trying to draw a cylinder to represent a database in a diagram of mine. I have written this code, inside a much bigger document
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,...
3
votes
1
answer
766
views
How to put a reaction scheme from chemfig inside a TikZ picture?
I am trying to include a chemical reaction from the chemfig package into this picture of a cloud using the following code:
\documentclass{amsart}
\usepackage{chemfig}
\usepackage{tikz}
\...
3
votes
2
answers
4k
views
Creating shapes like circle, rotated squares, and triangle without tikz
In the previous post, I got help with creating boxes with black borders and custom fills.
How can I create other shapes like triangles, circles, rotated squares, etc. with custom fills.
I do not ...
3
votes
1
answer
172
views
How to properly use new options into \pgfdeclareshape of makeshape package
I'm tryng to make new shapes with the help of makeshape package, and I'm having a lot of problems with new options.
Here, an example:
\makeatletter
\def\pgf@izquierda{izquierda}
\def\...
2
votes
1
answer
318
views
How to prevent collisions in custom shapes with header and footer using `tikzpicture` and `fancyhdr`?
This is a combination of two previous questions (with their respective answers):How to create a command for the sections with an svg next to it on the top of the page? and How to make a conversation ...
2
votes
1
answer
4k
views
! Package tikz Error: missing semicolon [closed]
I have found this sample of code from here: Block diagram generation in LaTeX. Initially I had some problems while I was compiling the code and I solved them due to copy paste features some of the ...
2
votes
1
answer
1k
views
How to make rounded box and shaded background behind text in Latex?
I am trying to create a following image in LaTeX for my resume. I can find a lot of questions and answers being discussed on the perfect rectangular background but not the rounded shape.
1
vote
2
answers
896
views
XeLaTeX, small caps bfseries
I found that this MWE, compiled with pdflatex provide what I need:
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\begin{document}
\begin{center}
{\bfseries\scshape Bold Small Caps}
\...
1
vote
1
answer
1k
views
How to create a colorbox with only one rounded corner [duplicate]
is there any posibility of creating a coloured text box with only one rounded corner? (Maybe using tikz)
Thank You
1
vote
1
answer
1k
views
How to draw a water droplet in Latex?
Hey guys I am working in an infographic and I am trying to do it in LaTeX. In it I want to use the shape of a water droplet to show the water consumption. the final product should be something like ...
1
vote
1
answer
640
views
mathastext font shapes rendered in wrong encoding
I am trying to use the mathastext package to replace alphabet letters in math with the default fonts in the document, and gfsdidot (udidot) for greek. I can either get everything relevant except greek ...
1
vote
1
answer
461
views
Analog Computer Symbols
I am trying to draw analog computer symbols (I will put a picture of the entire list later). Right now, I am trying to draw a symbol of an analog integrator. Here's what I have right now in code:
\...
0
votes
1
answer
206
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
0
answers
85
views
Efficiently Displaying a Paragraph in Trapezoidal Formation
As part of an introduction to the contents of a book, I would like to display a particular paragraph in the formation of a trapezoid; and I suspect I will be able to do this (but rather laboriously) ...