\documentclass[11pt,notitlepage]{article}
\usepackage{
  amsmath,
  graphicx,
  amssymb,
%  datetime,
  multicol,
%  stmaryrd,
%  amscd,
%  dbnsymb,
%  ../picins,
%  needspace,
  colortbl,
%  tensor,
  import,
%  bbm,
  longtable,
  pifont
}

\usepackage{txfonts}	% for the likes of \coloneqq.
\usepackage[usenames,dvipsnames]{xcolor}
%\usepackage[margin=5mm]{geometry}
\usepackage[a4paper]{geometry}
\parindent 0in

\begin{document}

\newgeometry{margin=5mm}

\def\blue{\color{blue}}
\def\purple{\color{purple}}
\def\red{\color{red}}
\def\N{\ding{56}}
\def\gY{\textcolor{ForestGreen}{\ding{52}}}
\def\oY{\textcolor{Orange}{\ding{52}}}

\newlength{\outerboxwidth} \newlength{\innerboxwidth}

\def\headcell{\parbox[t]{\outerboxwidth}{
  \hspace{-4pt}\parbox[b]{0.4in}{knot diag}
  \parbox[b]{\innerboxwidth}{
    {\purple $n_k^t$}\quad Alexander's $\omega^+$\hfill genus / \textcolor{ForestGreen}{ribbon} \\
    {\red $\rho_1^+$} \hfill unknotting \# / \textcolor{Orange}{amphi?}
  }\\
  \centering{\tiny\blue $\rho_2^+$}
  \vskip 1pt
}}
\def\rolcell#1#2#3#4#5#6#7#8#9{\parbox[t]{\outerboxwidth}{
  \hspace{-4pt}\parbox[b]{0.4in}{\raisebox{-3pt}{\includegraphics[height=21pt]{Data/#1.pdf}}}
  \parbox[b]{\innerboxwidth}{
    {\purple $#2$}\quad $#3$\hfill $#6$ / #8 \\
    {\red $#4$} \hfill $#7$ / #9
  }\\
  \centering{\tiny\blue $#5$}
  \vskip 1pt
}}

\setlength{\outerboxwidth}{2.45in} \setlength{\innerboxwidth}{2.05in}
{\footnotesize \begin{longtable}{|c|c|c|}
\hline \headcell & \headcell & \headcell \\ \endhead
\hline
\import{./}{table1.tex}
\end{longtable}}

\setlength{\outerboxwidth}{3.76in} \setlength{\innerboxwidth}{3.36in}
{\footnotesize \begin{longtable}{|c|c|c|}
\hline \headcell & \headcell \\ \endhead
\hline
\import{./}{table2.tex}
\end{longtable}}

\end{document}

\endinput

