Enrico Bertolazzi
Laboratorio di Matematica Applicata e Meccanica Computazionale
Dipartimento di Ingegneria Meccanica e Strutturale
Università degli Studi di Trento
Mesiano, Trento, Italy
enrico.bertolazzi@ing.unitn.it
\documentclass{article} . . \usepackage[spacesep,definevectors]{easyvector} . .The package option spacesep means that the separator for the indices is the command \smallspace instead of ``
,
'' (comma).
The package option definevectors means that the command
\aa,..., \zz and \AA,...,
\ZZ are predefined as vectors. It also define the commands
\Balpha, \Bbeta and so on, as bold greek vectors.
The latex commands \aa, \AA, \gg,
\ll, \ss, \SS, \tt are saved in
the commands \oldxx where xx
is the name of the old
command.
\newvector[\cmda,\cmdb]{cmd}or
\newvector(a)[cmd]In the first case, it creates the new command (macro) \cmd which executes \cmda when in scalar mode, and \cmdb when in vector mode. In the second case it creates a new command \cmd which substitutes the letter \mathit
{a}
when in scalar, mode and \mathbf{a}
when in vector
mode. Scalar mode is activated when \cmd is immediately
followed by [
. In scalar mode everything between
[
and ]
(with balancing) is assumed to be indices. For
example the commands
|
The structure of the [...]
command is the following
[i,j,...,k;x,y,...,z]where
i,j,...,k
are subscripts and x,y,...,z
are
superscripts. The character ``,
'' is used as a separator
between different indices, and the character ``;
'' separates
subscripts and superscripts. There are no limits on the number of
indices, and the code is reentrant, as the following example
illustrates
|
!
before [
|
|
Important: For the old user (version ) the command
\customindex is suppressed and the \newcustomvector
is used instead.
\aa,\bb,...,\zz \AA,\BB,...,\ZZ \Balpha, \Bbeta, ..., \Bomegafor example
|
|
This document was generated using the LaTeX2HTML translator Version 99.1 release (March 30, 1999)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -local_icons -no_navigation -split 0 docvector
The translation was initiated by Bertolazzi Enrico on 1999-10-22