CTAN update: pgf-spectra

CTAN Announcements ctan-ann at ctan.org
Mon May 17 23:01:42 CEST 2021

Hugo Gomes submitted an update to the



Version number: 2.1.0
License type: lppl1.3

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

Announcement text:

pgf-spectra, version 2.1.0

Major changes:
- the continuous visible region is now drawn via TikZ shading improving a little bit the
speed of the whole process. Minor fix:
- the width of the emission/absortion lines are now correctly drawn.

New commands:
- \tempercolor (correlated color temperature, Kelvin to rgb color)
- \pgfspectrashade (for usage with TikZ package)
- \pgfspectraplotshade (for usage with PGFPLOTS package)
- \pgfspectraplotmap (for usage with PGFPLOTS package)
- \pgfspectrarainbow (draws a rainbow)

New keys for \pgfspectra:
- use visible shading
- backVIS
- axis unit
- axis unit precision

Keys for \pgfspectraplotshade:
- shade end
- shade opacity
- shade opacity color

Keys for \pgfspectrarainbow:
- rainbow fade
- rainbow start
- rainbow knock out
- rainbow background
- rainbow transparency

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