Text FormattingPositioning text to left of (a)

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Positioning text to left of (a)

Post by srengam »

Hi there,

I'm trying to do some course work with a question which has a three part solution, namely (a), (b), and (c).

What I want to do is type (a) so it appears on the left of the page, then use some sort of command so that the paragraph text then lines up to the right of the (a) throughout.

Then I want (b) to be on the left, and the answer to (b) to stay on the right of that (like it did for (a)) etc.

Any pointers would be really appreciated,

many thanks.
Last edited by srengam on Wed Jul 06, 2011 8:33 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Positioning text to left of (a)

Post by Stefan Kottwitz »

Hi srengam,

you could use an enumerate environment.

For example, define the labels in your document preamble:

Code: Select all

\renewcommand*{\theenumi}{\alph{enumi}}
\renewcommand*{\labelenumi}{(\theenumi)}
Later in the document write your text:

Code: Select all

\begin{enumerate}
\item text for (a)
\item text for (b)
\item ...
\end{enumerate}
Stefan
LaTeX.org admin
srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Re: Positioning text to left of (a)

Post by srengam »

Stefan that's worked perfectly,

thank you so much.
Post Reply