Comprehensive TeX Archive Network

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

   Experimental LaTeX3 High-Level Concepts



The files in this distribution represent a snapshot of selected files
from the Subversion (SVN) repository of the LaTeX3 Project.

To obtain current versions of the files, visit
<http://www.latex-project.org/code.html> which contains further


The l3experimental packages are a collection of experimental implementations
for aspects of the LaTeX3 kernel, dealing with higher-level ideas such as the
Designer Interface. Some of them work as stand alone packages, providing new
functionality, and can be used on top of LaTeX2e with no changes to the
existing kernel. Others go further, and redefine LaTeX2e internals to provide
better methods for managing certain constructs. The packages in the collection
are under active development and the interfaces may change.

Currently included in the CTAN release of l3experimental are the following
 * l3sort
 * l3str
 * xcoffins
 * xgalley


Ordered variables content (in tl, clist or seq variables) may be sorted
in a flexible manner using the l3sort module. The definition of how to sort
two items is provided by the programmer at the point at which the sort is
carried out. Internally, the sorting algorithm is designed to take advantage
of TeX token registers to allow a high performance and scalable sort.


A 'string' in TeX terms is a token list in which all of the tokens have
category code 12 ('other'), with the exception of spaces which have the
category code 10 ('space'). The l3str bundle consists of two parts. The
first is l3str itself. This is a collection of functions to act on strings,
including for manipulations such as UTF8 mappings in pdfTeX. The second
part of the bundle is l3regex, a regular expression search-and-replace
implementation written in TeX primitives. The regex module works on a string
basis, ignoring category codes.


A _coffin_ is a 'box with handles': a data structure which comprises
both a TeX box and associated information to allow controlled typesetting.
The xcoffins package provides a high-level interface for manipulating
coffins. This is supported by the lower-level l3coffins package, which
provides the data structure.


In LaTeX3 terminology a galley is a rectangular area which receives
text and other material filling it from top. The vertically extend of
a galley is normally not restricted: instead certain chunks are taken
off the top of an already partially filled galley to form columns or
similar areas on a page. This process is typically asynchronous but
there are ways to control or change its behaviour. The xgalley module
provides a mechanism for filling galleys and controlling the spacing,
hyphenation and justification within them.


Discussion concerning the approach, suggestions for improvements,
changes, additions, etc. should be addressed to the list LaTeX-L.

You can subscribe to this list by sending mail to


with the body containing

  subscribe LATEX-L  <Your-First-Name> <Your-Second-Name>


The issue tracker for LaTeX3 bugs is currently located at


Please report specific issues with LaTeX3 code there. More general
discussion should be directed to the LaTeX-L lists.

--- Copyright 1998 -- 2011
    The LaTeX3 Project.  All rights reserved ---


Name Size Date Notes
README 3524 2015-07-28 21:23
l3flag.dtx 9906 2015-07-28 21:23
l3flag.pdf 320506 2015-07-28 21:23
l3­gal­ley.dtx 95132 2015-07-28 21:23
l3­gal­ley.pdf 398741 2015-07-28 21:23
l3regex.dtx 231609 2015-07-28 21:23 Reg­u­lar ex­pres­sion fa­cil­i­ties for LaTeX
l3regex.pdf 457619 2015-07-28 21:23
l3­sort.dtx 35260 2015-07-28 21:22
l3­sort.ins 917 2015-07-28 21:22
l3­sort.pdf 377597 2015-07-28 21:22
l3str-con­vert.dtx 117840 2015-07-28 21:23
l3str-con­vert.pdf 449540 2015-07-28 21:23
l3str-expl.dtx 35232 2015-07-28 21:23
l3str-expl.pdf 417127 2015-07-28 21:23
l3str-for­mat.dtx 30313 2015-07-28 21:23
l3str-for­mat.pdf 380153 2015-07-28 21:23
l3str.ins 3078 2015-07-28 21:23
l3tl-anal­y­sis.dtx 39430 2015-07-28 21:23
l3tl-anal­y­sis.pdf 353293 2015-07-28 21:23
l3tl-build.dtx 10877 2015-07-28 21:23
l3tl-build.pdf 385531 2015-07-28 21:23
xcoffins.dtx 36025 2015-07-28 21:23
xcoffins.ins 928 2015-07-28 21:23
xcoffins.pdf 397005 2015-07-28 21:23
xgal­ley.dtx 59302 2015-07-28 21:23 Con­trol text feed­ing onto the page
xgal­ley.ins 988 2015-07-28 21:23
xgal­ley.pdf 291807 2015-07-28 21:23

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

l3­ex­per­i­men­tal – Ex­per­i­men­tal LaTeX3 con­cepts

The l3­ex­per­i­men­tal pack­ages are a col­lec­tion of ex­per­i­men­tal im­ple­men­ta­tions for as­pects of the LaTeX3 ker­nel, deal­ing with higher-level ideas such as the De­signer In­ter­face. Some of them work as stand alone pack­ages, pro­vid­ing new func­tion­al­ity, and can be used on top of LaTeX2ε with no changes to the ex­ist­ing ker­nel.

The present re­lease in­cludes:

  • xgal­ley, which con­trols boxes re­ceiv­ing text for type­set­ting.
  • l3regex: ker­nel sup­port for reg­u­lar ex­pres­sion search and re­place op­er­a­tions;
  • l3­sort: ker­nel sup­port for sort­ing se­quences, to­ken lists or comma-lists, ac­cord­ing to user-spec­i­fied com­par­i­son cri­te­ria;
  • l3str: ker­nel sup­port for string ma­nip­u­la­tion;
  • l3tl-build: ker­nel sup­port for to­ken list build­ing;
  • l3tl_anal­y­sis: ker­nel sup­port for to­ken list anal­y­sis; and xcoffins, which al­lows the align­ment of boxes us­ing a se­ries of ‘han­dle’ po­si­tions, sup­ple­ment­ing the sim­ple TeX ref­er­ence point.
All the files of the bun­dle are also avail­able in the Sub­ver­sion (SVN) repos­i­tory of the LaTeX3 Project.

The bun­dle on CTAN is based on a snap­shot of the SVN repos­i­tory on 2013-10-11.

Pack­age De­tailsl3­ex­per­i­men­tal
Home pagehttp://www.la­tex-project.org/code.html
Ver­sionSVN 5700
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2012–2015 The LaTeX3 Project
Main­tainerThe LaTeX Team
TDS archivel3experimental.tds.zip
Con­tained inTeX Live as l3­ex­per­i­men­tal
MiKTeX as l3­ex­per­i­men­tal
Topics work done for the project to up­grade LaTeX
sup­port for de­vel­op­ment of (La)TeX macros
de­vel­op­ing ver­sion of new soft­ware
lay­out of ob­jects on the page
See also l3packages
Guest Book Sitemap Contact Contact Author