Sarmate.net Sarmate.net
Home Features Pricing Documentation Contact
Log in Sign up
Back to gallery
TikZ DE

Würfel (Topologie)

Sarmate sarmate_examples 2026-05-03 0 14

Würfel aus topologischer Sicht: Darstellung von Flächen, Kanten und Ecken für die elementare Topologie. Aus der technischen TikZ-Galerie von Sarmate (Quellen: MartinThoma/LaTeX-examples unter MIT, TeXample.net unter LPPL) — siehe auch unsere 900+ Figuren auf /tikz-gallery.php.

Open in demo Sign in to like
\documentclass[12pt,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{calc,angles,quotes,positioning,decorations.markings,arrows.meta,patterns,intersections,shapes,trees}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{tikzpicture}
    \tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
    \node (a)[point] at (0,0) {};
    \node (b)[point] at (4,0) {};
    \node (c)[point] at (5,1) {};
    \node (d)[point] at (1,1) {};
    \node (e)[point] at (0,2) {};
    \node (f)[point] at (4,2) {};
    \node (g)[point] at (5,3) {};
    \node (h)[point] at (1,3) {};
    \draw (a.center) -- (b.center) -- (f.center) -- (e.center) -- cycle;
    \draw (b.center) -- (c.center) -- (g.center) -- (f.center) -- cycle;
    \draw (e.center) -- (f.center) -- (g.center) -- (h.center) -- cycle;
    \draw[dashed] (a.center) -- (d.center) -- (c.center);
    \draw[dashed] (d.center) -- (h.center);
\end{tikzpicture}
\end{document}
This example is licensed under CC‑BY‑4.0. You may copy, modify, and redistribute it as long as you credit the author (Sarmate sarmate_examples).