2

I am new TeX user. I use enumerate. output it like in attach file in number 1.
1. XXXXX (a) YYYYYYYYYY YYYYYYYYYY

but i need output like number 2.

1. XXXXX (a) YYYYYYYYYY YYYYYYYYYY

How I can do.

Thank you very much.

attach file

6
  • Don't use enumerate for the last (a) step. Just set \parindent and \parskip and use normal paragraphs (possibly inside a minipage of width \textwidth). Nov 27, 2014 at 4:39
  • Can you post a small document showing the code you used to achieve your first sample? If you use the enumitem package, you can set the margins as in your second sample quite easily.
    – Alan Munn
    Nov 27, 2014 at 5:02
  • Thank you very much. I use enumitem and use \begin{enumerate}[leftmargin=-5mm,itemindent=3em]. It look very nice. Nov 27, 2014 at 7:43
  • @HarishKumar Can you turn your comment into an answer?
    – Alan Munn
    Nov 27, 2014 at 16:34
  • @AlanMunn Thanks for pinging. I have added the answer. :)
    – user11232
    Nov 27, 2014 at 16:41

1 Answer 1

2

You can use enumitem for all your list needs. For this particular need, you need to use

\begin{enumerate}[leftmargin=0pt,itemindent=2em] 

Adjust the values appropriately.

\documentclass{article}
\usepackage{enumitem}
\usepackage{kantlipsum,showframe}   %% just for this example
\begin{document}
  \begin{enumerate}[leftmargin=0pt,itemindent=2em]
    \item \kant[1]
    \item \kant[2]
  \end{enumerate}
  Some text
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .