%% Program Name            : MARGINOTE.STY  (LaTeX document sub-style)
%%   Original Author       : George D. Greenwade (BED_GDG@SHSU.BITNET)
%%                         : Director
%%                         : Center for Business and Economic Research
%%                         : Sam Houston State University
%%                         : Huntsville, TX  77341-2056  (409) 294-1518
%%                         : 
%%   Date                  : 12-SEP-1989 
%%                         : 
%%   Program Description   : Create command \marginote{text} to use marginal
%%                         : notes in a document.  Each marginal note is
%%                         : denoted by the fnsymbol sequence and does not
%%                         : alter any know counters other than those created

\typeout{LaTeX document substyle 'marginote.sty'  September 12, 1989 (GDG)}

\topmargin 0pt                       %% this code from FULLPAGE.STY
\advance \topmargin by -\headheight  %%
\advance \topmargin by -\headsep     %%
     
\textheight 8.9in                    %%
     
\oddsidemargin 0pt                   %%
\evensidemargin \oddsidemargin       %%
\marginparwidth 1.1in                %% changed (+.6in) to allow for notes
     
\textwidth 5.9in                     %% changed (-.6in) to allow for notes
                                     %% end of FULLPAGE.STY
     
\newcounter{marginalnote}
\def\themarginalnote{\fnsymbol{marginalnote}}
\newcount\marginalnotecounter
\marginalnotecounter=0

\def\marginote#1{\ifmmode %% Can't use \marginpar in math mode, thus ...
\typeout{ } 
\typeout{\string \marginote \space error.  Cannot use \string \marginote \space
in math mode. Ignoring text.}
\typeout{ }
\else \ifnum \marginalnotecounter=9 \setcounter{marginalnote}{0} 
\marginalnotecounter= 0 \fi  %% fnsymbol only goes to 9
\stepcounter{marginalnote} \advance\marginalnotecounter 1
{$^{\themarginalnote}$\ \marginpar{\raggedright %% \raggedright just looks
\footnotesize $\themarginalnote.$\ #1}}         %% better in such a small space
\fi}

