Tag Info

New answers tagged

6

Metapost also lets you do this, using the glyph operator. This was produced by the glyph visualization program from section 9 of the MP manual, changed to show an Ω from "cmr10", and shown below. The names of the fonts are those defined in the relevant map file (usually pdftex.map) and the names of the glyphs are the usual PostScript names (see ...


3

Here's an attempt in Metapost. The picture shows d=2, d=3, d=4, and d=6. It was easier to compute and store the ratios than fiddle about doing them in MP each time. Obviously it does not work for d<2, and for d>8 you basically get a completely black disc. prologues := 3; outputtemplate := "%j%c.eps"; ratio2 = 0.78540 ; ratio3 = 0.52360 ; ...


2

It is not difficult to change the radius of the inner circle to be a function of \N. I left it constant as I am so lazy to search for such a function right now. Static version \documentclass[pstricks,border=12pt]{standalone} \usepackage{multido} \begin{document} \makeatletter \def\N{12}\degrees[\N] \begin{pspicture}[dimen=m,linejoin=1](-5,-5)(5,5) ...


2

I've had good luck making diagrams using graphviz and then importing those graphics. Below is from the web page and there is a gallery with source. The Graphviz layout programs take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages; PDF or Postscript for inclusion in other documents; ...


8

Not sure why TikZ is considered overkill. The following looks quite straight forward, although it requires LuaLaTeX: \documentclass[tikz,border=5]{standalone} \usetikzlibrary{graphs,graphdrawing,arrows.meta} \usegdlibrary{circular} \begin{document} \tikz[>=Stealth]\graph [simple necklace layout, nodes={circle, draw}, node sep=1cm]{ a, b, c, d, e; a ...



Top 50 recent answers are included