CTAN has a new package: fenixpar

CTAN Announcements ftpmaint at alan.smcvt.edu
Mon Apr 23 00:34:24 CEST 2007


A new package has been installed at tug.ctan.org and should soon be at
your favorite mirror


Thanks again,
Jim Hefferon
Saint Michael's College

.......................................................................

The following information was provided by our fellow contributor:

Name of contribution: fenixpar
Author's name: Javier A. M\'ugica
Location on CTAN: /macros/generic/fenixpar
Summary description: New package for dealing with everypar and in 
  general with token registers that need to restore themselves
License type: lppl

Announcement text: 
----------------------------------------------------------------------
>From fenixtok.sty:

% This file provides a few user macros to add material to a token 
register (typically \everypar)
% to be automatically removed when the token list is executed or 
later on request,
% without interfering with existing material in that register.

Material can be added either to the left or to the right, but care is
taken not to override any redefinition that may be included in
the token register itself. The program also takes some precautions
is case the register is redefined elsewhere destroying the existing 
material.

The package works with latex as well as e-plain (not plain, I use 
\ifcsname at one point).

The package fenixpar simply gives new names to some macros and 
automatically
provides the argument {everypar} to the fenixtok macros when necesary.

>From fenixpar.sty:
% Next is an example:
% \NewParType{asterisk}{\hbox to0pt{\hss$\ast$\kern6pt}}
%
%	\NextPar{asterisk} This par will get an asterisk.\par
%	But this will not.
%
% \AllPars{asterisk} This par will get an asterisk.\par
% And this one.\par
% And all these.\par
% ...
% \EndPars{asterisk}
%
% To directly add code to the next par,
%	\nextpar{\hbox to0pt{\kern-2em \romannumeral\mycounter.\hss}}

>From fenixtok.sty again:

% The commands \All... and \End... can be mixed in any order; in 
particular, they don't need
% to be nested. They may also be mixed in any way with respect to 
\Next.. or \fornext..

----------------------------------------------------------------------

This package is located at 
   http://tug.ctan.org/tex-archive/macros/generic/fenixpar
.  More information is at
   http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fenixpar
(if the package is new it may take a day for that information to 
appear).  We are supported by the TeX Users Group http://www.tug.org .  
Please join a users group; see http://www.tug.org/usergroups.html .



More information about the Ctan-ann mailing list