summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bondgraphs
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-23 21:02:28 +0000
committerKarl Berry <karl@freefriends.org>2015-03-23 21:02:28 +0000
commitce27c8aca1292ca719fadce8c94af1e46d7ca9aa (patch)
tree40980cb82a54c79f42f67688d89ae3942eb78659 /Master/texmf-dist/tex/latex/bondgraphs
parent5a7b46d87247a8300bfc24c93bdbbec8b32d0872 (diff)
bondgraphs (23mar15)
git-svn-id: svn://tug.org/texlive/trunk@36605 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bondgraphs')
-rw-r--r--Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty b/Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty
index 69c464cebba..0fcf4c50015 100644
--- a/Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty
+++ b/Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty
@@ -17,7 +17,7 @@
%% LaTeX version 2008/05/04 or later.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bondgraphs}[2014/11/27 v1.0 TikZ-based Bond graphs formatting package]
+\ProvidesPackage{bondgraphs}[2015/03/23 v1.0.1 TikZ-based Bond graphs formatting package]
\RequirePackage{tikz}[2013/12/13]
\usetikzlibrary{arrows,arrows.meta,decorations.pathreplacing}
\usetikzlibrary{positioning}
@@ -45,10 +45,9 @@
\colorlet{error}{red}
\fi
\tikzset{bond/.style args={#1}{
- thick,
decoration={show path construction,
lineto code={
- \draw[#1,shorten <=1pt]
+ \draw[#1,thick]
\pgfextra{% +45 i.s.o. -1 for to left or to under, always
\pgfmathparse{int((\pgfdecoratedangle-1)/90)}
\ifcase\pgfmathresult
@@ -83,12 +82,13 @@
},
bond/.default={}
}
-\tikzset{mbond/.style={bond={double,shorten >=-1pt}}}
+\tikzset{mbond/.style={bond={double,#1}}}
\tikzset{bonds/.style={every edge/.append style={bond}}}
\tikzset{
bondlabel/.style={
font=\small,
- color=\bondgraphs@bondlabelcolour
+ color=\bondgraphs@bondlabelcolour,
+ sloped,
},
effort/.style args={#1}{
edge node={node [bondlabel,above]{#1}}