Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm typing up a document that requires subitems (ex: 1. a), b), etc.). I have been able to do this by using \subitem but what really bugs me is that only this first line of the subitem has a indent (tab) and what follows after does not conform to that indent. Does that make sense? Here's a picture of what I'm talking about in case it doesn't:

enter image description here

I tried using \setlength{\parindent}{0.25cm} but that didn't work. I am using the enumitem package, but I haven't looked into it very throughly so maybe there's something there that I haven't tried. I would really appreciate if anyone has any suggestions as to how to resolve this semi-annoying problem. Thanks in advance!


EDIT The code I'm using (a portion of it):

\item \textit{CC DD} and \textit{cc dd} individuals were crossed to each other, and the $\mathrm{F_{1}}$ generation was backcrossed to the \textit{cc dd} parent. 903 \textit{Cc Dd}, 897 \textit{cc dd}, 98 \textit{Cc dd}, and 102 \textit{cc Dd} offspring resulted. 

\subitem a. How far apart are the \textit{c} and \textit{d} loci?

\subitem b. What progeny and in what frequencies would you expect to result from testcrossing the $\mathrm{F_{1}}$ generation from a \textit{CC dd} X \textit{cc DD} cross to \textit{cc dd}?
share|improve this question
    
@Halime it would be helpful if you showed in a minimal example what code you were actually trying to use. (For example, \subitem is not defined by the enumitem package.) –  Alan Munn Jan 29 '11 at 19:45
    
@ Alan Munn -- Sorry! I'm still new to this. I'll add my code in my question above. –  Halime Jan 29 '11 at 20:06
1  
@Halime, rather than the actual text, you should try to make a small, complete document that shows what your problem is. The example should be a full document (compilable), like the one I posted in my answer to you. (Does that solve your problem, anyway?) –  Alan Munn Jan 29 '11 at 20:23
    
@Halime Also, the backtick delimeter is for short pieces of code inside regular text; to format a block of code, you can select it and click on the 101010 icon. I fixed this in your question for you. –  Alan Munn Jan 29 '11 at 20:50
    
@ Alan Munn -- I tried doing that (putting the full document)... I guess that didn't work, but I used what you suggested and that worked perfectly. Thank you very much for your help and for fixing the code it my post! –  Halime Jan 29 '11 at 20:50
show 1 more comment

2 Answers

up vote 11 down vote accepted

Just embed one enumerate environment in another:

\documentclass{article}
\usepackage{lipsum} % just for some dummy text
\usepackage{enumitem}
\setenumerate[2]{label=\alph*.}
\begin{document}
\begin{enumerate}
\item
\begin{enumerate}
\item \lipsum[1]
\item \lipsum[2]
\end{enumerate}
\item \lipsum[3]
\end{enumerate}
\end{document}
share|improve this answer
add comment

Nesting itemize works too.

\begin{itemize}
\item item-1
\item item-2
\begin{itemize}
\item item-2-1
\item item-2-2
\end{itemize}
\item item-3
\end{itemize}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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