Changeset 150 for anr/anr.sty


Ignore:
Timestamp:
Feb 15, 2010, 7:36:54 AM (15 years ago)
Author:
coach
Message:

IA: added letter of interest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anr/anr.sty

    r123 r150  
    2020\def\@novers#1-#2\eoa{#1}
    2121\def\novers#1{\ifx\relax#1\def\next{{\color{red}FIXME}}\else\def\next{\expandafter\@novers#1\eoa}\fi\next}
     22
     23%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     24\newcount\supportercnt\supportercnt=1
     25\newwrite\supporter
     26\immediate\openout\supporter=anr-supporter.tex
     27\def\letterOfInterest#1#2{{
     28  \let\subsection\relax
     29  \let\label\relax
     30  \let\begin\relax
     31  \let\end\relax
     32  \let\includegraphics\relax
     33  \let\linewidth\relax
     34  \let\newpage\relax
     35  \immediate\write\supporter{%
     36    \subsection{#1} \label{supp:\the\supportercnt}}
     37  \immediate\write\supporter{%
     38    \begin{center}\includegraphics[width=0.9\linewidth]{#2}\end{center}}
     39    \newpage
     40  }
     41  #1 (page \pageref{supp:\the\supportercnt})
     42  \advance\supportercnt1
     43}
     44
     45\def\letterOfInterestNb{?}
     46\def\letterOfInterestClose{
     47  \immediate\closeout\supporter
     48  \immediate\write\@auxout{%
     49    \string\gdef\string\letterOfInterestNb{\the\supportercnt}
     50  }
     51}
     52
    2253
    2354%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note: See TracChangeset for help on using the changeset viewer.