ADDED mttroot/mtt/lib/latex/bg.sty Index: mttroot/mtt/lib/latex/bg.sty ================================================================== --- /dev/null +++ mttroot/mtt/lib/latex/bg.sty @@ -0,0 +1,35 @@ +%% Bond Graph commands +\newcommand{\B}[1]{\text{\sffamily\textbf{#1}}} +\newcommand{\AmpE}{\B{AE }} +\newcommand{\AF}{\B{AF }} +\newcommand{\C}{\B{C }} +\newcommand{\CSW}{\B{CSW }} +\newcommand{\De}{\B{De }} +\newcommand{\Df}{\B{Df }} +\newcommand{\I}{\B{I }} +\newcommand{\INTF}{\B{INTF }} +\newcommand{\ISW}{\B{ISW }} +\newcommand{\R}{\B{R }} +\newcommand{\Se}{\B{Se }} +\newcommand{\Sf}{\B{Sf }} +\newcommand{\Ss}{\B{SS }} +\newcommand{\one}{\B{1 }} +\newcommand{\zero}{\B{0 }} +\newcommand{\TF}{\B{TF }} +\newcommand{\GY}{\B{GY }} + +%% Bond Graph components with label +\newcommand{\BB}[2]{$\B{#1}$:$\mathbf{#2}$} %Generic + +\newcommand{\BC}[1]{\BB{C}{#1}} +\newcommand{\BI}[1]{\BB{I}{#1}} +\newcommand{\BR}[1]{\BB{R}{#1}} + +\newcommand{\BSS}[1]{\BB{SS}{#1}} +\newcommand{\BSe}[1]{\BB{Se}{#1}} +\newcommand{\BSf}[1]{\BB{Sf}{#1}} +\newcommand{\BDe}[1]{\BB{De}{#1}} +\newcommand{\BDf}[1]{\BB{Df}{#1}} + +\newcommand{\BTF}[1]{\BB{TF}{#1}} +\newcommand{\BGY}[1]{\BB{TF}{#1}}