Debian Codegraph @

texmf-dist/doc/latex/boldtensors/boldtensors.tex

raw
1 %%
2 %% Description of the LaTeX package `boldtensors'
3 %%
4 %% This program can be redistributed and/or modified under the
5 %% terms of the GNU Public License, version 2.
6 %%
7 %% 2007/06/29
8 %% Author: Werner Fink <[email protected]>
9 %%
10 \documentclass{ltxdoc}
11 \usepackage[utf8]{inputenc}
12 \usepackage{amsmath}
13 \usepackage[nabla,differential]{boldtensors}
14 \title{The `Boldtensors'\ style file}
15 \author{%
16 \copyright\ 1995 by Werner Fink and Jürgen Bachteler\and
17 \copyright\ 2007 by Werner Fink}
18 \date{June 29, 2007}
19 \nofiles
20 \parindent0em
21 \parskip1ex
22 \begin{document}
23 \maketitle
24 \thispagestyle{empty}
25 The \LaTeX{} style file `Boldtensors'\ provides
26 within standard \verb|\mathversion{normal}| (the \verb|\unboldmath|
27 environment) latin and greek characters in bold and blackboard
28 layout. With the style option \verb|nabla| also the Nabla operator
29 $\nabla$ is available in bold layout. For the unit tensor
30 and null tensor a bold `$~1$' and bold `$~0$' are provided.
31 A second option \verb|differential| let the character
32 `$d$' behave like an ordinary operator in roman layout.
33
34 The major advantage is that subscripts, indices and accents
35 can be used without any layout problems. Any index or
36 subscript will be placed nearby on the bold/blackboard
37 symbol accordingly to the layout/formating rules defined
38 in the used fonts.
39
40 The usage is simple \verb|$~T$| and \verb|$"R$|. The first
41 just prints a bold $~T$ which denotes a tensor independent
42 from its components $T_{ij}$ within an arbitrary chosen
43 orthonormal base. The second example shows a blackboard
44 bold $"R$ for the real numbers sometimes written as
45 \verb|$\mathrm{I\!R}$| but looks like `$\mathrm{I\!R}$'.\@
46
47 Some more examples:
48 \begin{verbatim}
49 \documentclass{article}
50 \usepackage{amsmath}
51 \usepackage[differential]{boldtensors}
52 \begin{document}
53 \begin{math}
54 ds^2 = g_{\alpha\beta}dx^{\alpha}dx^{\beta}
55 \end{math}
56 \end{document}
57 \end{verbatim}
58 \begin{math}
59 ds^2 = g_{\alpha\beta}dx^{\alpha}dx^{\beta}
60 \end{math}
61 \begin{verbatim}
62 \documentclass{article}
63 \usepackage{amsmath}
64 \usepackage{boldtensors}
65 \begin{document}
66 \begin{math}
67 ~G = \frac{8 \pi G}{c^4} ~T
68 \end{math}
69 \end{document}
70 \end{verbatim}
71 \begin{math}
72 ~G = \frac{8 \pi G}{c^4} ~T
73 \end{math}
74 %
75 % Just the end
76 %
77 \end{document}