summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/keyvaltable/README.md
blob: 17a23c2b7305443cdc1ef544edab0e5e9321f704 (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
78
79
80
81
82
83
84
The keyvaltable package
=======================

Copyright (C) 2016 Richard Gay

Released under the [LaTeX Project Public License](http://www.latex-project.org/lppl/) version 1.2 or later

# Purpose

The main goal of the `keyvaltable` package is to offer means for
typesetting tables easily and yet still looking rather nicely in a way
that separates content from presentation and with re-usable layout for
tables of the same type. For this purpose, the package provides the
environment `KeyValTable`, which allows one to typeset tables that have
a previously defined column layout and whose rows can be produced in a
key-value fashion.

# Availability

The `keyvaltable` package is currently in the process of being uploaded to CTAN,
such that the package can become available in popular LaTeX
distributions like TeXlive and MikTeX.

# Manual Installation

The `keyvaltable` package comes with (at least) the following files
* keyvaltable.ins
* keyvaltable.dtx
* README.md

and possibly also with
* Makefile
* keyvaltable.pdf (generated from keyvaltable.dtx)
* keyvaltable.sty (generated from keyvaltable.dtx)

To install the `keyvaltable` package, you additionally need
* docstrip.tex

To build the package (`keyvaltable.sty`), run one of the following
```
    latex keyvaltable.ins
    make package (needs Makefile)
```

Put the resulting `keyvaltable.sty` somewhere where LaTeX can find it.
Read the documentation of your LaTeX system to find out where this
might be.

# Building Documentation

To build the documentation of the `keyvaltable` package, you additionally
need the following classes and packages (including their dependencies)
* ltxdoc
* idxlayout
* xcolor
* showexpl
* enumitem
* xkeyval
* booktabs
* longtable
* tabu
* etoolbox
* hypdoc
* xintexpr
* makecell

as well as
* pdflatex

To build the documentation (`keyvaltable.pdf`), either run
```
    make docs
```
or the following sequence of commands
```
    pdflatex keyvaltable.dtx
    makeindex -s gind.ist -o keyvaltable.ind keyvaltable.idx
    makeindex -s gglo.ist -o keyvaltable.gls keyvaltable.glo
    pdflatex keyvaltable.dtx
    pdflatex keyvaltable.dtx
```

Happy TeX'ing