LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
text/plain; charset=utf-8; format=flowed
Thu, 22 Feb 2018 21:45:21 +0000
Mailing list for the LaTeX3 project <[log in to unmask]>
Mailing list for the LaTeX3 project <[log in to unmask]>
Joseph Wright <[log in to unmask]>
text/plain (53 lines)
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.