由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - 谁知道latex怎么把连着的文献用‘-’联起来
相关主题
参考文献格式几个关于WinEdt, MikTex, Revtex4的问题
求助,毕业论文格式如何用tex导入ps图片?
xfig上面如何输入数学公式beamer里面的字是白色的?
question on natbib and round parentheses请问怎么把两幅图并排放?用不同的标题?
如何用(2.3)之类的编号来控制方程编号?请教 bibliography 字体和正文不同的问题
请问tabular里面的一个格子里如何能够换行呢?谢谢!metapost画图在miktex中显示问题。
A quick question about page marginRe: latex equation editor
how to write copyleft character ???求救:reference list不按照作者名字排序
相关话题的讨论汇总
话题: cite话题: usepackage话题: references话题: shows话题: instead
进入TeX版参与讨论
1 (共1页)
b****a
发帖数: 19
1
试了\cite{x,y,z},
但显示是[x],[y],[z],
希望是[x-z]. 改用什么package?
thanks
T*******n
发帖数: 493
2
\usepackage{cite}

【在 b****a 的大作中提到】
: 试了\cite{x,y,z},
: 但显示是[x],[y],[z],
: 希望是[x-z]. 改用什么package?
: thanks

b****a
发帖数: 19
3
yes, i did. but it shows [x]-[z] instead of [x-z]. besides, if only for two
references, it shows [x],[y] instead of [x-y] or [x]-[y].
what i use is \cite{x,y,z}, is that right?

【在 T*******n 的大作中提到】
: \usepackage{cite}
T*******n
发帖数: 493
4
Are you loading some other packages? You should be getting [x-y].

two

【在 b****a 的大作中提到】
: yes, i did. but it shows [x]-[z] instead of [x-z]. besides, if only for two
: references, it shows [x],[y] instead of [x-y] or [x]-[y].
: what i use is \cite{x,y,z}, is that right?

b****a
发帖数: 19
5
This is my file header.Is it correct?
\documentclass[conference]{IEEEtran}
\hyphenation{op-tical net-works semi-conduc-tor IEEEtran}
\usepackage{cite}
\usepackage{graphicx}
\usepackage{cite}
%\voffset 15mm
\IEEEoverridecommandlockouts
\begin{document}

【在 T*******n 的大作中提到】
: Are you loading some other packages? You should be getting [x-y].
:
: two

T*******n
发帖数: 493
6
Now it makes sense. The ieeetran.cls specifically formats
references as you have described it because this is their
publication style. See page 3 of
http://www.computer.org/portal/cms_docs_ieeecs/ieeecs/publications/author/transguide/IEEEtran_HOWTO.pdf
In other words, ieeetran.cls and cite.sty are not fully
compatible by design.

two

【在 b****a 的大作中提到】
: yes, i did. but it shows [x]-[z] instead of [x-z]. besides, if only for two
: references, it shows [x],[y] instead of [x-y] or [x]-[y].
: what i use is \cite{x,y,z}, is that right?

b****a
发帖数: 19
7
Hi many thanks. But how can I do in this case? I need IEEE template and also
want to use "range" function. The main problem is that for 2 references, it
shows [x], [y] instead of [x,y]. It looks ugly and may not be the style for
IEEE conference.

【在 T*******n 的大作中提到】
: Now it makes sense. The ieeetran.cls specifically formats
: references as you have described it because this is their
: publication style. See page 3 of
: http://www.computer.org/portal/cms_docs_ieeecs/ieeecs/publications/author/transguide/IEEEtran_HOWTO.pdf
: In other words, ieeetran.cls and cite.sty are not fully
: compatible by design.
:
: two

T*******n
发帖数: 493
8
But that's the way ieeetran.cls is programed to print citations.
Maybe ieeetran.cls has some option to revert the behavior?
You'll need to check its author's manual. Maybe there is an
ieeeconf.cls that formats citations the way you want?

also
it
for

【在 b****a 的大作中提到】
: Hi many thanks. But how can I do in this case? I need IEEE template and also
: want to use "range" function. The main problem is that for 2 references, it
: shows [x], [y] instead of [x,y]. It looks ugly and may not be the style for
: IEEE conference.

l*****3
发帖数: 53
9
我的显示为[1,2,3], not [1-3]. I tried to \usepackage{cite}.但是编译不过。
How to fix it?
Thanks.

【在 T*******n 的大作中提到】
: \usepackage{cite}
l*****3
发帖数: 53
10
I got it.
\usepackage{compactbib} not \usepackage{natbib}

【在 l*****3 的大作中提到】
: 我的显示为[1,2,3], not [1-3]. I tried to \usepackage{cite}.但是编译不过。
: How to fix it?
: Thanks.

a**e
发帖数: 5794
11
natbib有个compress的选项

【在 l*****3 的大作中提到】
: I got it.
: \usepackage{compactbib} not \usepackage{natbib}

1 (共1页)
进入TeX版参与讨论
相关主题
求救:reference list不按照作者名字排序如何用(2.3)之类的编号来控制方程编号?
texnicCenter问题求助请问tabular里面的一个格子里如何能够换行呢?谢谢!
latex 格式一问A quick question about page margin
LaTeX 2.09 questionhow to write copyleft character ???
参考文献格式几个关于WinEdt, MikTex, Revtex4的问题
求助,毕业论文格式如何用tex导入ps图片?
xfig上面如何输入数学公式beamer里面的字是白色的?
question on natbib and round parentheses请问怎么把两幅图并排放?用不同的标题?
相关话题的讨论汇总
话题: cite话题: usepackage话题: references话题: shows话题: instead