Graphics, Figures & Tables ⇒ Custom Shapes
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Custom Shapes
Is there a way to create your own custom shapes with custom anchors/nodes etc. or sort of like re-creating your own TikZ objects?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Custom Shapes
You'd have to take a look at the corresponding PGF/TikZ libraries and probably go down to the system or basic layer to program your own shapes. These layers are described in the PGF/TikZ manual.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Custom Shapes
Perhaps have a look at this rectangle TikZ shape example. The description is in German, a translator (pons.eu, google) could translate it for you. The main part is just code, so understandable.
Defining new shapes is pretty much work, as I see there. As Thorsten said, I would start with reading and copying parts of the pgf shapes libraries as the basis of my own shapes.
If you manage to define a new shape, I would be glad to see it. And if you have specific questions while working on it, let us know.
Stefan
Defining new shapes is pretty much work, as I see there. As Thorsten said, I would start with reading and copying parts of the pgf shapes libraries as the basis of my own shapes.
If you manage to define a new shape, I would be glad to see it. And if you have specific questions while working on it, let us know.
Stefan
LaTeX.org admin
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Custom Shapes
Is it possible to create a shape with Adobe Illustrator CC, then customize the shape with anchor points? If so, how?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Custom Shapes
No. The possible approaches have already been pointed out in the former responses.ghostanime2001 wrote:Is it possible to create a shape with Adobe Illustrator CC, then customize the shape with anchor points? […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Custom Shapes
So the only way is to use TikZ to make shapes?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Custom Shapes
Please tell me, do you actually read what others write here? This question is clearly answered by former replies in this thread. m(ghostanime2001 wrote:So the only way is to use TikZ to make shapes?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Custom Shapes
Maybe if it wasn't German.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Custom Shapes
As far as I remember the PGF manual is entirely written in English. m(ghostanime2001 wrote:Maybe if it wasn't German.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Custom Shapes
Would latex 3 have better shape anchor integration ?