summaryrefslogtreecommitdiff
path: root/info/drawing-with-metapost/src/arch-snub-hexagon.mp
diff options
context:
space:
mode:
Diffstat (limited to 'info/drawing-with-metapost/src/arch-snub-hexagon.mp')
-rw-r--r--info/drawing-with-metapost/src/arch-snub-hexagon.mp13
1 files changed, 13 insertions, 0 deletions
diff --git a/info/drawing-with-metapost/src/arch-snub-hexagon.mp b/info/drawing-with-metapost/src/arch-snub-hexagon.mp
new file mode 100644
index 0000000000..09310036f2
--- /dev/null
+++ b/info/drawing-with-metapost/src/arch-snub-hexagon.mp
@@ -0,0 +1,13 @@
+\documentclass[border=5mm]{standalone}
+\usepackage{luamplib}
+\begin{document}
+\mplibtextextlabel{enable}
+\begin{mplibcode}
+input arch-snub-hex-parts
+beginfig(1);
+draw P1 shifted 180 left;
+draw P2 shifted 180 right;
+currentpicture := currentpicture rotated 90;
+endfig;
+\end{mplibcode}
+\end{document}