summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bondgraphs/bondgraphs.sty')
-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}}