This tag is about shapes, geometric or otherwise, that can be drawn directly with LaTeX commands or with a related package.
Questions tagged [shapes]
192 questions
3
votes
2 answers
How do I create vertical rectangles that are adjacent to each other with spaces in between?
I am working on a probability homework assignment for my discrete math class. One of the questions involves calculating the probability of drawing 7 cards and having exactly one land card and 6 non-land cards. We are given that we start off with 60…
Richard
- 115
1
vote
1 answer
I would like a perfect pentagon with 108° angles
I tried relative coordinates, but couldn't put a coordinate in to make angles. Is this possible?
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{quotes,angles,calc,plotmarks,decorations.text}
\begin{document} …
Jon
- 525
- 1
- 3
- 11
1
vote
7 answers
How can I draw a right triangle in LaTeX?
Let's say I would like to make the following figure.
However, I would like to see if I can make this figure in LaTex so that it looks much cleaner and nicer like this. What are the commands used to make such mathematical figures and where can I…
Some Guy
- 172
1
vote
0 answers
How to make text margins follow a specific shape?
How can text be formatted as in this example from Alice in Wonderland, where the margins for the text seems to follow a specific shape (if that's what's actually happening..sorry if I'm clueless here), while also the text size decreases? I think I…
user202323
- 41
1
vote
1 answer
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
ghc1997
- 11
1
vote
1 answer
Making a figure for a decision boundary with latex?
I'm writing my thesis in machine learning in latex and I would like to make a figure that shows 2D plot with some points with different shapes and a line that separates them. In other words, I want to show the idea of the decision boundary of a…
Jack Twain
- 971
0
votes
2 answers
Structure of the block diagram, input and output
I put too much information in my block diagram and now the input and output don't look right.
Is there a way to put larger arrows? and also I would like to know if X(s) and Y(s) can be a little bit farther form the block.
Here is the code for the…
Julio Ortegón
- 403
0
votes
2 answers
Drawing a rectangle with dotted lines inside and symbols
I am still getting my head around drawing shapes in latex. So the question is on how to draw following rectangle.
Could any one demonstrate how to do so?
Thank you so much.
Will Kim
- 2,032