Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shapes]

The tag has no usage guidance.

8
votes
2answers
311 views

Drawing Shapes on Graphs

I am trying to draw a regular pentagon on a graph (I need to add more stuff to it, so having the axis is desirable), but when I try to draw the two together they do not line up. Here is my code: \...
12
votes
1answer
961 views

Creating a Falcon's logo

I have been trying to trying to replicate this logo for my team (not to mention in LaTeX ofcourse:-)): So where I am now: \documentclass[11pt]{standalone} \usepackage{tikz} \usepackage{pgfplots}% ...
7
votes
3answers
637 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} ...
3
votes
2answers
44 views

Position nodes relative to regular polygon anchors

I have a regular polygon, and I'd like to position nodes for instance above the first corner, or next to the nth side. This is my sample: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{...
1
vote
1answer
22 views

Placing a pgftext in front of the fillcolor in a self-declared shape

There is this very nice example of how to draw D flip-flops of a shift register by declaring the flip-flops as shapes first: http://www.texample.net/tikz/examples/d-flip-flops-and-shift-register/ I ...
3
votes
1answer
36 views

How to include a vertical space between two chemfig reaction schemes in a TikZ box

This is a continuation of my previous question. I am dealing with the following code to include chemical reactions into the shape of a cloud. \documentclass{article} \usepackage{chemfig} \usepackage{...
2
votes
1answer
34 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} \...
9
votes
2answers
278 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 ...
2
votes
0answers
54 views

PGF fpu “ill-formatted floating point number” using shapes.symbols library

I was trying to draw a Pierson-Moskowitz wave spectrum in TikZ and had to load the PGF's fpu library to do some of the calculations. Lots of errors! What surprised me is that one of them doesn't ...
13
votes
3answers
769 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 ...
3
votes
1answer
60 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
votes
1answer
64 views

how can i draw this grid shape?

Hey guys im trying to form a shape of a grid with text and arrows proparly and i didnt got so far. how can i draw it ?
0
votes
2answers
109 views

TikZ Arrow ignores rotation

I want to illustrate several arrows, each pointing to the previous arrow, except at some point, two arrows should point to the previous arrow and therefore their angle should be +/-45°. Now the ...
0
votes
1answer
278 views

How to convert diagrams made in Inkscape to Latex (pgf, tikz etc)?

I'm new to Latex and I have some fairly complicated diagrams I need to render using latex code. The most convenient way to do this is if I could draw them out in Inkscape and then somehow convert that ...
2
votes
1answer
55 views

Is there any bullet or other shape indicating question that I can use in Beamer instead of the word question?

Is there any shape or bullet that indicate on question? It can be something like the shape of a question mark. I want to use it instead of the word question when I want to introduce a question like ...
0
votes
1answer
344 views

cant use latex in slader site to draw geometry shapes

i use slader site which use latex to answer math question but i can't draw geometric axies nor electric diagrams, i tried to type some solution from stackExchange but it did't work can some one help ...
4
votes
2answers
65 views

fit and/or backgrounds does not work as expected in tikz-qtree

I am drawing a tree using tikz-qtree and want to draw backgrounds for two groups of nodes: the left group consisting of l, l1, l2 and the right group consisting of r, rl, l3, l4, l5. However, as shown ...
1
vote
1answer
98 views

Drawing Shapes and Young Tablauex

I would like to draw a shape, in the sense of a young tableaux with arbitrary boxes missing. A currently have the following, which allows me to draw skew tableaux, however I want the box containing c ...
5
votes
2answers
1k views

Draw a rectangular prism and label its dimensions

I'm trying to prepare a worksheet for my students on calculating the volume of a rectangular prism (cuboid). Using the code below I manage to generate the rectangular prism, but how do I add the ...
3
votes
1answer
140 views

Why does minimum height of a trapezium node affect also the width?

If I change minimum height=... of a trapezium node, also the width changes. It doesn't happen with standard rectangle nodes. \documentclass[border=0pt]{standalone} \usepackage[utf8]{inputenc} \...
1
vote
1answer
200 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
1answer
179 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 ...
3
votes
2answers
186 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].
1
vote
1answer
87 views

Pstricks improper output

I recently started pstricks in LaTeX and tried to plot basic shapes using the \put command. I'm not getting the desired output. Here are the commands that I entered: \documentclass[pstricks,border=...
3
votes
1answer
112 views

Octagon with defined size

for a drawing I need an octagon with a predefined size, actually smaller than the smallest size of the polygon from shapes.geometric. Is there another package I could use or an option I'm missing? ...
0
votes
1answer
112 views

Drawing a meshed ellipse with tikz-feynman

Is it possible, by using tikz-feynman, to draw a mashed ellipse such as (the appearance can also be similar to the deformed blob):
1
vote
1answer
300 views

How to draw a triangle with a number in it?

I would like to draw some shapes (triangle, circle and both triangle and circle) with numbers in it, if this is possible
4
votes
1answer
657 views

Fill color with tikzpicture

This code produce Fig. 2. Is there a way to get Fig. 1? \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \noindent\begin{tikzpicture}[fill opacity=0.5] \begin{...
7
votes
1answer
266 views

Tikz Random `Map' with `Countries'

I like maths and I have a young cousin who struggles quite a lot with it. So I am trying to find different fun activities for her to show how interesting maths can be. During my Easter visit to her ...
1
vote
2answers
737 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 ...
0
votes
1answer
192 views

tikz usecase diagram send and receive shape

Im searching for a send and receive shape that has to look like this: Is there some standard shape.misc to implement or even a manual to the shape.misc package?
2
votes
1answer
340 views

TikZ - make a figure like the following

I want to create a figure like the following one using TikZ nodes, but I don't really know how... any help over here to get me started? This would be the figure to reproduce:
3
votes
1answer
107 views

Foreach over multidimensional array issues

I'm not experienced with LaTeX/TikZ, so I may be doing something dumb. I have two versions of this code. One works, and one doesn't and I'm at my wits end trying to figure out why the second doesn't....
1
vote
2answers
257 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
1answer
302 views

Changing the shape of a text box in the header

I have a question regarding the following code: \documentclass[a4paper]{book} \setlength\headheight{0cm} \usepackage{xcolor} \colorlet{headbgcolor}{green!50!blue!70} \setlength{\...
2
votes
1answer
221 views

How to make \pgfdeclareshape independent of initial coordinates?

I'm using a tikz package created by a colleague for drawing block diagrams. He declared basic shapes for the blocks using pgf. But it does not entirely work as intended and I'm trying to fix it. ...
1
vote
1answer
381 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
4
votes
3answers
259 views

Shading between a circle and two lines

I have drawn the unit circle and some tangent lines to the circle. I now wish to shade the area between the two lines bounded by the circle. Here is the tex that I have already written. \...
4
votes
1answer
543 views

TikZ: Draw different shapes of lp-Norm

I am trying to reproduce the picture below using TikZ. A similar question was already asked here, but I wasn't able to apply the answers to my problem since I need the exact same picture not only the ...
5
votes
1answer
274 views

rotating custom shapes in Tikz

I'm trying to build upon the rectangle node shape but what I came up with doesn't rotate nicely (the hashed pattern, the second rectangle). As you can see, I've tried adding as many transform shape ...
8
votes
3answers
1k views

Wrap a text in a triangle

is it possible to wrap a text inside a triangle like the following image?
2
votes
0answers
298 views

How to draw irregular 3d shapes in TikZ?

I would like to draw the cylinder-like irregular shape displayed below using TikZ. I know how to plot regular cylinders using TikZ, however the commands I know don't apply for irregular 3d shapes, as ...
1
vote
3answers
343 views

Font shape not available with `newpx`

Have a document with newpx and use bold, small caps and large text (with MikTeX 2.9). \documentclass{article} \usepackage[largesc]{newpxtext} \begin{document} Normal \textbf{Bold textbf} {\bfseries ...
0
votes
1answer
137 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 ...
1
vote
1answer
447 views

Symbols between figures

I would like to add symbols between Figures Figure 1 + Figure 2 ---> Figure 3 Please redirect on how it can be achieved.
1
vote
1answer
160 views

rectangle containing text pointing from minipage

I would like to achieve the following: The current code that I have is: \scalebox{0.65}{ \begin{minipage}{0.95\textwidth} \begin{algorithm}[H] %new code \begin{...
0
votes
1answer
460 views

Mark arrows on multiple arrows in tikz

I have a tikz picture with two nodes and bidirectional arrows between them (two separate arrows - one in each direction). I want to enclose these arrows using a ellipse, something as shown in the ...
3
votes
1answer
470 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?
2
votes
1answer
3k views

Shaded triangle (itemize environment, article class)

I'm wondering how to draw a beamer like bullet in the article class. I've gotten close using \renewcommand{labelitemi}{$\triangleright$} but would like the triangle to be filled in and am not sure ...
8
votes
1answer
660 views

Create and process options in \pgfdeclareshape

I'm working on a small library for Registrer Transfer Level (RTL) that I'll use a lot throughout my PhD thesis. I'm designing an operator symbol that can have a bit or a bus as input and/or output. If ...