0

I have the following document:

\documentclass[12pt]{article}
\begin{document}
\begin{tabular}{l}
    {\huge
         \begin{bfseries}
         First row
         \end{bfseries}
    } \\
    \hline \\
    Third row
\end{tabular}
\end{document}

Rendered document print-screen

What I'd like to achieve is to left align all rows. As it stands, the first row is positioned more to the right compared to the third row. How can I left align the first and the third row?

4
  • 2
    And if you just tried \begin{tabular}{l} \huge\ bfseries First row \\ \hline \\ Third row \end{tabular}?
    – Bernard
    Jul 29 at 23:01
  • @Bernard Thank you! Perhaps this should be closed as a typo then? Jul 29 at 23:07
  • 1
    Probably you had an unwanted blank space after \huge , maybe added by the use of an environment in the place of \bfseries. The result of such a directive is limited to the cell in which it happens.
    – Bernard
    Jul 29 at 23:10
  • 2
    The extra space came from \begin{bfseries} which ended a line with } instead of }%. Jul 30 at 1:43

Your Answer

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

Browse other questions tagged or ask your own question.