\ProvidesPackage{textmarkup}

\RequirePackage[normalem]{ulem} 
   % \dotuline{dotty} \dashuline{dashy} % may need \protect
   % \uline{thing} \uuline{thing}

\newcommand\oldinfo\dotuline
\newcommand\newinfo\uline
\newcommand\subject\uline
\newcommand\mainverb\uuline



\newcounter{m@rkparagraph}
\newcounter{m@rksentence}[m@rkparagraph]

\newcommand\@snumberprefix{}
\newcommand\snumberprefix[1]{\def\@snumberprefix{#1}}

\newif\if@firstsentence
\@firstsentencetrue

\def\m@rkmargin#1{\leavevmode\unskip\raisebox{-3.5pt}
    %%                  {\rlap{$\scriptstyle\diamond$}}%
                      {\rlap{$\mskip5mu\cdot$}}%
        \marginpar{\noindent \hbox to 0pt {\hss \vbox{\raggedright\hbadness=10000
        \def\baselinestretch{0.8}\footnotesize
        \it #1}%
            %\hspace*{\textwidth}
            %\hspace*{-0.3in}
         }}}

\def\m@rkmargin#1{\leavevmode\unskip\smash{\raisebox{-5.5pt}
             %        {\rlap{$\scriptstyle\diamond$}}%
                     {\rlap{$\cdot$}}}%
        \vadjust{\smash{\llap{\raisebox{2pt}{\footnotesize#1\hskip 0.5em}}}}}

\newcommand\markpara[1][Paragraph \Alph{m@rkparagraph}]{%
  \stepcounter{m@rkparagraph}%
  \@firstsentencetrue
  \@ifstar\@gobble\m@rkparaheader{#1}}
\newcommand\m@rkparaheader[1]{%
  \subsubsection*{#1}}

\def\s{%
  \leavevmode
  \mbox{}%
  \stepcounter{m@rksentence}%
  \m@rkmargin{\textrm{\textsc{\@snumberprefix\arabic{m@rksentence}}}}%
  \if@firstsentence\@firstsentencefalse\else\hspace*{0pt}\fi}

\newenvironment{enumeratea}
               {\begin{enumerate}\renewcommand\labelenumi{(\@alph\c@enumi)}}
               {\end{enumerate}}

\newenvironment{enumeratep}[1]
               {\begin{enumerate}%
                   \renewcommand\theenumi{#1\@arabic\c@enumi}%
                   \renewcommand\labelenumii{#1\@arabic\c@enumii.}%
               }
               {\end{enumerate}}
