1

I would like to align the text in the first column of a table with the text outside the table. Here is a MWE:

\begin{document}

\begin{table}[!htbp]
\begin{tabular}{lll}
{\bf Title} & Executive Manager &   \\
 & Email: xxx  &   Phone: xxx\\
\end{tabular}
\end{table}

\noindent{\bf Description}

Here goes a paragraph...

\end{document}

I would like to align "Title" and "Description", which is not what happens now. Note that I would like to keep the outside text outside (i.e., not moving them into the table). Thanks in advance!

3
  • use {@{}lll@{} also do not use \bf in latex documents Commented Jan 10, 2018 at 16:47
  • Beautiful! And thanks!! Two follow up questions: i) what is @{} doing? and ii) are you suggesting using \textbf?
    – Daryl
    Commented Jan 10, 2018 at 16:52
  • @{hello} would add hello on every line, in general it replaces the default \tabcolsep padding space but here you want to replace with nothing so @{}. For the table heading yes, \bfseries or \textbf . Presumably Description should be \section*{Description} or some such. As you have not said which document class you are using \bf might not even be defined as unlike \bfseries the latex format does not define \bf Commented Jan 10, 2018 at 16:56

1 Answer 1

2

A column specification of

{@{}lll@{}}

would remove the \tabcolsep padding space on either side of the table.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .