Debian Codegraph @

texmf-dist/doc/latex/cryst/README

raw
1 ------------------------------------
2 FONTS CRYST
3 to produce the graphical symbols for
4 symmetry elements in crystallography
5 ------------------------------------
6
7 Description
8 ===========
9
10 The files cryst.mf, cryst.tfm, cryst.afm, and cryst.pfb produce the
11 graphical symbols used in crystallography to designate symmetry
12 elements such as rotation axes, screw axes etc. (cf. International
13 Tables for Crystallography, Volume A).
14
15 cryst1.pdf contains a description (in German) and a listing of the
16 symbols.
17
18
19 Installation
20 ============
21
22 cryst.mf contains the METAFONT file to produce the pk files.
23 cryst.afm and cryst.pfb contain the PostScript Type 1 fonts
24 (for PostScript or pdf output).
25
26 Create a new subdirectory cryst1 in your directory of the tfm (tex font
27 metrics) files (e.g. \texmf\fonts\tfm\public\cryst1 for MikTex
28 under Windows or /usr/share/texmf/fonts/tfm/cryst1 for Linux RedHat).
29 Copy cryst.tfm into this directory.
30
31 Create a new subdirectory cryst1 in your directory of METAFONT files
32 (e.g. \texmf\fonts\source\public\cryst1
33 or /usr/share/texmf/fonts/source/cryst1).
34 Copy cryst.mf into this directory.
35
36 Create a new subdirectory cryst1 in your directory of afm (Type 1) files
37 (e.g. \texmf\fonts\afm\cryst1 or /usr/share/texmf/fonts/afm/cryst1).
38 Copy cryst.afm into this directory.
39
40 Create a new subdirectory cryst1 in your directory of pfb (Type 1) files
41 (e.g. \texmf\fonts\type1\cryst1 or /usr/share/texmf/fonts/type1/cryst1).
42 Copy cryst.pfb into this directory.
43
44 Tell dvips (for PostScript output) where to find the files.
45 To this end, insert the following line into the file config.ps:
46 p +cryst1.map
47 (config.ps is in a directory like \texmf\dvips\config
48 or /usr/share/texmf/dvips/config).
49 If you use pdfTeX, insert
50 map +cryst1.map
51 to your pdftex.cfg file
52 (in \texmf\pdftex\config or /usr/share/texmf/pdftex/config).
53
54 Create a new file cryst1.map in a new subdirectory of the directory
55 of map files (e.g. \texmf\dvips\cryst1 or /usr/share/texmf/dvips/cryst1).
56 The file cryst1.map consists of one line:
57 cryst cryst1 <cryst.pfb
58
59 Finally, tell TeX which new files and directories exist. This is done
60 by a command like
61 initexmf -u for MikTeX under Windows
62 or run texhash under root in the shell of Linux RedHat.
63
64
65 Usage
66 =====
67
68 Include the following commands in the preamble of your document:
69
70 \DeclareFontFamily{U}{cry}{\hyphenchar\font=-1}
71 \DeclareFontShape{U}{cry}{m}{n}{ <-> cryst}{}
72 \newcommand{\cry}[1]{{\usefont{U}{cry}{m}{n} \symbol{#1}}}
73
74 To produce the graphical symbol number n in the text, use the command
75 \cry{n}
76
77 n is the number of the symbol in the list of symbols (see file cryst1.pdf).
78 For example, the command \cry{41} will produce the symbol for a 4_1 axis.
79
80 Use \put(..,..){\makebox(0,0)[Pos]{\cry{..}}} commands to position the
81 symbols in \put commands in picture environments (cf. file cryst1.pdf).
82
83
84 Copyright and License
85 =====================
86
87 Copyright (c) 2008 by Ulrich Mueller, Fachbereich Chemie,
88 Philipps-Universitaet Marburg, Germany.
89
90 This work may be distributed and/or modified under the
91 conditions of the LaTeX Project Public License, either version 1.3
92 of this license or (at your option) any later version.
93 The latest version of this license is in
94 http://www.latex-project.org/lppl.txt
95 and version 1.3 or later is part of all distributions of LaTeX
96 version 2005/12/01 or later.
97
98 This work has the LPPL maintenance status `maintained'.
99
100 The Current Maintainer of this work is Ulrich Mueller.
101
102 This work consists of the files cryst.mf, cryst.afm, cryst.pfb,
103 cryst1.tex and the derived cryst.tfm and cryst1.pdf.
104
105