2

My code so far is

\begin{center}
  \begin{tikzpicture}
    [
      border rotated/.style = {shape border rotate=180}
    ]
    \node[
      regular polygon,
      regular polygon sides=5,
      border rotated,
      minimum width=30mm,
    ] (PG) {}
      (PG.corner 1) node (PG9) {$0$}
      (PG.corner 2) node (PG3) {$\Omega^3$}
      (PG.corner 3) node (PG2) {$\Omega^2$}
      (PG.corner 4) node (PG1) {$\Omega^1$}
      (PG.corner 5) node (PG0) {$\Omega^0$}
    ;
     \draw[->] (PG0) -- (PG3) node [midway,below] {$\star$};
     \draw[transform canvas={yshift=-0.5ex},->](PG1) -- (PG2) node [midway,below] {$\star$};
     \draw[transform canvas={yshift=0.5ex},->] (PG1) -- (PG2) node [midway,above] {$\mathrm d$};
     \draw[->] (PG9) -- (PG0) node [midway,sloped,below] {$\mathrm d$};
     \draw[->] (PG0) -- (PG1) node [midway,sloped,above] {$\mathrm d$};
     \draw[->] (PG2) -- (PG3) node [midway,sloped,above] {$\mathrm d$};
     \draw[->] (PG3) -- (PG9) node [midway,sloped,below] {$\mathrm d$};
  \end{tikzpicture}
\end{center}

This produces a pentagonal commutative diagram like

enter image description here

Now I want to add a new node, labeled $\Gamma$, "north-west" of the one labeled $\Omega^1$, with two labeled arrows connecting it to $\Omega^1$, in different directions. How do I do this?

1 Answer 1

1

You already had all the ingredients.

enter image description here

\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{shapes.geometric,positioning}
\begin{document}

  \begin{tikzpicture}
    [
      border rotated/.style = {shape border rotate=180}
    ]
    \node[
      regular polygon,
      regular polygon sides=5,
      border rotated,
      minimum width=30mm,
    ] (PG) {}
      (PG.corner 1) node (PG9) {$0$}
      (PG.corner 2) node (PG3) {$\Omega^3$}
      (PG.corner 3) node (PG2) {$\Omega^2$}
      (PG.corner 4) node (PG1) {$\Omega^1$}
      (PG.corner 5) node (PG0) {$\Omega^0$}
    ;
     \draw[->] (PG0) -- (PG3) node [midway,below] {$\star$};
     \draw[transform canvas={yshift=-0.5ex},->](PG1) -- (PG2) node [midway,below] {$\star$};
     \draw[transform canvas={yshift=0.5ex},->] (PG1) -- (PG2) node [midway,above] {$\mathrm d$};
     \draw[->] (PG9) -- (PG0) node [midway,sloped,below] {$\mathrm d$};
     \draw[->] (PG0) -- (PG1) node [midway,sloped,above] {$\mathrm d$};
     \draw[->] (PG2) -- (PG3) node [midway,sloped,above] {$\mathrm d$};
     \draw[->] (PG3) -- (PG9) node [midway,sloped,below] {$\mathrm d$};
     \node[above left=1cm of PG1] (Gamma) {$\Gamma$};    
     \draw[transform canvas={yshift=-{0.5/sqrt(2)*1ex},xshift=-{0.5/sqrt(2)*1ex}},->](PG1) -- (Gamma);
     \draw[transform canvas={yshift={0.5/sqrt(2)*1ex},xshift={0.5/sqrt(2)*1ex}},<-] (PG1) -- (Gamma);
\end{tikzpicture}
\end{document}
2
  • Hi, ingredients as: garlic, tomato, and spices? :-) +1.
    – Sebastiano
    Apr 24, 2018 at 8:51
  • @Sebastiano LOL ;-)
    – user121799
    Apr 24, 2018 at 8:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .