Skip to content

Commit

Permalink
Fix missing preamble in Koerner2015.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 21, 2024
1 parent 94392c7 commit 19f1b4f
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions tex/generic/pgf/graphdrawing/lua/pgf/gd/pedigrees/Koerner2015.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,19 @@ declare {
documentation = [["
...
"]],
examples = [["
\tikz \graph [simple pedigree layout, default edge operator=complete bipartite]
{
Eve -- [mate] Felix;
{ Eve, Felix } -> [child] { George, Hank };
Alice -- [mate] Bob;
{ Alice, Bob } -> [child] { Charly, Dave, Eve };
};
"]]
examples = {
options = [[ preamble=\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{pedigrees} ]],
[[
\tikz \graph [simple pedigree layout, default edge operator=complete bipartite]
{
Eve -- [mate] Felix;
{ Eve, Felix } -> [child] { George, Hank };
Alice -- [mate] Bob;
{ Alice, Bob } -> [child] { Charly, Dave, Eve };
};
]]
}
}


Expand Down

0 comments on commit 19f1b4f

Please sign in to comment.