Path: blob/main/src/resources/formats/pdf/pandoc/tables.tex
12923 views
$--1$-- tables2$--3$if(tables)$4\usepackage{longtable,booktabs,array}5\newcounter{none} % for unnumbered tables6$if(multirow)$7\usepackage{multirow}8$endif$9\usepackage{calc} % for calculating minipage widths10$if(beamer)$11\usepackage{caption}12% Make caption package work with longtable13\makeatletter14\def\fnum@table{\tablename~\thetable}15\makeatother16$else$17% Correct order of tables after \paragraph or \subparagraph18\usepackage{etoolbox}19\makeatletter20\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}21\makeatother22% Allow footnotes in longtable head/foot23\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}24\makesavenoteenv{longtable}25$endif$26$endif$272829