精華區beta LaTeX 關於我們 聯絡資訊
我用以下description environment \begin{description} \item [item 1] 1111111111111111111 \item [item 2] 222222222222222222222 \item [item 3] 333333333 \end{description} 我希望能調整每個 item 後的說明文字在第2行時不會縮排, 如下: item 1 11111111..... 111111111 item 2 22222222222....... 22222222 但不知道要用什麼指令or方法可以達到呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.70.222.246
wrjih:目前找到的方法是在環境中設定\setlength{\itemindent}{0pt} 01/14 01:08
> -------------------------------------------------------------------------- < 發信人: hoch@kkcity.com.tw ( ), 看板: LaTeX 標 題: Re: [問題] description environment的縮排? 發信站: KKCITY (Mon Jan 15 13:25:41 2007) 轉信站: ptt!ctu-reader!ctu-gate!news.nctu!news.ntu!news.au!zoonews.ee.ntu!news > \begin{description} > \item [item 1] 1111111111111111111 > \item [item 2] 222222222222222222222 > \item [item 3] 333333333 > \end{description} > 我希望能調整每個 item 後的說明文字在第2行時不會縮排, 如下: > item 1 11111111..... > 111111111 > item 2 22222222222....... > 22222222 > 但不知道要用什麼指令or方法可以達到呢? \makeatletter \renewenvironment{description} {\list{}{\leftmargin\z@ \labelwidth\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel}} {\endlist} \makeatother 參見 http://0rz.tw/bd2jD -- ┌─────KKCITY─────┐ KK免/費/撥/接 bbs.kkcity.com.tw 電話(1):4491999 電話(2):4058-6000 └──From:140.129.151.113 ──┘帳號:kkcity 密碼:kkcity --