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 2014-04-23 10:01
l3flag.dtx 9906 2015-06-15 09:49
l3flag.pdf 320425 2015-06-19 12:52
l3­gal­ley.dtx 94927 2015-06-15 09:49
l3­gal­ley.pdf 398656 2015-06-19 12:58
l3regex.dtx 231609 2015-06-15 09:49 Reg­u­lar ex­pres­sion fa­cil­i­ties for LaTeX
l3regex.pdf 457545 2015-06-19 12:52
l3­sort.dtx 35260 2015-06-15 09:49
l3­sort.ins 917 2013-07-26 09:40
l3­sort.pdf 377513 2015-06-19 12:49
l3str-con­vert.dtx 117834 2014-06-05 08:23
l3str-con­vert.pdf 449639 2015-06-19 12:52
l3str-expl.dtx 35232 2015-06-15 09:49
l3str-expl.pdf 417047 2015-06-19 12:52
l3str-for­mat.dtx 30313 2014-05-06 11:53
l3str-for­mat.pdf 380160 2015-06-19 12:53
l3str.ins 3078 2014-06-16 13:58
l3tl-anal­y­sis.dtx 39430 2014-05-06 11:53
l3tl-anal­y­sis.pdf 353300 2015-06-19 12:53
l3tl-build.dtx 10877 2015-06-15 09:49
l3tl-build.pdf 385505 2015-06-19 12:53
xcoffins.dtx 36025 2014-05-06 11:53
xcoffins.ins 928 2013-07-26 09:40
xcoffins.pdf 397010 2015-06-19 12:56
xgal­ley.dtx 59302 2014-08-26 09:06 Con­trol text feed­ing onto the page
xgal­ley.ins 988 2013-07-26 09:40
xgal­ley.pdf 291817 2015-06-19 12:58

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 5630
Li­censeThe LaTeX Project Public Li­cense 1.3
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 de­vel­op­ing ver­sion of new soft­ware
sup­port for de­vel­op­ment of (La)TeX macros
work done for the project to up­grade LaTeX
lay­out of ob­jects on the page
See also l3kernel
Guest Book Sitemap Contact Contact Author