GeneralAlign question parts

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mojopy
Posts: 3
Joined: Tue Aug 26, 2008 5:25 am

Align question parts

Post by mojopy »

I need some help here.
I need to type maths questions with a few parts within a question.
how do i align the questions at the parts?
Example:
1.#(a) blah blah blah
##(b) blah blah blah
##(c) ...

(## is used to create the indent in this post).

i tried using \begin{align*} but the whole question shifts to the center.

much thanks for the help

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Align question parts

Post by localghost »

The structure you want to have can be realised much easier. Take this as an example.

Code: Select all

\begin{enumerate}
  \item \begin{enumerate}
          \item foo
          \item bar
        \end{enumerate}
  \item foobar
\end{enumerate}
Further adjustments can be done with the enumitem package.


Best regards and welcome to the board
Thorsten¹
mojopy
Posts: 3
Joined: Tue Aug 26, 2008 5:25 am

Re: Align question parts

Post by mojopy »

yes, this was what i tried but i get (1) insead of 1., which the latter is what i want.
is there a way to start the enumerate on the same line as the current text?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Align question parts

Post by localghost »

mojopy wrote:yes, this was what i tried but i get (1) insead of 1., which the latter is what i want.
In this case you have to provide a minimal working example (MWE) which shows this effect since the latter one is the default behaviour.
mojopy wrote:is there a way to start the enumerate on the same line as the current text?
That's a thing I do not know. And in my opinion this wouldn't make sense. To realise this, it would be necessary to redefine this environment or create a new one. At the moment I can't offer this.
mojopy
Posts: 3
Joined: Tue Aug 26, 2008 5:25 am

Re: Align question parts

Post by mojopy »

thanks for the help
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

Re: Align question parts

Post by metric »

Hi.

If you are trying to prepare Q. ppr, try the exam pkg. It has many options for setting Q. pprs.

Thanks,
Arif
Post Reply