I'm attempting to indent cases and subcases of a proof by 1.3cm. However, when I apply adjustwidth
to a subcase, it seems to affect the subcase following it.
Here is how it looks with my current code:
And here's how I'd like it to look:
Code I'm using (excuse the sloppy reuse of code):
\documentclass{article}
\usepackage{amsthm}
\usepackage{changepage}
\begin{document}
\begin{proof}
{\it Case 1.} First case.
\begin{adjustwidth}{1.3cm}{}
Case explanation.
\end{adjustwidth}
{\it Case 2.} Second case.
\begin{adjustwidth}{1.3cm}{}
{\it Case 2.1.} First part.
{\it Case 2.2.} Second part.
\begin{adjustwidth}{1.3cm}{}
Second part explanation.
\end{adjustwidth}
\end{adjustwidth}
\end{proof}
\end{document}
How can I adjust my code to allow uniform indenting of sections? If it's not possible with adjustwidth
, what can I use?
\documentclass{...}
and ending with\end{document}
. – Qrrbrbirlbel Sep 15 '13 at 22:36{\it Case 2.1.}
This should just be a list (and\it
is a deprecated command anyway) LaTeX list environments will handle the indentation and numbering automatically. – David Carlisle Sep 15 '13 at 22:37\it
is deprecated in LaTeX2e, better to use{\itshape …}
or just\textit{…}
. — Why don’t you use a simple list likeenumerate
? – Qrrbrbirlbel Sep 15 '13 at 22:37\it
and\bf
, this is just a sample, not "production" typesetting code. As for a list, I don't think it will work for my case since the wordCase
has to be prepended and it has to work in aproof
environment. – Eric Sep 15 '13 at 22:40adjustwidth
which is a latex list environment, but with an empty label, but then labelling the cases by hand, I just suggest using a list environment with a label that does the numbering, so that numbering and cross referencing is more natural. – David Carlisle Sep 16 '13 at 7:26