[問題] 關於自己建立一個keywords環境

看板LaTeX (論文排版)作者 (吃芝麻掉燒餅)時間19年前 (2007/04/01 22:10), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
我想建一個keywords的environment, 其輸出結果為: Keywords: aaaa, bbbb, cccc, dddd, eeee, ffff, ..... xxxx, yyyy, zzzz 其中keywords的左右會向內縮排1cm 目前寫了一個style file定義如下: \def\keywordname{{\bf Keywords:}} \newenvironment{keywords}{% \list{}{\advance\topsep by0.35cm\relax\small \leftmargin=1cm \labelwidth=\z@ \listparindent=\z@ \itemindent\listparindent \rightmargin\leftmargin \item[\hskip\labelsep\bfseries\keywordname]} \quotation } {\endquotation\endlist} 以上的這個定義, 可以做到左右margin內縮1cm, 但是第2行會內縮 (i.e. 首行凸排) 想請問, 要如何修改, 才能達到我希望的keywords environment? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.70.222.246
文章代碼(AID): #163xrXQB (LaTeX)
文章代碼(AID): #163xrXQB (LaTeX)