Skip to content

Instantly share code, notes, and snippets.

@fmitha
Created June 25, 2021 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmitha/ff7ff4ccf3b50063421ff3e1fe8ac26b to your computer and use it in GitHub Desktop.
Save fmitha/ff7ff4ccf3b50063421ff3e1fe8ac26b to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage{caption}
\usepackage{longtable}
\usepackage{booktabs}
\begin{document}
%\begingroup
\begin{table}
\captionof{table}{First table}\label{first}
\begin{longtable}{cc}
x&y\\
\end{longtable}
% \endgroup
\end{table}
%\begingroup
\begin{table}
\captionof{table}{Second table}\label{second}
\begin{longtable}{cc}
x&y\\
\end{longtable}
%\endgroup
\end{table}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment