Created
December 5, 2023 22:57
-
-
Save sjhuskey/0065f5487ae06eee3c41614bbd5ca09f to your computer and use it in GitHub Desktop.
LaTeX code for a basic stemma codicum
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
% I asked ChatGPT-4 for help with displaying a stemma codicum in LaTeX. | |
% Here is what I asked: "Please generate LaTeX code for a chart in which β is the parent and V and γ are the children. | |
% This is what it generated: | |
\documentclass[tikz,border=10pt]{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{trees} | |
\begin{document} | |
\begin{tikzpicture}[sibling distance=10em] | |
\node {β} | |
child { node {V} } | |
child { node {γ} }; | |
\end{tikzpicture} | |
\end{document} | |
% Here is a more complex stemma: | |
\documentclass[tikz,border=10pt]{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{trees} | |
\begin{document} | |
\begin{tikzpicture}[sibling distance=10em] | |
\node {α} | |
child { node {β} | |
child { node {V} } | |
child { node {γ} | |
child { node {Pr} } | |
child { node {δ} | |
child { node {B} } | |
child { node {D} } } } }; | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment