CTAN Comprehensive TeX Archive Network

Directory graphics/pgf/contrib/pgf-spectra

This is pgf-spectra, version 2.0.0 (15/03/2021).

This package provides the \pgfspectra[<options>] command which draws continuous and emission or absorption spectra for 98 elements and their ions. It was developed mainly for the writing of my own documentation and exams sheets supporting directly PDF output format.
The drawing is made with the TikZ package and is based in the pst-spectra extension for PSTricks.

Major changes:
- the 'window' of spectra now ranges from 10nm to 4000nm
 and the lines was updated. (In version 1.0 was 380nm to 740nm)
- support for redshifted (blueshifted) lines
- possibility of setting a style for the spectra's
New commands:
- \pgfspectraStyle
- \pgfspectraStyleReset
New keys:
- axis ticks (axis minor ticks)
- backIRUV (only for emission spectrum)
- IRcolor (for emission lines and for the background in absorption spectrum)
- UVcolor (for emission lines and for the background in absorption spectrum)
- red shift
- show redshift value

** Requirements: TikZ package.
** Installation: unpack everything in a directory in the TeX search path and refresh the TeX database.
** Usage: just place \usepackage{pgf-spectra} in the preamble.
** Contact the author: Hugo Gomes (hugo.parelho@gmail.com)
** Licence: released under the LaTeX Project Public License v1.3 or later, see http://www.latex-project.org/lppl.txt

Download the contents of this package in one zip archive (2.9M).

pgf-spectra – Draw continuous or discrete spectra using PGF/TikZ

The purpose of this package is to draw the spectra of elements in a simple way.

It is based on the package pst-spectra, supporting the same options, but also adding some new options. It relies on PGF/TikZ for drawing the desired spectrum, continuous or discrete.

As in pst-spectra, there are data available for the spectra of 99 elements and their ions (from the NASA database). It also allows the user to draw spectra using their own data.

LicensesThe Project Public License 1.3
MaintainerHugo Gomes
Contained inTeX Live as pgf-spectra
MiKTeX as pgf-spectra
Guest Book Sitemap Contact Contact Author