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>
Download the contents of this package in one zip archive (2.2M).
emarks – Named mark registers with e-TeX
E-TeX provides 32 768 mark registers; using this facility is far more comfortable than LaTeX tricks with \markright, \markboth, \leftmark and \rightmark.
The package provides two commands for marking: \marksthe and \marksthecs, which have * forms which disable expansion; new mark registers are allocated as needed. Syntax is closely modelled on the \marks primitive.
Four commands are provided for retrieving the marks registers’ content: \thefirstmarks, \thebotmarks, thetopmarks and \getthemarks; and the command \ifmarksequal is available for comparing the content of marks registers.
The package requires an e-TeX-enabled engine, and the etex package.
|Licenses||The LaTeX Project Public License 1.3|
|Copyright||2011 Florent Chervet|
|Contained in||TeX Live as emarks|
MiKTeX as emarks