Skip to content

Commit

Permalink
- commented some more \begin{codeexample}[setup code,hidden]
Browse files Browse the repository at this point in the history
  (as @hmenke suggested in pgf-tikz#711 (comment))
  • Loading branch information
Mo-Gul authored and hmenke committed Aug 27, 2019
1 parent 0455591 commit 592b2cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tex/generic/pgf/graphdrawing/lua/pgf/gd/circular/doc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ local documentation = require 'pgf.gd.doc'.documentation
local summary = require 'pgf.gd.doc'.summary
local example = require 'pgf.gd.doc'.example

--[[
\begin{codeexample}[setup code,hidden]
\usetikzlibrary{graphs,graphdrawing}
\usegdlibrary{circular}
\end{codeexample}
--]]
--------------------------------------------------------------------
key "simple necklace layout"

Expand Down
2 changes: 2 additions & 0 deletions tex/generic/pgf/graphdrawing/lua/pgf/gd/trees/ChildSpec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
-- \item When you use the |child| syntax, you can use the |missing| key
-- with the |child| command to indicate a missing child:
-- %
--[[
\begin{codeexample}[setup code,hidden]
\usetikzlibrary{graphs,graphdrawing}
\usegdlibrary{trees}
\end{codeexample}
--]]
-- %
-- \begin{codeexample}[]
-- \tikz [binary tree layout, level distance=5mm]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@
-- trees whenever this is requested by a tree layout algorithm. The
-- default algorithm is |breadth first spanning tree|.
--
--[[
\begin{codeexample}[setup code,hidden]
\usetikzlibrary{graphs,graphdrawing}
\usegdlibrary{trees}
\end{codeexample}
--]]
--%
--\begin{codeexample}[]
--\tikz \graph [tree layout, breadth first spanning tree]
Expand Down

0 comments on commit 592b2cd

Please sign in to comment.