| 1 |
|
| 2 |
unitsdef |
| 3 |
|
| 4 |
Patrick Happel ([email protected]) |
| 5 |
|
| 6 |
============================================================ |
| 7 |
|
| 8 |
1. Abstract |
| 9 |
-------------------------- |
| 10 |
|
| 11 |
There are a lot of packages for typesetting units in LaTeX2e. |
| 12 |
Some define macros to typeset a lot of units but do not suit |
| 13 |
to the actual font settings, some make the characters needed |
| 14 |
available but do not predefine any unit. |
| 15 |
This package tries to comply with both requirements. It |
| 16 |
predefines common units, defines an easy to use interface to |
| 17 |
define new units and changes the output concerning to the |
| 18 |
surrounding font settings. |
| 19 |
|
| 20 |
|
| 21 |
2. Contents of the package |
| 22 |
-------------------------- |
| 23 |
|
| 24 |
unitsdef.dtx |
| 25 |
unitsdef.ins |
| 26 |
README.1st (this file) |
| 27 |
defedunits.tex |
| 28 |
defedpraef.tex |
| 29 |
unitsdef.pdf |
| 30 |
ampabbrv.cfg |
| 31 |
freqabbr.cfg |
| 32 |
molabbrv.cfg |
| 33 |
volabbrv.cfg |
| 34 |
weigabbr.cfg |
| 35 |
enerabbr.cfg |
| 36 |
lengabbr.cfg |
| 37 |
timeabbr.cfg |
| 38 |
voltabbr.cfg |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
3. Installation |
| 43 |
-------------------------- |
| 44 |
|
| 45 |
- Run unitsdef.ins through latex to produce the packages style |
| 46 |
file. |
| 47 |
|
| 48 |
- If you want to produce the documentation by yourself: |
| 49 |
Run unitsdef.dtx through latex twice, run |
| 50 |
|
| 51 |
makeindex -s gglo.ist -o unitsdef.gls unitsdef.glo |
| 52 |
|
| 53 |
to produce the list of changes and |
| 54 |
|
| 55 |
makeindex -s gind.ist unitsdef |
| 56 |
|
| 57 |
and run unitsdef.dtx through latex again. |
| 58 |
|
| 59 |
|
| 60 |
- If in your TDS already proper directories exist you should be able |
| 61 |
to skip the next two steps |
| 62 |
|
| 63 |
- Move the resulting .sty file to where latex finds it. On a TDS |
| 64 |
compliant system this should be (substitute $TEXMF with your |
| 65 |
texmf directory): |
| 66 |
|
| 67 |
$TEXMF/tex/latex/unitsdef/ |
| 68 |
|
| 69 |
- Move all files from the config directory to a place where latex |
| 70 |
finds them. |
| 71 |
|
| 72 |
$TEXMF/tex/latex/unitsdef/config/ |
| 73 |
|
| 74 |
- Move the documentation (unitsdef.pdf, if you haven't produced |
| 75 |
your own copy in a different format) to a place where latex will |
| 76 |
find it, usually, in a TDS compliant system: |
| 77 |
|
| 78 |
$TEXMF/doc/unitsdef |
| 79 |
|
| 80 |
- If you like to move the source files (.dtx, .ins and .tex) in a |
| 81 |
source directory of your system. |
| 82 |
|
| 83 |
- Update your filename database. How to do this depends on your |
| 84 |
distribution. |
| 85 |
|
| 86 |
|
| 87 |
4. License |
| 88 |
-------------------------- |
| 89 |
This material is subject to the LaTeX Project Public License. See |
| 90 |
|
| 91 |
http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html |
| 92 |
|
| 93 |
for the details of that license. |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
Enjoy unitsdef. |
| 98 |
|
| 99 |
= ENDE = |