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
General ⇒ Align question parts
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
The structure you want to have can be realised much easier. Take this as an example.
Further adjustments can be done with the enumitem package.
Best regards and welcome to the board
Thorsten¹
Code: Select all
\begin{enumerate}
\item \begin{enumerate}
\item foo
\item bar
\end{enumerate}
\item foobar
\end{enumerate}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Align question parts
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?
is there a way to start the enumerate on the same line as the current text?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Align question parts
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:yes, this was what i tried but i get (1) insead of 1., which the latter is what i want.
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 wrote:is there a way to start the enumerate on the same line as the current text?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Align question parts
Hi.
If you are trying to prepare Q. ppr, try the exam pkg. It has many options for setting Q. pprs.
Thanks,
Arif
If you are trying to prepare Q. ppr, try the exam pkg. It has many options for setting Q. pprs.
Thanks,
Arif