So I have something like this using \multicolumn
:
\begin{tabular}{lp{14cm}}
\\\multicolumn{2}{c}{}
\\ &\textbf{Left header 1} \hspace{40pt}\textsc{Right header 1}\\
\\&\textbf{Left header 2} \hspace{40pt}\textsc{Right header 2}\\
\\\multicolumn{2}{c}{}
\end{tabular}
How do I make "Right header 1" and "Right header 2" to line up? I am now using the \hspace
but I think there should be a better solution? I cannot just use the &
before both Right headers. So, doing this doesnt work:
\begin{tabular}{lp{14cm}}
\\\multicolumn{2}{c}{}
\\ &\textbf{Left header 1} &\textsc{Right header 1}\\
\\&\textbf{Left header 2} &\textsc{Right header 2}\\
\\\multicolumn{2}{c}{}
\end{tabular}
Please give me some help
A brief sketches:
---- align1 Left header 1------------| align2 Right header 1
----- align1 some text---------------| align2 blank
------ align1 +bullet 1 in itemize---| align2 blank
------ align1 +bullet 2 in itemize---| align2 blank
---- align1 Left header 2------------| align2 Right header 2
\multicolumn
. Some background information on the purpose of the code might also be helpful.\documentclass{article} \begin{document} \begin{tabular}{ll} \textbf{Left header 1} & \textsc{Right header 1}\\ \textbf{Left header 2} & \textsc{Right header 2}\\ \end{tabular} \end{document}
should work.\multicolumn
is because I want to have anitemize
environment. Say for example betweenLeft header 1
andLeft header 2
.\\\multicolumn{2}{c}{} \\ &\textbf{Left header 1} \hspace{40pt}\textsc{Right header 1}\\ &\begin{itemize}....\end{itemize} \\&\textbf{Left header 2} \hspace{40pt}\textsc{Right header 2}\\ \\\multicolumn{2}{c}{}
Right header 1
, I can just do \\ & then do the itemize environment