From 53a12757d6cc681bfd39c6bb93db49b2c21ee97b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 23 Dec 2016 23:05:18 +0000 Subject: smartdiagram (23dec16) git-svn-id: svn://tug.org/texlive/trunk@42781 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/smartdiagram/smartdiagram.sty | 2 +- .../smartdiagramlibrarycore.commands.code.tex | 14 ++--- .../smartdiagramlibrarycore.definitions.code.tex | 66 +++++++++++----------- .../smartdiagramlibrarycore.styles.code.tex | 24 ++++---- 4 files changed, 53 insertions(+), 53 deletions(-) (limited to 'Master/texmf-dist/tex/latex/smartdiagram') diff --git a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagram.sty index e0daf834524..c2068ab502e 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/19 v0.3a Automatic creation of smart diagrams from lists of items.] +\ProvidesPackage{smartdiagram}[2016/12/23 v0.3b 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 e894a127687..7956a085216 100644 --- a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex +++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.commands.code.tex @@ -106,20 +106,20 @@ \else \ifnum\xi=\maxsmitem \IfStrEq{\option}{horizontal}{% true-horizontal-flow diagram - \tikzset{square arrow/.style={ + \tikzset{square arrow/.style={% 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={ + \tikzset{square arrow/.style={% to path={-- ++(\sm@core@backarrowdistance,0) |- (\tikztotarget)} - } - } + }% + }% \draw[diagram arrow type,square arrow] (module\xj.east) to (module\xi); - } + }% \fi \fi }% 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 0b108b23ced..7522561a3b5 100644 --- a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex +++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.definitions.code.tex @@ -158,31 +158,31 @@ 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}{ - \global\@namedef{color@\i\expandafter}\expandafter{\listitem} - } - } +\pgfkeys{/smart diagram/.cd, set color list/.code={% + \foreach \listitem [count=\i] in {#1}{% + \global\@namedef{color@\i\expandafter}\expandafter{\listitem}% + }% + }% } -\pgfkeys{/smart diagram/.cd, uniform color list/.code args={#1 for #2 items}{ - \foreach \listitem [count=\i] in {1,...,#2}{ - \global\@namedef{color@\i\expandafter}\expandafter{#1} - } - } +\pgfkeys{/smart diagram/.cd, uniform color list/.code args={#1 for #2 items}{% + \foreach \listitem [count=\i] in {1,...,#2}{% + \global\@namedef{color@\i\expandafter}\expandafter{#1}% + }% + }% } -\pgfkeys{/smart diagram/.cd, use predefined color list/.code={ - \@namedef{color@1}{red!30} - \@namedef{color@2}{cyan!30} - \@namedef{color@3}{blue!30} - \@namedef{color@4}{green!30} - \@namedef{color@5}{orange!30} - \@namedef{color@6}{yellow!30} - \@namedef{color@7}{magenta!30} - \@namedef{color@8}{brown!30} - \@namedef{color@9}{violet!30} - \@namedef{color@10}{teal!30} +\pgfkeys{/smart diagram/.cd, use predefined color list/.code={% + \@namedef{color@1}{red!30}% + \@namedef{color@2}{cyan!30}% + \@namedef{color@3}{blue!30}% + \@namedef{color@4}{green!30}% + \@namedef{color@5}{orange!30}% + \@namedef{color@6}{yellow!30}% + \@namedef{color@7}{magenta!30}% + \@namedef{color@8}{brown!30}% + \@namedef{color@9}{violet!30}% + \@namedef{color@10}{teal!30}% } } \newif\ifbackarrowdisabled @@ -263,35 +263,35 @@ \pgfkeys{/smart diagram/.cd,% uniform sequence color/.is choice,% uniform sequence color/true/.code={% - \tikzset{sequence item/.append style={ + \tikzset{sequence item/.append style={% fill=\sm@core@seqitemuniformcol, - }, - } + },% + }% },% uniform sequence color/false/.style={sequence item},% - uniform sequence color/.default=false, + uniform sequence color/.default=false,% }% \pgfkeys{/smart diagram/.cd,% uniform connection color/.is choice,% uniform connection color/true/.code={% - \tikzset{connection planet satellite/.append style={ + \tikzset{connection planet satellite/.append style={% \sm@core@connectioncolor - }, - } + },% + }% },% uniform connection color/false/.style={connection planet satellite},% - uniform connection color/.default=false, + uniform connection color/.default=false,% }% \pgfkeys{/smart diagram/.cd,% uniform arrow color/.is choice,% uniform arrow color/true/.code={% - \tikzset{diagram arrow type/.append style={ + \tikzset{diagram arrow type/.append style={% \sm@core@arrowcolor - }, - } + },% + }% },% uniform arrow color/false/.style={diagram arrow type},% - uniform arrow color/.default=false, + uniform arrow color/.default=false,% }% diff --git a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex index 6972be4b692..98c755f241f 100644 --- a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex +++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex @@ -25,7 +25,7 @@ } } -\tikzset{module/.style={ +\tikzset{module/.style={% \pgfkeysvalueof{/smart diagram/module shape}, thick, draw=\sm@core@bordercolor, @@ -38,14 +38,14 @@ font=\sm@core@modulefontsize, \sm@core@borderdecoration }, - diagram arrow type/.style={ + diagram arrow type/.style={% \sm@core@arrowstyle, >=\sm@core@arrowtip, line width=\sm@core@arrowlinewidth, \col - }, + },% } -\tikzset{description title/.style={ +\tikzset{description title/.style={% circle, draw=\sm@core@bordercolor, minimum width=\sm@core@descriptiontitlewidth, @@ -56,7 +56,7 @@ text width=\sm@core@descriptiontitletextwidth, \sm@core@borderdecoration, }, - description/.style={ + description/.style={% \pgfkeysvalueof{/smart diagram/module shape}, text width=\sm@core@descriptiontextwidth, draw=\sm@core@bordercolor, @@ -67,7 +67,7 @@ top color=white!80!\col, font=\sm@core@descriptionfontsize, \sm@core@borderdecoration, - } + }% } \tikzset{priority arrow/.style={ draw=\sm@core@bordercolor, @@ -142,19 +142,19 @@ text=\sm@core@seqitemtextcolor, } } -\tikzset{let hypenation/.style={ +\tikzset{let hypenation/.style={% execute at begin node={% \hspace{0pt}% - } - } + }% + }% }% -\tikzset{ +\tikzset{% sminvisible/.style={opacity=0,text opacity=0}, smvisible on/.style={smalt=#1{}{sminvisible}}, smalt/.code args={<#1>#2#3}{% \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} - }, -} + },% +}% %% %% Copyright (C) 2012-2013 by Claudio Fiandrino -- cgit v1.2.3