%% 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.
Download the contents of this package in one zip archive (2.3M).
pst-diffraction – Print diffraction patterns from various apertures
The package enables the user to draw (using PSTricks) the diffraction patterns for different geometric forms of apertures for monochromatic light (using PSTricks). The aperture stops can have rectangular, circular or triangular openings. The view of the diffraction may be planar, or three-dimensional.
Options available are the dimensions of the aperture under consideration and of the particular optical setting, e.g. the radius in case of an circular opening. Moreover one can choose the wavelength of the light (the associated color will be calculated by the package).
|License||The LaTeX Project Public License|
|Contained in||TeX Live as pst-diffraction|
|MiKTeX as pst-diffraction|
package using PStricks for graphical output|
graphics (typesetting actual pictures)