Created
October 19, 2017 14:31
-
-
Save sphardy/16288e38ba52abe46db090bd41139827 to your computer and use it in GitHub Desktop.
Long Table with Markdown Conditional Header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{longtable}[]{@{\extracolsep{\fill}}lccl@{}} | |
\toprule | |
Col1 & Col2 & Col3 & Col4\tabularnewline | |
\midrule | |
\ifdefined\MARKDOWN | |
\endhead | |
\else | |
\endfirsthead | |
\multicolumn{4}{c}{{(Continued from previous page)}} \\ | |
\toprule | |
Col1 & Col2 & Col3 & Col4\tabularnewline | |
\midrule | |
\endhead | |
\midrule \multicolumn{4}{c}{{\tablename\ \thetable{} continued on next page\ldots}} \\ | |
\endfoot | |
\endlastfoot | |
\fi | |
& & & \\ | |
\bottomrule | |
\caption{} | |
\label{tab:} | |
\end{longtable} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment