Experimental LaTeX3 Concepts
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 LaTeX2ε with no changes to the existing kernel. Others go further, and redefine LaTeX2ε internals to provide better methods for managing certain constructs. The packages in the collection are under active development and the interfaces may change.
All of the material in the collection requires the LaTeX3 base layer package
l3kernel. The two packages must be installed in matching versions: if you update
l3experimental, make sure that
l3kernel is updated at the same time.
Currently included in the CTAN release of l3experimental are the following bundles:
This module provides support for benchmarking the performance of code.
This module provides support for saving and restoring category codes en masse in a table. This is supported for the 8-bit range for all engines, and for the entire Unicode range with LuaTeX.
This module provides support for setting colors using a range of color models. It also allows the construction of 'color expressions', in which multiple colors are mixed together at the macro level. There is also support for spot colors: the latter is highly experimental.
This module provides a code-level interface for constructing drawings. The interfaces are heavily inspired by the
pgf layer of the widely-used TikZ system.
This module provides interfaces for the inclusion of graphics files in documents, similar to the
This module provides support for core PDF concepts such compression, objects, PDF version and so on.
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
l3strf-format module provides methods for formatting such strings.
This module provides abstractions for common shell functions, e.g. file deletion and copying.
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 is currently located on GitHub.
Please report specific issues with LaTeX3 code there; more general discussion should be directed to the LaTeX-L list.
The LaTeX3 Project
Development of LaTeX3 is carried out by The LaTeX3 Project.
The development team can be contacted by e-mail: <email@example.com>; for general LaTeX3 discussion the LaTeX-L list should be used.
Copyright (C) 1998-2011,2015-2019 The LaTeX3 Project
All rights reserved.
Download the contents of this package in one zip archive (4.7M).
l3experimental – Experimental LaTeX3 concepts
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 LaTeX2ε with no changes to the existing kernel.
The present release includes:
- l3benchmark for measuring the time taken by TeX to run certain code;
- l3cctab, support for saving and restoring category codes en masse in a table;
- l3color, support for setting colors using a range of color models;
- l3draw, a code-level interface for constructing drawings;
- l3graphics, an interfaces for the inclusion of graphics files;
- l3pdf, support for core PDF concepts like compression, objects, PDF version and so on;
- l3str, support for string manipulation;
- l3sys-shell, which provides abstractions for common shell functions like file deletion and copying;
- xcoffins, which allows the alignment of boxes using a series of ‘handle’ positions, supplementing the simple TeX reference point;
- xgalley, which controls boxes receiving text for typesetting.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||1998–2011, 2015–2019 The LaTeX3 Project|
|Maintainer||The LaTeX Team|
|Contained in||TeX Live as l3experimental|
MiKTeX as l3experimental