summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/fenixpar/README
blob: 373240b7c47e2bdec3ddd50e06805dc868304e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
There are two files in this directory, appart from this README:

fenixtok.sty: LPPL 1.3,   v. 0.9
fenixpar.sty: Public domain

The packages work with both LaTeX and e-plain.
fenixpar is just an interface applied to \everypar of the
general package fenixtok. More information is provided in the
files themselves.


About the package:
-----------------
>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..