Suppose I have 2 files, in1.tex and in2.tex. In file in1.tex, the data is
1a & 1b \\
1c & 1d
and in in2.tex, the data is in a similar format:
2a & 2b \\
2c & 2d
In my scenario, these are output tables from Stata. To combine these vertically, I could just do
\input{in1.tex} \\
\input{in2.tex}
I'm wondering if there's a way I could append these two files so that they appear side by side... in other words, to get something like
1a & 1b & 2a & 2b \\
1c & 1d & 2c & 2d
EDIT: So that I can put this in a tabular/table environment.
\begin{table}[htbp]
\begin{tabular}{*{4}{c}}
** some function of in1.tex and in2.tex here
\end{tabular}
\end{table}
Thanks!

in1.texandin2.texhave the same number of rows? And, if the eventual output is supposed to be in atabular, you don't need to mix the two before setting in in a (say) 4-columntabular. Perhaps you could be more explicit in terms of what you want as output. – Werner Jan 07 '16 at 07:03