Debian Codegraph @

texmf-dist/doc/latex/spalign/README.md

raw
1 spalign version dated 2016-10-05
2 ================================
3
4 The purpose of this package is to decrease the number of keystrokes needed to
5 typeset small amounts of aligned material (matrices, arrays, etc.). For
6 instance, it is inconvenient to type (using the `amsmath` package)
7 ```latex
8 \[\begin{matrix}
9 1 & 12 & -3 \\
10 24 & -2 & 2 \\
11 0 & 0 & 1
12 \end{matrix}\]
13 ```
14 in a document where several hundred such matrices must be typeset. Of course
15 one can always define a macro `\mat` which puts its argument inside a `matrix`
16 environment, but it is still necessary to type the align character `&` and the
17 end-of-row control sequence `\\` many times for each matrix.
18
19 This package provides a facility for typesetting matrices, and for using other
20 alignment environments and macros, with spaces as the alignment delimiter and
21 semicolons (by default) as the end-of-row indicator. So the above matrix could
22 be produced using the command:
23 ```latex
24 \[ \spalignmat{1 12 -3; 24 -2 2; 0 0 1} \]
25 ```
26 This package also contains utility macros for typesetting augmented matrices,
27 vectors, arrays, systems of equations, and more, and is easily extendable to
28 other situations that use alignments.
29
30
31 ## License
32
33 Copyright (C) 2016 by Joseph Rabinoff
34
35 This material is subject to the
36 [LaTeX Project Public License v1.3](http://www.latex-project.org/lppl.txt)
37