1Simple table with caption:
3\begin{longtable}[]{@{}rlcl@{}}
4\caption{Demonstration of simple table syntax.}\tabularnewline
6Right & Left & Center & Default \\
10Right & Left & Center & Default \\
14123 & 123 & 123 & 123 \\
19Simple table without caption:
21\begin{longtable}[]{@{}rlcl@{}}
23Right & Left & Center & Default \\
27123 & 123 & 123 & 123 \\
32Simple table indented two spaces:
34\begin{longtable}[]{@{}rlcl@{}}
35\caption{Demonstration of simple table syntax.}\tabularnewline
37Right & Left & Center & Default \\
41Right & Left & Center & Default \\
45123 & 123 & 123 & 123 \\
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 aligned \\
63Centered Header & Left Aligned & Right Aligned & Default aligned \\
66First & row & 12.0 & Example of a row that spans multiple lines. \\
67Second & row & 5.0 & Here's another one. Note the blank line between rows. \\
71Multiline table without caption:
73\begin{longtable}[]{@{}
74 >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
75 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
76 >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
77 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
79Centered Header & Left Aligned & Right Aligned & Default aligned \\
82First & row & 12.0 & Example of a row that spans multiple lines. \\
83Second & row & 5.0 & Here's another one. Note the blank line between rows. \\
87Table without column headers:
89\begin{longtable}[]{@{}rlcr@{}}
93123 & 123 & 123 & 123 \\
98Multiline table without column headers:
100\begin{longtable}[]{@{}
101 >{\centering\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.15}}
102 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.14}}
103 >{\raggedleft\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.16}}
104 >{\raggedright\arraybackslash}p{(\columnwidth - 6\tabcolsep) * \real{0.35}}@{}}
107First & row & 12.0 & Example of a row that spans multiple lines. \\
108Second & row & 5.0 & Here's another one. Note the blank line between rows. \\
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