summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-spectra/README
blob: 43bcfd314a782d52d1117e665d3882f04ded27c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
This is pgf-spectra, version 2.1.0 (12/05/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 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
____________________________________________________________

** 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
____________________________________________________________

Previous versions
____________________________________________________________

version 2.0.0 (15/03/2021).
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
____________________________________________________________

First release: version 1.0 (15/04/2016)
Commands:
- \pgfspectra
- \wlcolor
Keys:
- element
- width
- height
- back
- charge
- Imin
- lines
- line width
- begin
- end
- axis step
- axis color
- axis font
- axis font color
- label position
- label before text
- label after text
- label font
- label font color
- gamma
- brightness
- line intensity
- relative intensity threshold
- absorption
- axis
- label
- relative intensity