1Simple table with caption:
3\begin{longtable}[]{@{}rlcl@{}}
4\caption{Demonstration of simple table syntax.}\tabularnewline
6Right & Left & Center & Default \\ \addlinespace
10Right & Left & Center & Default \\ \addlinespace
1312 & 12 & 12 & 12 \\ \addlinespace
14123 & 123 & 123 & 123 \\ \addlinespace
151 & 1 & 1 & 1 \\ \addlinespace
19Simple table without caption:
21\begin{longtable}[]{@{}rlcl@{}}
23Right & Left & Center & Default \\ \addlinespace
2612 & 12 & 12 & 12 \\ \addlinespace
27123 & 123 & 123 & 123 \\ \addlinespace
281 & 1 & 1 & 1 \\ \addlinespace
32Simple table indented two spaces:
34\begin{longtable}[]{@{}rlcl@{}}
35\caption{Demonstration of simple table syntax.}\tabularnewline
37Right & Left & Center & Default \\ \addlinespace
41Right & Left & Center & Default \\ \addlinespace
4412 & 12 & 12 & 12 \\ \addlinespace
45123 & 123 & 123 & 123 \\ \addlinespace
461 & 1 & 1 & 1 \\ \addlinespace
50Multiline table with caption:
52\begin{longtable}[]{@{}
53 >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
54 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
55 >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
56 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
57\caption{Here's the caption. It may span multiple lines.}\tabularnewline
59Centered Header & Left Aligned & Right Aligned & Default
60aligned \\ \addlinespace
64Centered Header & Left Aligned & Right Aligned & Default
65aligned \\ \addlinespace
68First & row & 12.0 & Example of a row that spans multiple
69lines. \\ \addlinespace
70Second & row & 5.0 & Here's another one. Note the blank line between
75Multiline table without caption:
77\begin{longtable}[]{@{}
78 >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
79 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
80 >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
81 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
83Centered Header & Left Aligned & Right Aligned & Default
84aligned \\ \addlinespace
87First & row & 12.0 & Example of a row that spans multiple
88lines. \\ \addlinespace
89Second & row & 5.0 & Here's another one. Note the blank line between
94Table without column headers:
96\begin{longtable}[]{@{}rlcr@{}}
9912 & 12 & 12 & 12 \\ \addlinespace
100123 & 123 & 123 & 123 \\ \addlinespace
1011 & 1 & 1 & 1 \\ \addlinespace
105Multiline table without column headers:
107\begin{longtable}[]{@{}
108 >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
109 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
110 >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
111 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
114First & row & 12.0 & Example of a row that spans multiple
115lines. \\ \addlinespace
116Second & row & 5.0 & Here's another one. Note the blank line between
117rows. \\ \addlinespace
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list