Table numbers allow cross-referencing and add a entry in List of Tables.
Use essential styles and hlines from Create a simple table with borders
Setup styles for referencing
Show just a table number, see 2a
- Use style caption without a value
Add table caption, see 2b,2c
- Caption is wrapped to table width
- Use style caption=People’s identifiers
Override the entry in the List of Tables, see 2b
- Use style entry=IDS and optionally caption
List all tables with table numbers
- Write
\listoftables
and the end of the document
Reference a table using label, see 2c
- See Layout the table for clickable, colored links
- Write
\ref{tab:identifiers}
to reference the table elsewhere
- Use style label=tab:identifiers and optionally caption
Put table in a floating environment, see 2d
- table reserves the entire line width
- See Layout the table to set default placement specifiers
Hyperref
Demos with tex, text cells, and hlines styles from Create a simple table with borders as default: