%slide format macros
%abbreviated citations in text
%author, journal, volume (date) pages          (journal)
%author, title, date                           (book)

\Refstda\Rpunct%set general formats for reference list and citations
\def\Volfont{\bf}\def\Titlefont{\sl} %override default definition
\def\LIcitemark#1\RIcitemark{\gdef\Ztest{ }\gdef\Zstr{#1}}
\def\Lcitemark{\def\ztest{ }\def\zstr{, }[\bgroup\def\Comma{}\Citefont}
\def\Rcitemark{\unskip\egroup]}
\def\LAcitemark{\def\ztest{ }\def\zstr{\ [}\bgroup\def\Comma{}\Citefont}
\def\RAcitemark{\unskip\egroup]}
\def\Citehyphen{}\def\Citecomma{}\def\Citebreak{}

\def\journalarticleformat{\Reffont\let\uchyph=1\parindent=1.25pc%
               \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
      \if\Atest\present\Comma\bgroup\Authfont\Astr\egroup\fi%
       \if\ztest\present\zstr\fi%
        \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
         \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
          \if\Vtest\present\if\Jtest\present\hskip.16667em\else\Comma\fi\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
           \if\Dtest\present\hskip.16667em(\bgroup\Dstr\egroup)\def\Comma{, }\fi%
            \if\Ptest\present\bgroup, \Pstr\egroup\def\Comma{, }\fi%
             \if\jtest\present\Comma\bgroup\Tomefont\jstr\/\egroup\def\Comma{, }\fi%
              \if\vtest\present\if\jtest\present\hskip.16667em\else\Comma\fi\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
               \if\dtest\present\hskip.16667em(\bgroup\dstr\egroup)\def\Comma{, }\fi%
                \if\ptest\present\bgroup, \pstr\egroup\def\Comma{, }\fi%
                 \if\Otest\present{\Comma\bgroup\Ostr\egroup}\fi%
                  \if\Ztest\present\bgroup\ignorespaces\Zstr\egroup\gdef\Ztest{}\fi%
                   \gdef\Comma{\unskip; }\gdef\zstr{}}%

\def\conferencereportformat{\Reffont\let\uchyph=1\parindent=1.25pc%
               \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
      \if\Atest\present\Comma\bgroup\Authfont\Astr\egroup\fi%
       \if\ztest\present\zstr\fi%
        \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
         \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
          \if\Dtest\present\hskip.16667em(\bgroup\Dstr\egroup)\def\Comma{, }\fi%
           \if\Otest\present{\Comma\bgroup\Ostr\egroup}\fi%
            \if\Ztest\present\bgroup\ignorespaces\Zstr\egroup\gdef\Ztest{}\fi%
             \gdef\Comma{\unskip; }\gdef\zstr{}}%

\def\bookarticleformat{\Reffont\let\uchyph=1\parindent=1.25pc%
               \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
      \if\Atest\present\Comma\bgroup\Authfont\Astr\egroup\fi%
       \if\ztest\present\zstr\fi%
        \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
         \if\Btest\present\Comma in \bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip, }\fi%
          \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
           \if\Etest\present\Comma\bgroup\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }\fi%
                 \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
                  \if\Ptest\present\Comma\Pstr\def\Comma{, }\fi%
                   \if\Otest\present{\Comma\bgroup\Ostr\egroup}\fi%
                    \if\Ztest\present\bgroup\ignorespaces\Zstr\egroup\gdef\Ztest{}\fi%
                     \gdef\Comma{\unskip; }\gdef\zstr{}}%

\def\bookformat{\Reffont\let\uchyph=1\parindent=1.25pc%
               \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
      \if\Atest\present\Comma\bgroup\Authfont\Astr\egroup%
           \else\if\Etest\present\bgroup\Comma\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi%
                 \else\if\Itest\present\Comma\bgroup\Authfont\Istr\egroup\fi\fi\fi%
        \if\ztest\present\zstr\fi%
         \if\Ttest\present\Comma\bgroup\Tomefont\Tstr\/\egroup\def\Comma{\unskip, }%
               \else\if\Btest\present\Comma\bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip, }\fi\fi%
           \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
            \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
             \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
              \if\ttest\present\Comma\bgroup\Tomefont\tstr\egroup\def\Comma{, }%
                    \else\if\btest\present\Comma\bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi\fi%
                 \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
                  \if\Otest\present{\Comma\bgroup\Ostr\egroup}\fi%
                   \if\Ztest\present\bgroup\ignorespaces\Zstr\egroup\gdef\Ztest{}\fi%
                    \gdef\Comma{\unskip; }\gdef\zstr{}}%

\def\technicalreportformat{\Reffont\let\uchyph=1\parindent=1.25pc%
               \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
      \if\Atest\present\Comma\bgroup\Authfont\Astr\egroup%
           \else\if\Etest\present\bgroup\Comma\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi%
                 \else\if\Itest\present\Comma\bgroup\Authfont\Istr\egroup\fi\fi\fi%
        \if\ztest\present\zstr\fi%
         \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
          \if\Atest\present\if\Itest\present
                  \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
               \else\if\Etest\present\if\Itest\present
                       \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
           \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
            \if\Otest\present{\Comma\bgroup\Ostr\egroup}\fi%
             \if\Ztest\present\bgroup\ignorespaces\Zstr\egroup\gdef\Ztest{}\fi%
              \gdef\Comma{\unskip; }\gdef\zstr{}}%

\def\otherformat{\Reffont\let\uchyph=1\parindent=1.25pc%
               \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
      \if\Atest\present\Comma\bgroup\Authfont\Astr\egroup%
           \else\if\Etest\present\Comma\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi%
                 \else\if\Itest\present\Comma\bgroup\Authfont\Istr\egroup\fi\fi\fi%
        \if\ztest\present\zstr\fi%
         \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
           \if\Atest\present\if\Itest\present
                   \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
                \else\if\Etest\present\if\Itest\present
                        \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
                \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
                 \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
                  \if\Otest\present{\Comma\bgroup\Ostr\egroup}\fi%
                   \if\Ztest\present\bgroup\ignorespaces\Zstr\egroup\gdef\Ztest{}\fi%
                    \gdef\Comma{\unskip; }\gdef\zstr{}}%