%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Document Specific Abbreviations

% prose abbreviations
\def\DOF{Degree of Freedom}
\def\DSF{Degrees of Freedom}
\def\dof{degree of freedom}
\def\dsf{degrees of freedom}

\def\Ifo{Interferometer}
\def\ifo{interferometer}

% common numbers, vectors and matrices
\def\Nlnk{N_{link}}
\def\Nrf{N_{RF}}
\def\Nfld{N_{field}}
\def\Nopt{N_{optic}}
\def\Nprb{N_{probe}}

\def\vFrf{\vecv{f_{RF}}}
\def\vDC{\vecv{DC}}
\def\vSrc{\vecv{source}}
\def\vLen{\vecv{length}}
\def\vAC{\vecv{AC}}
\def\vSig{\vecv{signal}}
\def\vExc{\vecv{excitation}}

\def\mDC{\matm{DC}}
\def\mAC{\matm{AC}}
\def\mTF{\matm{TF}}
\def\mOpt{\matm{opt}}
\def\mOut{\matm{out}}
\def\mIn{\matm{in}}
\def\mPhi{\matm{\phi}}
\def\mPrb{\matm{prb}}
\def\mDOF{\matm{DOF}}
\def\mRct{\matm{rct}}
\def\mGen{\matm{gen}}
\def\mDrv{\matm{mod}}

\newcommand{\mOptn}[1]{\matm{opt_{#1}}}
\newcommand{\mOutn}[1]{\matm{out_{#1}}}
\newcommand{\mInn}[1]{\matm{in_{#1}}}
\newcommand{\mPhin}[1]{\matm{\phi_{#1}}}
\newcommand{\mPrbn}[1]{\matm{prb_{#1}}}
\newcommand{\mPrbInn}[1]{\matm{pin_{#1}}}
\newcommand{\mDOFn}[1]{\matm{DOF_{#1}}}
\newcommand{\mRctn}[1]{\matm{rct_{#1}}}
\newcommand{\mDrvn}[1]{\matm{drv_{#1}}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% EXAMPLES

% length notation
\newcommand{\Len}[2]{L_{#1:#2}}
\newcommand{\LenFPC}{L}

% field amplitude notation
\newcommand{\FieldFrontOut}[3][]{#2_{#3}^{_{fo}\,#1}}
\newcommand{\FieldFrontIn}[3][]{#2_{#3}^{_{fi}\,#1}}

% power signals
\newcommand{\Pin}{P_{IN}}
\newcommand{\Ptrx}{\ensuremath{P_{TR\{T,R\}}}}
\newcommand{\bPtrx}{\ensuremath{\bar{P}_{TR\{T,R\}}}}

% input matrix and DOFs
\newcommand{\SM}{\mathbf{M}}
\newcommand{\tSM}{\mathbf{\tilde{M}}}
\newcommand{\IM}{\mathbf{G}}

\newcommand{\lp}{PRC}

\newcommand{\dl}{\Delta}
\newcommand{\vdl}{\vec{\dl}}
\newcommand{\dlp}{\dl_{\lp}}

\newcommand{\slp}{S_{err_{\lp}}}

% fields in appendix A
\newcommand{\Ein}{E_{IN}}
\newcommand{\etaMi}{\eta}
\newcommand{\etaM}{{\group{\eta_R + \eta_I}}}
\newcommand{\etaP}{{\group{\eta_R - \eta_I}}}

% misc symbols
\newcommand{\fin}{\mathcal{F}}
\newcommand{\Jmod}[1]{\fun{J_{#1}}{\Gamma_{mod}}}
\newcommand{\wn}{k} 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ENVIRONMENTS

\newenvironment{funcinfo}[1]
  {\vspace{0.1in}
    \begin{tabular}{l}
      \footnotesize \it #1\\
      \hline
      \scriptsize
      \begin{tabular}{ll}}
  {   \end{tabular}
     \end{tabular}
   \vspace{0.1in}}

\newenvironment{funcinfo2}[2]
  {\vspace{0.1in}
    \begin{tabular}{l}
      \footnotesize \it #1\\
      \footnotesize \it #2\\
      \hline
      \scriptsize
      \begin{tabular}{ll}}
  {   \end{tabular}
     \end{tabular}
   \vspace{0.1in}}
