Comprehensive TeX Archive Network

Direc­tory tex-archive/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>


Name Size Date Notes
Finger­print.jpg 183970 2011-03-26 15:44
README 926 2011-03-26 16:40
emarks-fin­ger­print.png 773524 2011-03-26 15:45
emarks.dtx 26303 2011-11-01 14:47
emarks.ins 3064 2011-11-01 14:45
emarks.pdf 1452232 2011-11-01 14:47

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

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

E-TeX pro­vides 32 768 mark reg­is­ters; us­ing this fa­cil­ity is far more com­fort­able than LaTeX 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-TeX-en­abled en­gine, and the etex pack­age.

Pack­age De­tailsemarks
Li­censeThe LaTeX Project Public Li­cense 1.3
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