diff options
author | Karl Berry <karl@freefriends.org> | 2011-11-28 23:44:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-11-28 23:44:17 +0000 |
commit | 943060c95de767f07c7b00d0637d3fc96a08486f (patch) | |
tree | 6e14b901467218e23268032fbbaa77b4945a75d0 /Master/texmf-dist | |
parent | e19aadfa3678794d1a655f36f1c67ecf8cd78a56 (diff) |
tikz-dependency (28nov11)
git-svn-id: svn://tug.org/texlive/trunk@24679 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-dependency/AUTHORS | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-dependency/LICENSE | 19 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-dependency/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-dependency/tikz-dependency.pdf (renamed from Master/texmf-dist/doc/latex/tikz-dependency/tikz-dependency-doc.pdf) | bin | 586874 -> 637283 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-dependency/tikz-dependency.sty | 37 |
5 files changed, 70 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-dependency/AUTHORS b/Master/texmf-dist/doc/latex/tikz-dependency/AUTHORS new file mode 100644 index 00000000000..83cca7e46ea --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-dependency/AUTHORS @@ -0,0 +1 @@ +Daniele Pighin <daniele.pighin@gmail.com> diff --git a/Master/texmf-dist/doc/latex/tikz-dependency/LICENSE b/Master/texmf-dist/doc/latex/tikz-dependency/LICENSE new file mode 100644 index 00000000000..b6dccc64c84 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-dependency/LICENSE @@ -0,0 +1,19 @@ +Licenses for the TikZ-dependency package +======================================== + +Different parts of the TikZ-dependency package are distributed +under different licenses: + +1. The code of the package is dual-license. This means that + you can decide which license you wish to use when using the + TikZ-dependency package. The two options are: + + a) You can use the GNU Public License, version 2. + b) You can use the LaTeX Project Public License, version 1.3c. + +2. The documentation of the package is also dual-license. Again, + you can choose between two options: + + a) You can use the GNU Free Documentation License, version 1.2. + b) You can use the LaTeX Project Public License, version 1.3c. + diff --git a/Master/texmf-dist/doc/latex/tikz-dependency/README b/Master/texmf-dist/doc/latex/tikz-dependency/README new file mode 100644 index 00000000000..19158070305 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-dependency/README @@ -0,0 +1,15 @@ +------------------------------------------------------ +TikZ-dependency -- A library to draw dependency graphs +------------------------------------------------------ + +TikZ-dependency allows you to draw dependency graphs with little or +no effort. It also comes with a lot of styling facilities, to let you +personalize the look and feel of the graphs at your liking. + +Read the documentation in tikz-dependency.pdf for installation and +usage instructions. + +Licensing information is in the LICENSE file. + +Do not hesistate to contact me for comments, bug reports or +feature requests. Thanks for using tikz-dependency! diff --git a/Master/texmf-dist/doc/latex/tikz-dependency/tikz-dependency-doc.pdf b/Master/texmf-dist/doc/latex/tikz-dependency/tikz-dependency.pdf Binary files differindex 088fea60c50..b5413dec7e8 100644 --- a/Master/texmf-dist/doc/latex/tikz-dependency/tikz-dependency-doc.pdf +++ b/Master/texmf-dist/doc/latex/tikz-dependency/tikz-dependency.pdf diff --git a/Master/texmf-dist/tex/latex/tikz-dependency/tikz-dependency.sty b/Master/texmf-dist/tex/latex/tikz-dependency/tikz-dependency.sty index 6aa31c3c867..607d6c50a78 100644 --- a/Master/texmf-dist/tex/latex/tikz-dependency/tikz-dependency.sty +++ b/Master/texmf-dist/tex/latex/tikz-dependency/tikz-dependency.sty @@ -1,3 +1,12 @@ +% Copyright 2011 by Daniele Pighin +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/generic/tikz-dependency/licenses/LICENSE for more details. + \ProvidesPackage{tikz-dependency}[2011/01/08 v1.0 Macros to draw dependency trees] \NeedsTeXFormat{LaTeX2e}[1999/12/01] @@ -57,17 +66,41 @@ text height=1.5ex, text depth = 0.25ex, % needed to center text vertically inner sep = .5ex}, text style/.style = {reserved/text style/.append style = {#1}}, + % group styling reserved/group style/.style = { inner sep = 0, draw, solid, outer sep = .5ex, rounded corners = 2pt}, group style/.style = {reserved/group style/.append style = {#1}}, + % themes for text + text theme/.is choice, + text theme/brazil/.style = {text style={blue!60!black}}, + text theme/iron/.style = {text style={black!80}}, + text theme/copper/.style = {text style={brown!60!black}}, + text theme/night/.style = {text style={black}}, + text theme/grassy/.style = {text style={green!40!black}}, + % themes for labels + label theme/.is choice, + label theme/night/.style = {label style={text=white, fill=black, font=\bfseries}}, + label theme/brazil/.style = {label style={thick, black, fill=yellow, text=black, font=\bfseries}}, + label theme/iron/.style = {label style={top color=black!60, bottom color=black!80, draw=black!80, text=white, font=\bfseries}}, + label theme/copper/.style = {label style={top color=brown!80!pink, bottom color=brown!60!black, draw=brown!80, text=white, font=\bfseries}}, + label theme/grassy/.style = {label style={bottom color=green!60!black, top color=green!20!black, draw=green!40!black, text=white, font=\bfseries}}, + % themes for edges + edge theme/.is choice, + edge theme/night/.style = {edge style={thick}}, + edge theme/brazil/.style = {edge style={thick,green!60!black}}, + edge theme/iron/.style = {edge style={thick, black!80}}, + edge theme/copper/.style = {edge style={thick, brown!80}}, + edge theme/grassy/.style = {edge style={thick, green!40!black}}, + % themes styles + theme/.style = {label theme = #1, edge theme = #1, text theme = #1}, } \newenvironment{dependency}[1][]{% - \begin{tikzpicture} - \begin{scope}[/depgraph/.cd, #1] + \begin{tikzpicture}[/depgraph/.cd, #1] + \begin{scope} }{% \end{scope}% \end{tikzpicture}% |