Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/emarks

Package  emarks   --   e-TeX named marks registers (FC)

emarks is a small package to make possible the use of named
marks registers with eTeX rather than numbered ones.

eTeX provides 32 768 marks registers making the use of them
far more comfortable than LaTeX tricks with
    \markright  \markboth \leftmark and \rightmark.

The package provides two commands for marking:

              \marksthe        and        \marksthecs

with star form to disable expansion.
New marks registers are dynamically allocated as needed.
The syntax clearly sticks to the \marks primitive.

And four commands to get the marks registers content:

         \thefirstmarks    \thebotmarks   \thetopmarks

   and:  \getthemarks

+ a facility to compare marks registers:    \ifmarksequal

emarks requires eTeX (the program ;-)) etex (the package)
                      and nothing else.

Copyright (C) 2011 by FC <florent.chervet @t free.fr>

Down­load the con­tents of this pack­age in one zip archive (2.2M).

emarks – Named mark reg­is­ters with e-

E- pro­vides 32 768 mark reg­is­ters; us­ing this fa­cil­ity is far more com­fort­able than tricks with \markright, \mark­both, \left­mark and \right­mark.

The pack­age pro­vides two com­mands for mark­ing: \mark­s­the and \mark­s­thecs, which have * forms which dis­able ex­pan­sion; new mark reg­is­ters are al­lo­cated as needed. Syn­tax is closely mod­elled on the \marks prim­i­tive.

Four com­mands are pro­vided for re­triev­ing the marks reg­is­ters’ con­tent: \the­first­marks, \the­bot­marks, thetop­marks and \get­the­marks; and the com­mand \if­mark­se­qual is avail­able for com­par­ing the con­tent of marks reg­is­ters.

The pack­age re­quires an e--en­abled en­gine, and the etex pack­age.

Li­cense The Project Public Li­cense 1.3
Copy­right2011 Florent Chervet
Main­tainerFlorent Chervet
Con­tained inTeX Live as emarks
MiKTeX as emarks
Topics sup­port for vari­a­tions of ty­po­graphic style
Guest Book Sitemap Contact Contact Author