My problem is that inside equation environment double backslash \\
does not seem to work as expected to force a line break:
\begin{equation*}
\fontsize{12}{15} \text{1. (a) State the Mean Value Theorem.}\\
\fontsize{12}{15}\text{(b) Consider the function}
g:\mathbb{R} \rightarrow \mathbb{R}
\end{equation*}
In this piece of code, I couldn't find a way to make that \\
work. I want element (b) to be where I draw it with red.
What is the problem with this code and how can I make that \\
work?
Best Answer
The
equation
environment is not designed for line-breaking. For this purpose exist the environmentsmultline
,gather
,align
, etc (and their starred versions) provided by theamsmath
package. (There also exists theeqnarray
ofLaTeX
but it isn't recommended).For your example you should use the
enumerate
environment (and if you want something more personalized combine with theenumitem
package).Example
Result