Three table styles are supported: LaTeX tabular, plain GFM pipe tables, and
captioned content-table blocks that auto-number (“Tabel N.M”) and are
cross-referenceable with \tableref{}.

Basic tabular — left / center / right alignment

PlanetJari-jari (km)Massa (M_\oplus)
Merkurius2,4400.055
Venus6,0520.815
Bumi6,3711.000
Mars3,3900.107
Jupiter69,911317.8
Saturnus58,23295.2

Columns align via the {l c r} spec: left, center, right.

\begin{center} — centering a table on the page

Wrapping a tabular in center centers the whole block horizontally, which is
how many textbook sources present small reference tables:

KonstantaNilai
G6.674×10⁻¹¹
c2.998×10⁸ m s⁻¹
h6.626×10⁻³⁴ J s

Trailing \hline — bottom border on last row

A \hline after the final \\ renders border-bottom on the last row,
matching how LaTeX typesets it on paper.

ObjekTipeMagnitudo tampak
SiriusBintang−1.46
CanopusBintang−0.72
\alpha Centauri ABintang−0.27
ArcturusBintang−0.05

The bottom rule is the trailing \hline — it was silently dropped before the 2026-07-02 fix.

Double rule — \hhline

\hhline{===} renders as a double-line rule (3 px double border):

Kelas SpektralSuhu (K)Warna
O\geq 30\,000Biru
B10\,000–30\,000Biru-putih
A7\,500–10\,000Putih
G5\,200–6\,000Kuning
M\leq 3\,700Merah

Dashed rule — \hdashline

\hdashline renders as a dashed horizontal rule:

Tetapan FisikaNilai
Gravitasi G6.674×10⁻¹¹ N m² kg⁻²
Cahaya c2.998×10⁸ m s⁻¹
Planck h6.626×10⁻³⁴ J s
Boltzmann k_B1.381×10⁻²³ J K⁻¹

Partial rule — \cline{col1-col2}

\cline{1-2} draws a rule only under columns 1–2, leaving column 3 unruled:

KategoriNamaMassa (M_\odot)
Bintang Neutron
Pulsar Vela1.4
PSR B1919+211.3
Lubang Hitam
Cygnus X-121
GRS 1915+10514

Vertical border styles: | (solid), || (double), : (dashed)

PlanetPerihelion (AU)Aphelion (AU)
Merkurius0.3070.467
Bumi0.9831.017
Mars1.3811.666

| → solid border; || → double rule; : → dashed separator.

Fixed-width p{} columns

p{Xcm} forces a column to a fixed width with text wrapping:

IstilahDefinisi SingkatSatuan
LuminositasDaya total yang dipancarkan bintang ke segala arahW
FluksDaya per satuan luas yang diterima pengamatW/m²
MagnitudoSkala logaritmik kecerlangan tampak—
ParallaxPergeseran sudut akibat gerak Bumi mengorbitarcsec

Booktabs + \multicolumn

BintangParameter Fisik
M/M_\odotR/R_\odotL/L_\odot
Matahari1.001.001.00
Sirius A2.061.7125.4
Rigel21.078.91.2\times10^5
Betelgeuse11.68871.0\times10^5

\toprule / \midrule / \bottomrule normalize to horizontal rules.
\multicolumn{3}{c}{…} spans three columns with centered alignment.

\multicolumn with vertical borders in alignSpec

Passing {|c|} inside \multicolumn attaches left and right borders to the spanning cell:

Data Observasi Eksoplanet
NamaPeriode (hari)Radius (R_J)Massa (M_J)
51 Peg b4.231.270.47
HD 209458 b3.521.380.69
WASP-12 b1.091.901.41

Plain GFM pipe table (no numbering)

Besaran Simbol Satuan SI
Gaya F N
Energi E J
Daya P W
Tekanan p Pa
Frekuensi f Hz

Captioned, cross-referenceable table

Lihat Tabel 1 untuk klasifikasi spektral Harvard.

Kelas Suhu permukaan Contoh Bintang Warna
O \geq 30\,000 K Zeta Puppis biru
B 10\,000–30\,000 K Rigel biru-putih
A 7\,500–10\,000 K Sirius putih
F 6\,000–7\,500 K Procyon kuning-putih
G 5\,200–6\,000 K Matahari kuning
K 3\,700–5\,200 K Arcturus oranye
M \leq 3\,500 K Betelgeuse merah
Tabel 1. Klasifikasi spektral Harvard — suhu permukaan, bintang contoh, dan warna tipikal tiap kelas.

The renderer prepends “Tabel 3.1.” to the caption automatically — never type that prefix yourself.