From cbc5d15025eacd6c76506330508257731ed94b35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 4 Apr 2013 22:47:58 +0000 Subject: smartdiagram *.code.tex in runtime git-svn-id: svn://tug.org/texlive/trunk@29642 c570f23f-e606-0410-a88d-b1316a301751 --- .../smartdiagramlibrarycore.styles.code.tex | 183 +++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex (limited to 'Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex') diff --git a/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex new file mode 100644 index 00000000000..6972be4b692 --- /dev/null +++ b/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex @@ -0,0 +1,183 @@ +%% +%% This is file `smartdiagramlibrarycore.styles.code.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% smartdiagram.dtx (with options: `styles') +%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +%% smartdiagram --- Automatic creation of smart diagrams from lists of items. +%% +%% E-mail: claudio fiandrino gmail com +%% +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +%% + +\tikzfading[name=priorityarrowfading, + bottom color=transparent!5, + top color=transparent!80 +] +\tikzset{priority arrow fill/.style={ + fill=gray, + path fading=priorityarrowfading + } +} + +\tikzset{module/.style={ + \pgfkeysvalueof{/smart diagram/module shape}, + thick, + draw=\sm@core@bordercolor, + top color=white, + bottom color=\col, + text=\sm@core@textcolor, + text width=\sm@core@moduletextwidth, + minimum width=\sm@core@modulewidth, + minimum height=\sm@core@moduleheight, + font=\sm@core@modulefontsize, + \sm@core@borderdecoration + }, + diagram arrow type/.style={ + \sm@core@arrowstyle, + >=\sm@core@arrowtip, + line width=\sm@core@arrowlinewidth, + \col + }, +} +\tikzset{description title/.style={ + circle, + draw=\sm@core@bordercolor, + minimum width=\sm@core@descriptiontitlewidth, + anchor=east, + bottom color=\col, + top color=white!80!\col, + font=\sm@core@descriptiontitlefontsize, + text width=\sm@core@descriptiontitletextwidth, + \sm@core@borderdecoration, + }, + description/.style={ + \pgfkeysvalueof{/smart diagram/module shape}, + text width=\sm@core@descriptiontextwidth, + draw=\sm@core@bordercolor, + anchor=west, + minimum height=\sm@core@moduleheight, + minimum width=\sm@core@descriptionwidth, + bottom color=\col, + top color=white!80!\col, + font=\sm@core@descriptionfontsize, + \sm@core@borderdecoration, + } +} +\tikzset{priority arrow/.style={ + draw=\sm@core@bordercolor, + single arrow, + minimum height=\distancemodules, + minimum width=\sm@core@priorityarrowwidth, + priority arrow fill, + rotate=90, + single arrow head extend=\sm@core@priorityarrowheadextend, + anchor=west, + } +} +\tikzset{bubble center node/.style={ + minimum size=\sm@core@bubblecenternodesize, + circle, + fill=\sm@core@bubblecenternodecolor, + font=\sm@core@bubblecenternodefont, + outer sep=\sm@core@distancecenterotherbubbles, + inner sep=\sm@core@distancetextcenterbubble, + }, + bubble node/.style={ + minimum size=\sm@core@bubblenodesize, + circle, + ultra thick, + font=\sm@core@bubblenodefont, + draw=white, + fill opacity=\sm@core@bubblefillopacity, + fill=\col, + text opacity=\sm@core@bubbletextopacity, + } +} +\tikzset{planet/.style={ + minimum size=\sm@core@planetminimumsize, + circle, + fill=\sm@core@planetcolor, + font=\sm@core@planetfont, + outer sep=\sm@core@planetoutersep, + inner sep=\sm@core@planetinnersep, + text width=\sm@core@planettextwidth, + }, + satellite/.style={ + minimum size=\sm@core@satelliteminimumsize, + circle, + font=\sm@core@satellitefont, + fill opacity=\sm@core@satellitefillopacity, + fill=\col, + text opacity=\sm@core@satellitetextopacity, + text width=\sm@core@satellitetextwidth, + outer sep=\sm@core@satelliteoutersep, + }, + connection planet satellite/.style={ + ->, + line width=\sm@core@connectionlinewidth, + >=\sm@core@arrowtip, + \col, + } +} + +\tikzset{sequence item/.style={ + minimum height=\sm@core@seqitemheight, + minimum width=\sm@core@seqitemwidth, + signal, + signal from=west, + signal to=east, + draw=\sm@core@seqitembordercolor, + line width=\sm@core@seqlinewidth, + font=\sm@core@seqitemfont, + fill opacity=\sm@core@seqitemfillopacity, + fill=\col, + text opacity=\sm@core@seqitemtextopacity, + text width=\sm@core@seqitemtextwidth, + text=\sm@core@seqitemtextcolor, + } +} +\tikzset{let hypenation/.style={ + execute at begin node={% + \hspace{0pt}% + } + } +}% +\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 +%% E-mail: fiandrino gmail com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Claudio Fiandrino. +%% +%% This work consists of the file smartdiagram.dtx +%% and the derived files smartdiagram.ins, +%% smartdiagram.pdf, +%% smartdiagramlibrarycore.definitions.code.tex, +%% smartdiagramlibrarycore.styles.code.tex, +%% smartdiagramlibrarycore.commands.code.tex +%% smartdiagramlibraryadditions.code.tex and +%% smartdiagram.sty. +%% +%% +%% End of file `smartdiagramlibrarycore.styles.code.tex'. -- cgit v1.2.3