http://blog.sina.com.cn/s/blog_5e16f1770100ns4r.html
\noindent \hangafter=1 \setlength{\hangindent}{2em} 分别是: 1. 取消首行缩进;2. 设置从第1行之后开始悬挂缩进;3. 设置悬挂缩进量 居中、左对齐、右对齐
http://blog.sina.com.cn/s/blog_5e16f1770100gkig.html
方法一 用\hangafter 和 \hangindent来实现。 \hangafter 后面的数字指行数,是从 n+1 行开始有效 \hangindent 后面是尺寸,就是向右移动的距离 这个命令必须放在段的开始,而且有效范围也是当前的段。另起一段后即失效。因此这种方法适用于文章中只有部分段落需要悬挂缩进格式的情况。 举例: \hangafter 1 \hangindent 1.5em \noindent ... 效果图: 演示代码: \documentclass{article} \usepackage{CJK} \setlength\textwidth{280.0pt} \begin{CJK*}{GBK}{song} \begin{document} \hangafter 1 \hangindent 1.5em \noindent Gulls — the larger species in particular — are resourceful and highly-intelligent birds, demonstrating complex methods of communication and a highly-developed social structure. Certain species (e.g. the Herring Gull) have exhibited tool use behaviour. Many species of gull have learned to co-exist successfully with man and have thrived in human habitats. Others rely on kleptoparasitism to get their food. \end{CJK*} \end{document} 方法二 修改已有的verse环境定义。这种方法适用于文章中有大量连续段落需要悬挂缩进的情况。 \makeatletter \renewenvironment{verse} {\let\\\@centercr \list{}{\itemsep \z@ \itemindent -1.5em% \listparindent\itemindent \leftmargin -\itemindent \rightmargin 0em} \item\relax} {\endlist} \makeatother 评议:该环境定义尚有问题,请读者慎用。 地址:http://www.wangchao.net.cn/bbsdetail_54194.html
|