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}
|
|