CTAN update: pgf-spectra

CTAN Announcements ctan-ann at ctan.org
Wed Apr 26 22:47:24 CEST 2023

Hugo Gomes submitted an update to the



Version number: 3.0.0 2023-04-25
License type: lppl1.3

Summary description: Draw continuous or discrete spectra using PGF/TikZ

Announcement text:

In the \pgfspectra command, syntax for the key 'lines' has been updated:
- it is now possible to specify a continuous range using 'start wavelength to end
wavelength', for instance, 'lines={380 to 500}' or 'lines={380 to 500,633}' or
'lines={633,555,380 to 500}'. New keys for \pgfspectra:
- axis label
- axis label text
- axis label position
Updated key syntax for \pgfspectra:
- lines
New command:
- \usepgfspectralibrary (loads pgf-spectra libraries)
New library 'data' to load spectral lines data, display it in a table or export it to a
file. This library provides the commands:
- \pgfspectradata (loads data)
- \pgfspectratable (displays data in a table)
- \pgfspectrawrite (writes data to a file)
Some commands from previous versions have been moved to new libraries:
- \pgfspectraplotshade and \pgfspectraplotmap moved to new library 'pgfplots'
- \tempercolor moved to new library 'tempercolor'
- \pgfspectrarainbow moved to new library 'rainbow'

This package is located at 

More information is at

CTAN is run entirely by volunteers and supported by TeX user groups

Please join a user group or donate to one, see https://ctan.org/lugs


   Thanks for the upload.

     For the CTAN Team
    Ina Dau


More information about the Ctan-ann mailing list