blob: e642ddc6fb1a3d8c4b8962d67018c6148264c908 (
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
|
%% Package `pst-diffraction.tex'
%%
%% Manuel Luque (ml _at_ pstricks.de) (France)
%% Herbert Voss (hv _at_ pstricks.de) (Germany)
%%
%% 2007-09-04
%%
PSTricks offers excellent macros to insert more or less complex
graphics into a document. pstricks.tex itself is the base for several
other additional packages, which are mostly named pst-xxxx,
like pst-diffraction.
Diffraction refers to various phenomena associated with wave propagation,
such as the bending, spreading and interference of waves passing by an object
or aperture that disrupts the wave, like rectangle, circular, or tringle
slits.
Save the files
pst-diffraction.sty
pst-diffraction.tex
pst-diffraction.pro
in any place, where latex or any other TeX program will find it.
The pro file should go into $TEXMF$/dvips/pstricks/.
pst-diffraction uses the extended version of the keyval package. So
be sure that you
- have installed xkeyval with the special pst-xkey
(CTAN: tex-archive/macros/latex/contrib/xkeyval/)
- do not load another package after pst-diffraction, which loads
the old keyval.sty or pst-key.tex
You can run the documentation with
make DE
make E
make FR
or for all make all ;-) this will take a lot of time, because
the images are very big.
If you like to get the documentation file in another format run
latex pst-diffraction-docX.tex
bibtex pst-diffraction-docX
latex pst-diffraction-docX.tex
dvips pst-diffraction-docX.dvi
to get a PostScript file. But pay attention, that the pst-diffraction
files are saved in the above mentioned way, before you run
latex on the documentation file.
The intermediate DVI file works only with viewers which can
interprete the embedded PostScript code.
For another PDF output read the introduction from
the documentation.
|