Re: Regular Polygons

2024-06-08 Thread Werner LEMBERG
> Thankfully, it should be trivial to make the changes. The question > now is what reference glyph is the best? If you have an argument, the shape should enclose it symmetrically (more or less) – it is up to you how sophisticated the algorithm is to do that in the visually most pleasing way (i.

Re: Regular Polygons

2024-06-08 Thread Shane Brandes
Typically fonts use x-height as a general design parameter. I don't know if you find that helpful in this interesting project, but it is a point of possible useage. Regards, Shane Brandes On Sat, Jun 8, 2024, 5:47 AM Aaron Hill wrote: > Thank you both, Werner and Valentin, for taking the time t

Re: Regular Polygons

2024-06-08 Thread Aaron Hill
Thank you both, Werner and Valentin, for taking the time to look at my submission. When I was playing around with drawing shapes, I was thinking paper scale not text scale. This was inspired by Paolo's desire to draw arbitrary arrows and things. Because of that, I presumed the end user woul

Re: Regular Polygons

2024-06-08 Thread Werner LEMBERG
> I was playing around with drawing regular polygons, which led to > creating a new markup command with several configurable options. > (Some of these options are inherited via the built-in \polygon > command.) > > There might be a few things to tighten up, but I believe it is in a > pretty work

Re: Regular Polygons

2024-06-08 Thread Valentin Petzel
Hello Aaron, I would think there is little actual need to specify the size as parameter. After all, you have the font-size proportion, using which you can control size by \fontsize ... You’d simply need to replace size by (magstep font-size). Alternatively if you want to match text you could i