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把该空格去掉

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值