CTAN update: l3kernel

CTAN Announcements ctan-ann at ctan.org
Thu Feb 22 22:43:09 CET 2018


The LaTeX Team  submitted an update to the

                l3kernel

package.

Version number: 2018-02-21
License type: lppl1.3c

Summary description: LaTeX3 programming conventions

Announcement text:
----------------------------------------------------------------------
# Release 2017-02-21

This release features two new *experimental* modules, l3color
and l3draw, along with a small number of features to support
this new material

## l3color

This new *experimental* code provides basic user interfaces for
setting the color of material in documents. The input form is
based on that in the popular xcolor package, for example

    \color_select:n { red!30!blue }

Some features for supporting spot colors are also included:
this area is particularly complex and feedback on all aspects is
very welcome.

## l3draw

This new module provides a code-level approach to creating
graphical material. The approach take is *heavily* inspired
by the pgf package: the vast majority of interfaces are
compatible with the equivalent \pgf... commands.

At present, the coverage of l3draw is significantly smaller than
that in pgf, but at the same time it is now capable of creating
basic graphics. Supported concepts are

- Calculation of points
- Path construction, including a variety of geometric shapes
- Path insertion with stroking, filling and clipping
- Color (fill/stroke/both) - see also l3color

All mathematical operations are carried out by the LaTeX3 FPU,
rather than using dimensions. As such, the accuracy and range
of the values is significantly extended compared with pgf. Point
calculations are also expandable, with the *internal* handling
of this area very different from pgf.

The team anticipate covering the bulk of pgf-like functionality
over coming months.

## Additions to expl3

The FPU now supports tuples, for example

    \fp_eval:n { (1,2) + (3, 4) }
    \fp_eval:n { sqrt(2) * (1,1) }

to allow work with co-ordinate pairs.

Step functions have been added for dim variables, e.g.
\dim_step_inline:nnnn.

----------------------------------------------------------------------

This package is located at 
   http://mirror.ctan.org/macros/latex/contrib/l3kernel

More information is at
   http://www.ctan.org/pkg/l3kernel

We are supported by the TeX User Groups.
Please join a users group; see http://www.tug.org/usergroups.html .

------------------------------------------------------------------------

   Thanks for the upload.

     For the CTAN Team
    Ina Dau




More information about the Ctan-ann mailing list