Debian Codegraph @

texmf-dist/source/latex/amsfonts/eufrak.dtx

raw
1 % \def\filename{eufrak.dtx}
2 % \def\fileversion{3.00}
3 % \def\filedate{2009/06/22}
4 %
5 % \iffalse meta-comment
6 %
7 % American Mathematical Society
8 % Technical Support
9 % Publications Technical Group
10 % 201 Charles Street
11 % Providence, RI 02904
12 % USA
13 % tel: (401) 455-4080
14 % (800) 321-4267 (USA and Canada only)
15 % fax: (401) 331-3842
16 % email: [email protected]
17 %
18 % Copyright 2001, 2009 American Mathematical Society.
19 %
20 % Unlimited copying and redistribution of this file are permitted as
21 % long as this file is not modified. Modifications, and distribution
22 % of modified versions, are permitted, but only if the resulting file
23 % is renamed.
24 %
25 % \fi
26 %
27 %\iffalse
28 %<*driver>
29 \documentclass{amsdtx}
30 \usepackage{eufrak}
31 \begin{document}
32 \title{The \pkg{eufrak} package}
33 \author{Frank Mittelbach\and Rainer Sch\"opf\and Michael Downes\\
34 Revised by David M. Jones}
35 \date{Version \fileversion, \filedate}
36 \DocInput{eufrak.dtx}
37 \end{document}
38 %</driver>
39 %\fi
40 %
41 % \maketitle
42 %
43 % \section{Introduction}
44 %
45 % This package was written originally by Frank Mittelbach and Rainer
46 % Sch\"opf; later it was moved into the AMS-\LaTeX{} distribution
47 % with only minor modifications. It is now part of the AMSFonts
48 % distribution; it can be used with \LaTeXe{} with no dependency
49 % on the \pkg{amsmath} package.
50 %
51 % This file sets up some font shape definitions to use the Euler
52 % Fraktur symbols in math mode. These fonts are part of the AMSFonts
53 % collection which can be found on many \TeX{} servers. It is also
54 % directly available from the AMS and from \TeX{} user groups.
55 %
56 % \DescribeMacro\EuFrak
57 % To access the Euler Fraktur alphabet a \meta{math alphabet
58 % identifier} called \cn{mathfrak} is provided. For example, the input
59 % \begin{verbatim}
60 % \[ \mathfrak{A} \neq \mathcal{A} \]
61 %\end{verbatim}
62 % will produce
63 % \[ \mathfrak{A} \neq \mathcal{A} \]
64 %
65 % Here is a complete table of the beautiful letters drawn by Hermann
66 % Zapf:
67 % \begin{displaymath}
68 % \newcommand{\E}[1]{\mathfrak{#1} &}
69 % \begin{array}{*{10}c}
70 % \E{A} \E{B} \E{C} \E{D} \E{E} \E{F} \E{G} \E{H} \E{I} \\
71 % \E{J} \E{K} \E{L} \E{M} \E{N} \E{O} \E{P} \E{Q} \E{R} \\
72 % \E{S} \E{T} \E{U} \E{V} \E{W} \E{X} \E{Y} \E{Z}
73 % \end{array}
74 % \end{displaymath}
75 %
76 % \StopEventually{}
77 %
78 % \section{The Implementation}
79 %
80 % \begin{macrocode}
81 \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
82 [1994/12/01]% LaTeX date must be December 1994 or later
83 % \end{macrocode}
84 %
85 % If the \pkg{amsfonts} package is already loaded, it doesn't really
86 % make sense to load \pkg{eufrak} as well.
87 % \begin{macrocode}
88 \@ifpackageloaded{amsfonts}{%
89 \PackageWarning{eufrak}{The eufrak package is redundant if the
90 amsfonts package is used}%
91 \def\EuFrak{\mathfrak}% for bulletproofing
92 \endinput
93 }{}%
94 % \end{macrocode}
95 %
96 % \begin{macrocode}
97 \ProvidesPackage{eufrak}[2009/06/22 v3.00 Euler Fraktur fonts]
98 % \end{macrocode}
99 %
100 % \begin{macro}{\EuFrak}
101 % Now we define the \meta{math alphabet identifier} \cn{EuFrak}
102 % for both the normal and the bold math version
103 % \begin{macrocode}
104 \DeclareMathAlphabet\EuFrak{U}{euf}{m}{n}
105 \SetMathAlphabet\EuFrak{bold}{U}{euf}{b}{n}
106 % \end{macrocode}
107 % \end{macro}
108 %
109 % See the \pkg{amsfonts} package documentation for a discussion of
110 % the obsolescence of the \opt{psamfonts} option.
111 % \begin{macrocode}
112 \DeclareOption{psamsfonts}{}
113 % \end{macrocode}
114 %
115 % Here is a table describing the action of the \pkg{eucal},
116 % \pkg{euscript}, and \pkg{eufrak} packages.
117 % \begin{center}
118 % \begin{tabular}{lll}
119 % Package& Option& Commands provided\\
120 % \hline
121 % \pkg{eucal}& none& \cn{mathcal}\\
122 % \pkg{eucal}& \opt{[mathcal]}& \cn{mathcal}\\
123 % \pkg{eucal}& \opt{[mathscr]}& \cn{mathscr} (\cn{mathcal} unchanged)\\
124 % \pkg{euscript}& none& \cn{EuScript} (obsolete)\\
125 % \pkg{euscript}& \opt{[mathcal]}& \cn{mathcal}\\
126 % \pkg{eufrak}& none& \parbox[t]{14pc}{\cn{mathfrak} (also
127 % obsolete \cn{EuFrak} for compatibility)}
128 % \end{tabular}
129 % \end{center}
130 %
131 % The preferred command name is \cn{mathfrak}, which for now just
132 % calls the old command name \cn{EuFrak}.
133 % \begin{macrocode}
134 \newcommand{\mathfrak}{\EuFrak}
135 % \end{macrocode}
136 %
137 % Process the package options.
138 % \begin{macrocode}
139 \ProcessOptions
140 % \end{macrocode}
141 %
142 % The usual \cs{endinput} to ensure that random garbage at the end of
143 % the file doesn't get copied by \fn{docstrip}.
144 % \begin{macrocode}
145 \endinput
146 % \end{macrocode}
147 %
148 % \changes{v2.1a}{93/12/12}{Update for LaTeX2e}
149 % \changes{v2.1c}{1994/05/08}{Changed to new documentation standards.}
150 % \changes{v2.1d}{1994/10/18}{Moved to AMS-LaTeX distribution (mjd)}
151 % \changes{v2.1d}{1994/10/19}{Added psamsfonts option}
152 % \changes{v2.1d}{1994/10/19}{Changed cmd name to mathfrak}
153 % \changes{v2.1d}{1994/10/21}{Some documentation cleanup}
154 % \changes{v2.2}{1995/01/06}{Moved to amsfonts distrib}
155 % \changes{v2.2a}{1997/03/20}{%
156 % Removed dependency on mixed-case fd file names}
157 %
158 % \CheckSum{18}
159 % \Finale