# How to Align Sentences at a Certain Place

by Nanoputian   Last Updated January 15, 2018 04:23 AM

How can you align certain lines at a certain place. For example when I write it up normally in latex is displays the following:

But I want it to display it like this instead:

So in other words, I want to find a way to make sure that each question lines up with each other. I know you can do this using the \align command for equations, but not sure what the command is for normal sentences.

Thanks for any help!

Tags :

A \parbox directive will generate the "look" of the second screenshot you provided.

\documentclass{article}
\begin{document}
\noindent
Eg 1.\
\parbox[t]{0.8\textwidth}{%
a) What is the rate of decrease of its radius \dots\par
b) Find the time taken to reduce the radius of \dots\par
c) Find the time taken to reduce the radius of \dots}
\end{document}


However, using a tabularx environment should provide better alignment of the (implicit) columns.

\documentclass{article}
\usepackage{tabularx}
\begin{document}
\noindent
\setlength\tabcolsep{3pt} % default value is 6pt
\begin{tabularx}{\textwidth}{@{}llX@{}}
Eg 1.
& a) & What is the rate of decrease of its radius \dots \\
& b) & Find the time taken to reduce the radius of \dots\\
& c) & Find the time taken to reduce the radius of \dots \\
\end{tabularx}
\end{document}

Mico
January 15, 2018 03:36 AM