`
zzjjzzgggg
  • 浏览: 116844 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

cite

 
阅读更多

cite宏包的说明文档说得不全,今天看了一下他的cite.sty文件,全都明白了,一些关键的东西记一下:

cite宏包有好些选项,而且格式overcite等其它一些格式是一回事儿,就是间接调用的cite.sty,选项如下:
[superscript] use superscrpts for cites without optional notes
[super]       alias for [superscript] (like natbib)
[verbose]     causes warnings for undefined cites to be repeated each time
[ref]         uses the format "[Ref.~12, optional note]" (useful with
               the superscript option)
[nospace]     eliminates the spaces after commas in the number list.
[space]       uses a full inter-word space after the commas
[nosort]      prevents sorting of the numbers (default is to sort, and a
[sort]        option is provided for completeness).
[nomove]      prevents moving the superscript cite after punctuation.
[move]        is the default
[noadjust]    disables `smart' handling of space before a cite
[adjust]      is the default
[nocompress]  inhibit compression of consecutive numbers into ranges
[compress]    is the default
[biblabel]    define the bibliography label as a superscript

一般这样使用即可:
/usepackage{cite}这样的引用格式是一个中括号加一数字,默认选项是
[space, compress, sort],如
文献 [1] 中说...,文件[2,3-5]中讲,[6-12]提到,

如果想用上标形式则可以使用选项super或superscript,两个是完全一样的,只是别外而已,文章中引用宏包的格式为
/usepackage[superscript]{cite}
显示的角标没有括号,只有数字和带号像
文献 1 中说...,文件2,3-5中讲,6-12提到,

如果想在上标的格式中使用可以在文章中使用以下命令
/makeatletter
/def/@citess#1{/textsuperscript{[#1]}}
这样,引用的格式为
文献 [1] 中说...,文件[2,3-5]中讲,[6-12]提到,

显然,想用圆括号的话把上面的 [#1]改成(#1)就可以了

还有一个常用选项,默认的会在数字中间逗号的后面加一个半角的空格,如果不想要这个空格,可以添加选项nospace把该空格去掉

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics