2

I was wondering how I can change the spacing in my lists when I start my list off with a theorem environment. An example of this is that I have my list using the enumitem package with my code:

\begin{enumerate}[label=(\alph*)]
\item
     \begin{scrapwork}
     ...
     \end{scrapwork}
     \begin{proof}
     ...
     \end{proof}
\end{enumerate}

Which outputs with my theorem environment (scrapwork) starting on the line after where my item label is.

What I would have liked to happen is for Scrapwork and Proof to be aligned while placing scrapwork on the same line as my item label.

Thank you.

EDIT: MWE

\documentclass{article}

\usepackage{amsmath,amsthm,enumitem}
\theoremstyle{remark}
\newtheorem*{scrapwork}{Scrapwork}

\begin{document}

\begin{enumerate}[label=(\alph*)]
\item
\begin{scrapwork}
wordshere
\end{scrapwork}
\end{enumerate}


\end{document}
  • Will tex.stackexchange.com/a/73747/11232 be useful? – user11232 Oct 6 '12 at 22:46
  • Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. A MWE begins with \documentclass{} and ends with \end{document} and shows precisely where the error is... – kan Oct 6 '12 at 22:47
  • @HarishKumar It is actually the opposite of that. I am trying to embed the theorem environment in a list instead of a list in the theorem environment. Also I updated the post with a MWE. – BenM Oct 6 '12 at 23:02
  • @Dvorac You probably want \swapnumbers from the amsthm packages: so you declare scrapwork as a numbered theorem and the number will precede "Scrapwork". – egreg Oct 6 '12 at 23:30
  • I agree with @Dvorac: this is not a duplicate, so I voted for reopening. – egreg Oct 7 '12 at 10:12
0

You can take shelter inside a minipage.

\documentclass{article}

\usepackage{amsmath,amsthm,enumitem}
\theoremstyle{remark}
\newtheorem*{scrapwork}{Scrapwork}
\usepackage{linegoal}
\begin{document}

\begin{enumerate}[label=(\alph*)]
\item
\begin{minipage}[t]{\linegoal}
\begin{scrapwork}
wordshere
\end{scrapwork}
\end{minipage}
\end{enumerate}


\end{document}

enter image description here

| improve this answer | |
  • If it's really the same, I'd prefer this question to be closed as duplicate instead of answered. – lockstep Oct 6 '12 at 23:18
  • So it was the same. Should be closed, sorry. – BenM Oct 6 '12 at 23:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.