Created
June 8, 2021 07:23
-
-
Save scmbradley/48624d3181046fef0e2fdc5dfb251da6 to your computer and use it in GitHub Desktop.
Simple demonstration of TikZ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{positioning} | |
\begin{document} | |
\begin{tikzpicture}[very thick,-stealth] | |
\node (a) {A}; | |
\node [above right = 2em and 5em of a] (b) {B}; | |
\node [below right= 1em and 2em of a](d) {D}; | |
\node [right = 1em of d](c) {C}; | |
\draw (a) edge [bend left] (b); | |
\draw (a) edge [bend right] (d); | |
\draw (d) -- (c); | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment