summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/boldtensors/boldtensors.tex
blob: 044e99ad26fcb279bc8a0097f944929a5f476e13 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
%%
%% Description of the LaTeX package `boldtensors'
%%
%% This program can be redistributed and/or modified under the
%% terms of the GNU Public License, version 2.
%%
%% 2007/06/29
%% Author: Werner Fink <werner@suse.de>
%%
\documentclass{ltxdoc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[nabla,differential]{boldtensors}
\title{The `Boldtensors'\ style file}
\author{%
\copyright\ 1995 by Werner Fink and Jürgen Bachteler\and
\copyright\ 2007 by Werner Fink}
\date{June 29, 2007}
\nofiles
\parindent0em
\parskip1ex
\begin{document}
\maketitle
\thispagestyle{empty}
The \LaTeX{} style file `Boldtensors'\ provides
within standard \verb|\mathversion{normal}| (the \verb|\unboldmath|
environment) latin and greek characters in bold and blackboard
layout.  With the style option \verb|nabla| also the Nabla operator
$\nabla$ is available in bold layout.  For the unit tensor
and null tensor a bold `$~1$' and bold `$~0$' are provided.
A second option \verb|differential| let the character
`$d$' behave like an ordinary operator in roman layout.

The major advantage is that subscripts, indices and accents
can be used without any layout problems.   Any index or
subscript will be placed nearby on the bold/blackboard
symbol accordingly to the layout/formating rules defined
in the used fonts.
   
The usage is simple \verb|$~T$| and \verb|$"R$|.  The first
just prints a bold $~T$ which denotes a tensor independent
from its components $T_{ij}$ within an arbitrary chosen
orthonormal base.  The second example shows a blackboard
bold $"R$ for the real numbers sometimes written as
\verb|$\mathrm{I\!R}$| but looks like `$\mathrm{I\!R}$'.\@

Some more examples:
\begin{verbatim}
\documentclass{article}
\usepackage{amsmath}
\usepackage[differential]{boldtensors}
\begin{document}
\begin{math}
ds^2 = g_{\alpha\beta}dx^{\alpha}dx^{\beta}
\end{math}
\end{document}
\end{verbatim}
\begin{math}
ds^2 = g_{\alpha\beta}dx^{\alpha}dx^{\beta}
\end{math}
\begin{verbatim}
\documentclass{article}
\usepackage{amsmath}
\usepackage{boldtensors}
\begin{document}
\begin{math}
~G = \frac{8 \pi G}{c^4} ~T
\end{math}
\end{document}
\end{verbatim}
\begin{math}
~G = \frac{8 \pi G}{c^4} ~T
\end{math}
%
% Just the end
%
\end{document}