[texhax] How to insert a line break before \item?

ky anh xkyanh at yahoo.com
Wed May 14 19:35:54 CEST 2003


Guess the result of

 \begin{description}
   \item[A]
      \begin{itemize}
         \item[+] This is A1
         \item[+] This is A2
      \end{itemize}
   \item[B] This is B
 \end{description}

It likes this
  A   - This is A1
    - This is A2
  B This is B

It's nicely. But sometimes, we want a result
  A
    - This is A1
    - This is A2
  B This is B

We cannot insert a \par before \item
   
 \begin{description}
   \item[A]
     \par % <------------------ error
      \begin{itemize}
         \item[+] This is A1
         \item[+] This is A2
      \end{itemize}
   \item[B] This is B
 \end{description}

YES, How to insert a line break before \item?

(Please say the simplest way...
Redefinning `description' is too hard for TeX users.)

;-))

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the texhax mailing list