Comprehensive TeX Archive Network

Direc­tory tex-archive/macros/latex/contrib/interfaces

Interfaces  provides  a small number of macros  to modify the settings
^^^^^^^^^^ of a large number of parameters provided by Most Frequently
  Used Packages (MFUP!) for typesetting beautiful documents with LaTeX.

The macros shares a standardized syntax of the form key=value. The key
names are intuitive:  font, top, bottom,  left, right,  bookmark, bold,
italic, color, twocolumns, title, pagestyle, before, after, indent etc.

Interfaces  DOES  NOT  provide  any new feature,  except  \repeatcell,
\rowfont, and \bookmarksetup (as long as the bookmark package does not
`steal' them to interfaces...  what whould be considered as a favour!)

A  few  macros  are  modified.   The  complete  list  is  included  in
interfaces.pdf, with explainations.

          *           *            *             *
Interfaces  is organised in different modules  which are  loaded after
the master package is loaded. Each module can be loaded separately.

Commands provided: (each in a distinct module) -----------------------

\sectionformat: interface  for package  titlesec  to modify the titles
           produced by the sectionning commands (and their bookmarks).
           replaces  \titleformat,  \titlespacing and \titleclass  and
           is compatible with them.

\pagesetup: interface for package fancyhdr  to modify the current page
            style or create new page styles.  Replaces \fancypagestyle
            \fancyhf, \fancyhfoffset, \renewcommand\headrulewidth etc.

\tocsetup: interface  for package tocloft  to fine tune  the aspect of
   the table of contents, list of figures / of tables.  \tocsetup also
    applies to  \shorttableofcontents provided by the shorttoc package.
    Facility to make  multi-columns  table(s) of contents  is included,
    give a label for the table of contents/of figures/of tables...
    give them a bookmark. Replaces a lot of tocloft' control sequences.

\repeatcell: to  create   `dynamic'  tabulars,  possibly with  formulas
    computation:  \numexpr,  \pgfmathparse or  \FPeval  formulas can be
    plugged in the tabular or array, with the possibility to transpose.

+ some macros to make easier the use of e-TeX \marks registers (useful
                                   with \sectionformat and \pagesetup).

\trunctext and \htruncadjust are provided in order to take advantage of
                          the code provided by the package truncate.sty

Interfaces  is mainly based on  scrlfile.sty  ( provided  in the  Koma-
   Script bundle, but Koma-Script classes are not required), on pgfkeys
   and etoolbox.

Interfaces  defines some  pgfkeys  handlers designed specially  to make
key-value  interfaces for other packages.  Using those  handlers permit
the design  of an interface  in a few minutes... (well,  good knowledge
of pgfkeys is required ;-)

. \bookmarksetup is also enhanced with starred keys.

. Facility to load TikZ libraries and pgf modules is provided via \usetikz.

. \pgfkeys is enhanced with a new ``default'' value in case the value is blank.

. scrlfile's \AfterFile and \BeforeFile have starred forms.
(c) lppl 2010 FC.


Name Size Date Notes
README 3251 2010-11-14 13:32
in­ter­faces.dtx 365140 2011-02-19 13:48
in­ter­faces.ins 5201 2011-02-19 13:51
in­ter­faces.pdf 1303605 2011-02-19 13:48

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

in­ter­faces – Set pa­ram­e­ters for other pack­ages, con­ve­niently

The pack­age pro­vides a small num­ber of con­ve­nient macros that ac­cess fea­tures in other fre­quently-used pack­ages, or pro­vide in­ter­faces to other use­ful fa­cil­i­ties such as the pdfTeX \pdfe­lapsed­time prim­i­tive. Most of these macros use pgfkeys to pro­vide a key-value syn­tax. The pack­age also uses the pack­age scrl­file from the Koma-Script bun­dle (for con­trolled load­ing of other files) and etool­box.

The pack­age is bun­dled with sub-pack­ages con­tain­ing ac­tual in­ter­faces: by de­fault, the pack­age loads all avail­able sub-pack­ages, but tech­niques are pro­vided for the user to se­lect no more than the in­ter­faces needed for a job.

Pack­age De­tailsin­ter­faces
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerFlorent Chervet
Con­tained inTeX Live as in­ter­faces
MiKTeX as in­ter­faces
Topics sup­port for other pack­ages
Guest Book Sitemap Contact Contact Author