1

Consider this example:

\documentclass{report}
\usepackage{makecell}
\begin{document}
\begin{tabular}{ll}
  A0 & \makecell{B01\\B02}\\
  A1 & Bbbbbbb1
\end{tabular}
\end{document}

I use \makecell in order to employ \\ in a table cell. The output is:

enter image description here

The alignment of \makecell is centred which is in dissonance with the lefthanded alignment of the cell below. Hot to make the alignment of \makcell lefthanded?

2
  • 1
    \makecell[l]{B01\\B02}
    – user121799
    Jan 19, 2019 at 20:21
  • 1
    @Viesturs: You should read the manual...
    – Werner
    Jan 19, 2019 at 20:27

1 Answer 1

3

p.3 of the manual

enter image description here

suggests

\documentclass{report}
\usepackage{makecell}
\begin{document}
\begin{tabular}{ll}
  A0 & \makecell[l]{B01\\B02}\\
  A1 & Bbbbbbb1
\end{tabular}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.