%
% The following is an example of how to do conditional compilation
% in Tex and LaTeX.  See the corresponding definitions of \MxIsPS,
% \MxIsPDF, and \MxIsHTML in the mx_output_*.tex files for the
% rest of the trick.
%
%\ifx\MxIsPS\undefined
%  \ifx\MxIsPDF\undefined
%    \ifx\MxIsHTML\undefined
%      NONE OF THE ABOVE!
%    \else
%      HTML!
%    \fi
%  \else
%    PDF!
%  \fi
%\else
%  Postscript!
%\fi

% Define headers for the record field table definitions.

\def\MxTextFieldName{\textbf{Field Name}}

%\def\MxTextFieldType{\textbf{Field Type}}

\def\MxTextFieldType{
  \ifx\MxIsHTML\undefined       % Not HTML
    \begin{minipage}[c][1.5\totalheight]{8mm}
    \textbf{Field Type}
    \end{minipage}
  \else
     \textbf{Field\HCode{<br>}Type}
  \fi
}

\def\MxTextNumDimensions{
  \ifx\MxIsHTML\undefined	% Not HTML
    \begin{minipage}[c][1.5\totalheight]{18mm}
    \textbf{Number of Dimensions}
    \end{minipage}
  \else				% HTML
    \textbf{Number of\HCode{<br>}Dimensions}
  \fi
}

\def\MxTextSizes{\textbf{Sizes}}

\def\MxTextDescription{\textbf{Description}}

% Used in the motor record field definitions

\def\MxMotorStepperVsAnalog{
  \ifx\MxIsHTML\undefined	% Not HTML
    \begin{minipage}[c][1.5\totalheight]{25mm}
    long \textit{for stepper}, double \textit{for analog}
    \end{minipage}
  \else				% HTML
    long \textit{for stepper},\HCode{<br>}double \textit{for analog}
  \fi
}
