• No results found

This package provides typographically fine tensorial notation, with the following features:

N/A
N/A
Protected

Academic year: 2021

Share "This package provides typographically fine tensorial notation, with the following features:"

Copied!
3
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The tensind Package for Tensorial Indexes

Javier Bezos

August 7, 2000

This package provides typographically fine tensorial notation, with the following features:

• Dots filling gaps.

• Symbol subtitution to easy typing (if you are using greek letters, for example).

• Corrected position of indexes: horizontally, to compensate the small displacement in letters like f (look carefully at f

) and vertically, to avoid superscripts too raised.

• Aditional minute corrections are also allowed.

1 User Interface

\tensordelimiter{htensor-delimi}

Defines htensor-delimi to be a tensor delimiter. In subsequent examples we will assume

\tensordelimiter{?}

and every instance of ? will actually mean htensor-delimi.

?[hformat i]{hnucleousi}{hspecial-index i}{hspecial-index i}...

hsuper-or-subihsuper-or-subi...?

Creates a tensor. hsuper-or-subi is either _{hindex i}{hindex i}... or

^{hindex i}{hindex i}. hnucleousi is the symbol which indexes will be add to.

This package is currently at version 1.1.

For bug reports, comments and suggestions go to http://www.tex-tipografia.com. En- glish is not my strong point, so contact me when you find mistakes in the manual. Other packages by the same author: accents, titlesec, dotlessi.

1

(2)

hspecial-index i is a superscript which is neither covariant nor contravariant (dual, prime...). In one-letter hindex i, hspecial-index i or hnucleousi, curly braces can be omitted. For example:

?R_ij^kl_\alpha^\beta? R

ij · ·α ·kl β

?R^ij_kl^\alpha_\beta? R

ij· · kl · βα

?R**_ij^kl_\alpha^\beta? R

∗∗kl βij · ·α ·

?R**^ij_kl^\alpha_\beta? R

∗∗ij· · kl · βα

(Don’t forget the closing ?! ) Finally, hformat i changes the format in a tensor.

(See \tensorformat below.)

\tensorformat{hformat i}

The following letter may be used in format.

l Gaps to the left of the last index are filled with dots.

r Gaps to the right of the first index are filled.

e If there is no index (empty), gaps are filled.

b Only gaps in subscripts are filled.

Sensible settings are: none (no dots), l and lrb. Further options are:

c Brings index lines closer.

o Opens index lines.

s Styled. o in display style and c otherwise.

These options are mutually exclusive. If none of them is used, then indexes behave in a similar way to standard ones. This document sets

\tensorformat{lrb}

?[]f\prime_ij^kl? f

ij0 kl

?[e]f^ij? f

ij· ·

?[l]f*_ij^kl? f

∗· · klij

?[c]R^ij_kl? R

ijkl

2

(3)

\indexdot

This macro is the index dot. Defined to \cdot. You can redefine it with

\renewcommand.

\whenindex{hindex i}{hnew-index i}{hcommandsi}

Automatically replaces hindex i (if not enclosed in braces) by hnew-index i and the additional hcommandsi are executed. For example, if you like to use greek indexes:

\whenindex{a}{\alpha}{}

\whenindex{b}{\beta}{}

\whenindex{g}{\gamma}{}

A \whenindex{’}{\prime}{} is performed by the package. For instance

?R’_ijk^abg? R

0ijk · · ·αβγ

In hcommandsi, two command for space fine-tuning are provided:

\sbadjust{hindex i}{hcomma-spacei} adds hcomma-spacei times \, before the current subscript index if the last superscript index was hindex i. Similarly,

\spadjust adds the space before the current superscript index if the last subscript index was hindex i. For instance, the normal result of ?[]R^ik_lm? is R

ijkl

, but with

\whenindex{k}{k}{\sbadjust{j}{-1}}

is R

ijkl

. These commands will be ignored if dots are used.

Two further command allowed in \whenindex are: \omitdot omits the dot for the current index, and \finishdots omits as well all subsequent indexes. For example

\whenindex{;}{\,;\,}{\finishdots}

?[lr]A*_i^kl;i? A

∗·kl ; ii · ·

tensor

The environment called by ?...?. Useful if for some reason you don’t want an equivalent defined with \tensordelimiter . Example:

\begin{tensor}[lr]A*_i^kl;i\end{tensor}

3

Referenties

GERELATEERDE DOCUMENTEN

Daarnaast werden door het Ministerie van Binnenlandse Zaken en Koninkrijksrelaties profielschetsen gemaakt van onder andere Somaliërs, Iraniërs, Irakezen en Afghanen (Hessels,

This package provides commands for vectors, matrices, and tensors with different styles (arrows as the L A TEX default, underlined, and

ltxnew provides a way to define new control sequences, or redefine them, just by beginning the definition with a (expandable) prefix : \new or \renew.. 1.2What

Now the different files must be moved into the different directories in your installation TDS tree (also known as texmf tree):. centernot.sty →

Numbers written in italic refer to the page where the corresponding entry is de- scribed; numbers underlined refer to the code line of the definition; plain numbers refer to the

Brief description of the package: This package provides some new more flexible commands to typeset subscripts and superscripts in mathematical mode.

(Note that this code wouldn’t work if \calc@B were a muglue register. This is the real reason why the calc package doesn’t support muglue expressions. To support muglue expressions

Durham and London: Duke University Press, 2001, pp.. “Earl, Saint, Bishop, Skald –