File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 45
45
\providecommand {\tightlist }{%
46
46
\setlength {\itemsep }{0pt}\setlength {\parskip }{0pt}}
47
47
\setcounter {secnumdepth}{-\maxdimen } % remove section numbering
48
- \usepackage {longtable,booktabs,array }
48
+ % begin tables-vrules.lua
49
+ \usepackage {longtable,booktabs,array }
49
50
\usepackage {calc } % for calculating minipage widths
50
51
% Correct order of tables after \paragraph or \subparagraph
51
52
\usepackage {etoolbox }
54
55
\makeatother
55
56
% Allow footnotes in longtable head/foot
56
57
\IfFileExists {footnotehyper.sty}{\usepackage {footnotehyper }}{\usepackage {footnote }}
57
- \makesavenoteenv {longtable}
58
+ \makesavenoteenv {longtable}
59
+ \setlength {\aboverulesep }{0pt}
60
+ \setlength {\belowrulesep }{0pt}
61
+ \renewcommand {\arraystretch }{1.3}
62
+ % end tables-vrules.lua
58
63
\ifLuaTeX
59
64
\usepackage {selnolig } % disable illegal ligatures
60
65
\fi
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ function Meta(meta)
53
53
-- We have to add this since Pandoc doesn't do it when a filter is
54
54
-- processing tables (is it a bug or a feature ???)
55
55
--
56
- includes = [[ \usepackage{longtable,booktabs,array}
56
+ includes = [[ %begin tables-vrules.lua
57
+ \usepackage{longtable,booktabs,array}
57
58
\usepackage{calc} % for calculating minipage widths
58
59
% Correct order of tables after \paragraph or \subparagraph
59
60
\usepackage{etoolbox}
@@ -62,7 +63,11 @@ function Meta(meta)
62
63
\makeatother
63
64
% Allow footnotes in longtable head/foot
64
65
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
65
- \makesavenoteenv{longtable} ]]
66
+ \makesavenoteenv{longtable}
67
+ \setlength{\aboverulesep}{0pt}
68
+ \setlength{\belowrulesep}{0pt}
69
+ \renewcommand{\arraystretch}{1.3}
70
+ %end tables-vrules.lua]]
66
71
67
72
if meta [' header-includes' ] then
68
73
table.insert (meta [' header-includes' ], pandoc .RawBlock (' tex' , includes ))
You can’t perform that action at this time.
0 commit comments