summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/smartdiagram
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-19 23:38:45 +0000
committerKarl Berry <karl@freefriends.org>2013-04-19 23:38:45 +0000
commit671d6f77d0d1ebc0d4353fbac3c37071b4d9c961 (patch)
tree154957b0ba8d5816aec274e496570ee7a0ce597c /Master/texmf-dist/tex/latex/smartdiagram
parent1d4c2a74644b4bbb8828b70adc492f5da0493236 (diff)
smartdiagram (19apr13)
git-svn-id: svn://tug.org/texlive/trunk@30046 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/smartdiagram')
-rw-r--r--Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty2
-rw-r--r--Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex14
-rw-r--r--Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex3
3 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty
index e50fc6a2819..e0daf834524 100644
--- a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty
+++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty
@@ -15,7 +15,7 @@
%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{smartdiagram}[2013/04/01 v0.3 Automatic creation of smart diagrams from lists of items.]
+\ProvidesPackage{smartdiagram}[2013/04/19 v0.3a Automatic creation of smart diagrams from lists of items.]
\RequirePackage{tikz}
diff --git a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex
index 5069921936a..e894a127687 100644
--- a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex
+++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex
@@ -107,14 +107,14 @@
\ifnum\xi=\maxsmitem
\IfStrEq{\option}{horizontal}{% true-horizontal-flow diagram
\tikzset{square arrow/.style={
- to path={-- ++(0,0.5) -| (\tikztotarget)}
+ to path={-- ++(0,\sm@core@backarrowdistance) -| (\tikztotarget)}
}
}
\draw[diagram arrow type, square arrow]
(module\xj.north) to (module\xi.north);
}{% false-horizontal-flow diagram
\tikzset{square arrow/.style={
- to path={-- ++(0.5,0) |- (\tikztotarget)}
+ to path={-- ++(\sm@core@backarrowdistance,0) |- (\tikztotarget)}
}
}
\draw[diagram arrow type,square arrow]
@@ -283,10 +283,12 @@
\pgfmathtruncatemacro{\adv}{\xi + 1)}
\edef\col{\@nameuse{color@\xj}}
\IfStrEq{\option}{clockwise}{% true-clockwise-circular diagram
- \draw[diagram arrow type,shorten <=0.3cm,shorten >=0.3cm]
+ \draw[diagram arrow type,shorten <=0.3cm,shorten >=0.3cm,
+ smvisible on=<\adv->]
(module\xj) to[bend right] (module\xi);
}{% false-clockwise-circular diagram
- \draw[diagram arrow type,shorten <=0.3cm,shorten >=0.3cm]
+ \draw[diagram arrow type,shorten <=0.3cm,shorten >=0.3cm,
+ smvisible on=<\adv->]
(module\xj) to[bend left] (module\xi);
}
\fi
@@ -342,14 +344,14 @@
\ifnum\xi=\maxsmitem
\IfStrEq{\option}{horizontal}{% true-horizontal-flow diagram
\tikzset{square arrow/.style={
- to path={-- ++(0,0.5) -| (\tikztotarget)}
+ to path={-- ++(0,\sm@core@backarrowdistance) -| (\tikztotarget)}
}
}
\draw[diagram arrow type, square arrow,smvisible on=<\xi->]
(module\xj.north) to (module\xi.north);
}{% false-horizontal-flow diagram
\tikzset{square arrow/.style={
- to path={-- ++(0.5,0) |- (\tikztotarget)}
+ to path={-- ++(\sm@core@backarrowdistance,0) |- (\tikztotarget)}
}
}
\draw[diagram arrow type,square arrow,smvisible on=<\xi->]
diff --git a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex
index 11c2f925e3b..0b108b23ced 100644
--- a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex
+++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex
@@ -93,6 +93,7 @@
sequence item uniform color/.initial={gray!60!black},
arrow style/.initial={<-},
text color/.initial={black},
+ back arrow distance/.initial={0.5},
}%
\pgfkeys{/smart diagram/.cd, module minimum width/.get=\sm@core@modulewidth,
@@ -155,6 +156,7 @@
sequence item uniform color/.get=\sm@core@seqitemuniformcol,
arrow style/.get=\sm@core@arrowstyle,
text color/.get=\sm@core@textcolor,
+ back arrow distance/.get=\sm@core@backarrowdistance,
}%
\pgfkeys{/smart diagram/.cd, set color list/.code={
\foreach \listitem [count=\i] in {#1}{
@@ -255,6 +257,7 @@
sequence item uniform color/.get=\sm@core@seqitemuniformcol,
arrow style/.get=\sm@core@arrowstyle,
text color/.get=\sm@core@textcolor,
+ back arrow distance/.get=\sm@core@backarrowdistance,
}%
}%
\pgfkeys{/smart diagram/.cd,%