I'm trying to make a page heading using
\documentclass[12pt]{article} \usepackage{sidecap,wasysym,array,caption,graphicx} \usepackage[a4paper,margin=1cm,footskip=.5cm]{geometry} \pagenumbering{gobble} \newcommand\textbox[1]{% \parbox[t]{.333\textwidth}{#1}% } \begin{document} \noindent\textbox{Date: \begin{tabular}[t]{|l|l|l|l|l|l|} \hline & & & & & \\ \hline \end{tabular}} \hfill\textbox{\hfil \textsc{\LARGE Content}\hfil}\textbox{\hfill\LARGE\smiley{}} \end{document} in which I'm trying to make a box using a table, to fill in the date. But the box and the text "Date:" don't seem to align. I already tried doing Align text and image on the same line? but I'm not sure if it is the right way to go about it. How can I align the "Date:" and the table in the same line?


\begin{tabular}[b]{...}or merge 'Date' into table, i.e. `\begin{tabular}{l|*{6}{l|}}{\cline{2-7} Date: & & & & & \\ ... \end{tabular}\begin{tabular}{...}, which gives the same result as Heiko Oberdiek answer.[t]alignment fromtabulargives the same result as Heiko Oberdiek's answer. Thanks @ChristianHupfer and @Zarko :)