CTAN update: pgf-spectra
Removed lines data outside the range 10nm - 4000nm (H, He, Be, C, Si, Kr, Sn, I) in LSE data file, which generate a package warning, e.g. «Package pgf-spectra Warning: invalid wavelength (4051.1602nm). The wavelength must be lesser or equal to 4000nm (NIR)... on input line 27». Fixed chemical symbol label width producing incorrect alignment on consecutive lines for the spectrum of some elements, e.g. ------------------------------------------------------- \pgfspectraStyle[axis,begin=400,end=700,axis step=20,axis ticks=9,axis color=lightgray, axis font color=black,label,width=.88\textwidth,height=0.7cm] \noindent\pgfspectra[element=Cl] \noindent\pgfspectra[element=Rn] -----
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pgf-spectra The package’s files themselves can be inspected at https://mirrors.ctan.org/graphics/pgf/contrib/pgf-spectra/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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
pgf-spectra – Draw continuous or discrete spectra using PGF/TikZ
The purpose of this package is to draw the spectrum of elements in a simple way. It relies on PGF/TikZ to draw the desired spectrum, continuous or discrete.
Data for the spectra of 98 elements and their ions are available (from the NASA database and from NIST). Lines data ranges from Extreme UV to Near IR (from 10 to 4000 nanometers).
It also allows the user to draw spectra using their own data.
It is possible to redshift the lines of a spectrum, by directly entering the redshift value or the velocity and the angle to compute the redshift value.
Spectral lines data can be presented in a table or exported to a file.
The package also provides color conversion (correlated color temperature), shadings for use with TikZ and/or pgfplots and color maps for use with pgfplots.
Package | pgf-spectra |
Version | 3.0.1a 2024-07-07 |
Maintainer | Hugo Gomes |