CTAN Comprehensive TeX Archive Network

CTAN up­date: l3k­er­nel

Date: Fe­bru­ary 22, 2018 9:43:09 PM CET
The LaTeX Team sub­mit­ted an up­date to the l3k­er­nel pack­age. Ver­sion num­ber: 2018-02-21 Li­cense type: lp­pl1.3c Sum­mary de­scrip­tion: LaTeX3 pro­gram­ming con­ven­tions An­nounce­ment text:
# Re­lease 2017-02-21 This re­lease fea­tures two new *ex­per­i­men­tal* mod­ules, l3­color and l3­draw, along with a small num­ber of fea­tures to sup­port this new ma­te­rial ## l3­color This new *ex­per­i­men­tal* code pro­vides ba­sic user in­ter­faces for set­ting the color of ma­te­rial in doc­u­ments. The in­put form is based on that in the pop­u­lar xcolor pack­age, for ex­am­ple \color_se­lect:n { red!30!blue } Some fea­tures for sup­port­ing spot col­ors are also in­cluded: this area is par­tic­u­larly com­plex and feed­back on all as­pects is very wel­come. ## l3­draw This new mod­ule pro­vides a code-level ap­proach to cre­at­ing graph­i­cal ma­te­rial. The ap­proach take is *heav­ily* in­spired by the pgf pack­age: the vast ma­jor­ity of in­ter­faces are com­pat­i­ble with the equiv­a­lent \pgf... com­mands. At present, the cov­er­age of l3­draw is sig­nif­i­cantly smaller than that in pgf, but at the same time it is now ca­pa­ble of cre­at­ing ba­sic graph­ics. Sup­ported con­cepts are - Cal­cu­la­tion of points - Path con­struc­tion, in­clud­ing a va­ri­ety of ge­o­met­ric shapes - Path in­ser­tion with stroking, fill­ing and clip­ping - Color (fill/stroke/both) - see also l3­color All math­e­mat­i­cal op­er­a­tions are car­ried out by the LaTeX3 FPU, rather than us­ing di­men­sions. As such, the ac­cu­racy and range of the val­ues is sig­nif­i­cantly ex­tended com­pared with pgf. Point cal­cu­la­tions are also ex­pand­able, with the *in­ter­nal* han­dling of this area very dif­fer­ent from pgf. The team an­tic­i­pate cov­er­ing the bulk of pgf-like func­tion­al­ity over com­ing months. ## Ad­di­tions to ex­pl3 The FPU now sup­ports tu­ples, for ex­am­ple \fp_eval:n { (1,2) + (3, 4) } \fp_eval:n { sqrt(2) * (1,1) } to al­low work with co-or­di­nate pairs. Step func­tions have been added for dim vari­ables, e.g. \dim_step_in­line:nnnn.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/l3k­er­nel More in­for­ma­tion is at http://www.ctan.org/pkg/l3k­er­nel We are sup­ported by the TeX User Groups. Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Ina Dau

l3k­er­nel – 3 pro­gram­ming con­ven­tions

The l3k­er­nel bun­dle pro­vides an im­ple­men­ta­tion of the 3 pro­gram­mers’ in­ter­face, as a set of pack­ages that run un­der . The in­ter­face pro­vides the foun­da­tion on which the 3 ker­nel and other fu­ture code are built: it is an API for pro­gram­mers. The pack­ages are set up so that the 3 con­ven­tions can be used with reg­u­lar pack­ages.

Ver­sion 2019-07-01
Copy­right1990–2019 The Project
Main­tainerThe Team



Guest Book Sitemap Contact Contact Author