2

I want to achieve the format in the picture.enter image description here But when I use tabular, indentation appears. How to solve this?

\subsection*{Time allowed for this section}
\begin{tabular}{l l}
Reading time before commencing work: & five minutes \\
Working time: & fifty minutes
\end{tabular}

enter image description here

  • \begin{tabular}{@{} l l @{}} will remove the padding at either side of the tabular. – egreg Oct 28 '17 at 9:21
  • You may also need \noindent, if the tabular is the first thing in a paragraph. – Steven B. Segletes Oct 28 '17 at 11:38
2

Generally you can use the flushleft environment, but here you want some alignment, so I would suggest using tabbing:

Sample output

\documentclass{article}

\begin{document}

\subsection*{Time allowed for this section}

\begin{tabbing}
Reading time before commencing work: \= five minutes \\
Working time: \> fifty minutes
\end{tabbing}

\end{document}

The \= in the first line sets the tab stop, \> in the second line moves to the tab stop.

| improve this answer | |

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.