\documentclass{jarticle}
\usepackage{acromake}

\newcommand{\bs}{\texttt{\symbol{'134}}}
\newcommand{\cmd}[1]{\texttt{\def\{{\char`\{}\def\}{\char`\}}\bs #1}}

\begin{document}

\acromake{ANSA}{\texttt{ANSA}}{another nasty stupid acronym}

\verb|\acromake{ANSA}{\texttt{ANSA}}{another nasty stupid acronym}|

\noindent{}と宣言し、\cmd{ANSA}とタイプすると\ANSA{}と出力される。
単に、\texttt{ANSA}と出力したいときは\verb|\texttt{ANSA}|とタイプする。

\begin{enumerate}
\item  To generate an acronym

\verb|\acromake{ANSA}{\texttt{ANSA}}{another nasty stupid acronym}|

The first argument is the name used in text to implement the acronym.
The second argument is the name printed in the text when the acronym
is used.  The final argument is the full, non-acronymized version.

So, if there was an acronym 

\verb|\acromake{ANSA}{\texttt{ANSA}}{another nasty stupid acronym}|

it could be used as 

\ANSA is a new approach to the use of \ANSA, where \ANSA is ...
 
This would result in

another nasty stupid acronym (\texttt{ANSA}) is a new approach to 
the use of \texttt{ANSA}, where \texttt{ANSA} is ...

\item To use the acronym
here \ANSA whatever {foo}lish use of acronym you wish
This will generate the following:

  Usage number   Resolved text
\begin{enumerate}
\item another nasty stupid acronym (ANSA) 
\item ANSA (page 2) 
\item (and beyond) ANSA
\end{enumerate}

\item The following may be set by the user:
ACRcnta  - count of uses of acronym macro which will be in full form  
   (default is 1)
ACRcntb  - count of uses of acronym macro which will include page of
   acronym def (default is 1 reference, or ACRcntb-ACRcnta)
useACRlb - should the page reference be used - 1-yes, 0-no

 For every acronym, the macro generates the acronym macro and a macro which
 acts like a counter for acronym use.  Since counters are quite rare, it is
 not responsible to use a counter for every acronym - rather, a macro is
 generated which fills this function.  The acronym macro is called \verb|\foo|,
 while the counter macro is called \verb|\fooz|.  Thus, I would avoid calling any
 acronym fooz, as this may be confoozing.
\end{enumerate}


\end{document}
