aboutsummaryrefslogtreecommitdiff
path: root/test/command/5367.md
blob: 4dbcca7712153dbb6cf995c5a428d61fbcd7518c (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
```
% pandoc -t latex
hello[^1]

: Sample table.[^2]

-----------
 Fruit[^3]
-----------
 Bans[^4]
-----------

dolly[^5]

[^1]: doc footnote
[^2]: caption footnote
[^3]: header footnote
[^4]: table cell footnote
[^5]: doc footnote
^D
hello\footnote{doc footnote}

\begin{longtable}[]{@{}
  >{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.17}}@{}}
\caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline
\toprule
Fruit\footnote{header footnote} \\ \addlinespace
\midrule
\endfirsthead
\toprule
Fruit{} \\ \addlinespace
\midrule
\endhead
Bans\footnote{table cell footnote} \\ \addlinespace
\bottomrule
\end{longtable}

dolly\footnote{doc footnote}
```