4

I think because I do not use a frame in this table, the section header is not aligned with the table content. Is there any solution to this?

\section{Bildung}

\begin{tabular}{p{3.3cm} l  l}
\bf 2000-2004 & content \\
[0.2cm]
\bf 2004-2013 & content \\
[0.2cm]
\bf Seit 2016 & content
\end{tabular}

example

3
  • Welcome to TeX SX! This section is not numbered?
    – Bernard
    Commented Jul 7, 2018 at 19:28
  • You can write \noindent\begin{tabular}{@{}p{3.3cm}ll}. Note that \bf has been obsolete for about 25 years. Use \bfseries instead.
    – Bernard
    Commented Jul 7, 2018 at 19:35
  • Just a question: do you need 3 columns in your real document?
    – Bernard
    Commented Jul 7, 2018 at 19:53

1 Answer 1

3

like this:

enter image description here

for this you need to remove the first \tabcolsep with @{} in the first table column:

\documentclass{article}
\usepackage{array}

\begin{document}
\section*{Bildung}
    \begin{tabular}{@{}>{\bfseries}p{3.3cm} l  }
2000-2004 & content \\
2004-2013 & content \\
Seit 2016 & content
    \end{tabular}
\end{document}

You must log in to answer this question.

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