Combines topline data to create the Tex

toplineTableDef(var, tab_definition, header_row, theme)

Arguments

var

TODO: Identify where this comes from?

tab_definition

Defines a longtable or tabular

header_row

A different header row depending on if its longtable or tabular

theme

A theme object from themeNew