【转】Latex参考文献上标和插入顺…
来源:互联网 发布:微信数据移动到sd卡 编辑:程序博客网 时间:2024/06/03 17:36
Latex参考文献上标和插入顺序
想要是插入的参考文献安装插入顺序而不是作者姓名顺序排序,只要设置bibliographystyle为unsrt即可。至于参考文献变成上标以及方括号的问题相对复杂一些,可以参考下面给出的我的模板。这个模板很简陋,只实现了一些基本功能,实现了题目中提出的两个问题而已。
Solutions about the superior and sorts of References
\documentclass[a4paper,11pt]{article}%Define the documentclass定义文件类型
%===================Package Area==================%
\usepackage{CJK} % CJK enviroment CJK环境(中日韩)
\usepackage{indentfirst} % Work with the command ``\CJKindent'' tomake an indent at the begining of each paragraph. 与``\CJKindent''配合实现每个段落开头的自动缩进
\usepackage{textcomp}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{flafter}
\usepackage{booktabs, longtable}
\usepackage{caption2}
\usepackage{pxfonts}
\usepackage{cite}
\usepackage{enumerate}% Enumerate,实现枚举。
\usepackage{cmap}
%===============End Package Area==================%
\addtolength{\textheight}{ 2cm}
\addtolength{\textwidth}{2 cm}
\addtolength{\voffset}{- 2cm}
\begin{document}
\begin{CJK}{GBK}{song}
\CJKindent
%------------中文设置--------------------------
\makeatletter %Show the references as superior and add squarebrackets to them将文献引用作为上标出现,增加括号
\def\@cite#1#2{\textsuperscript{[{#1\if@tempswa , #2\fi}]}}
\makeatother
\renewcommand{\refname}{\centerline{参考文献}}
\renewcommand{\tablename}{表}
\renewcommand{\captionlabeldelim}{\quad}
%===================Image settings========================%
\renewcommand{\figurename}{图}
\renewcommand{\captionlabeldelim}{\quad} %Need caption2 macropackage
%===============End image settings========================%
%-----------中文设置--------------------------
%opening
\title{我的\LaTeX + Bibtex 模板}
\author{杨英超}
\maketitle
\begin{abstract}
这里解决两个问题:
\begin{itemize}
\item怎样将参考文献变成上标,并增加方括号?
\item 怎样让参考文献按照引用顺序排序?
\end{itemize}
\end{abstract}
\section{参考文献问题}
如何将参考文献变成上标并增加括号?只要按照本文前面的设置就可以了\footnote{具体设置参考本文给出的\LaTeX原文件}。我们这里看一个例子,李白的静夜思。
\begin{center}
锄禾日当午~\cite{ICA_SW_Pulse} ,
汗滴禾下土~\cite{DS_1},
谁知盘中餐~\cite{Yuliang2007},
粒粒皆辛苦~\cite{ICA_EEG}。
\end{center}
怎么样?还可以吧?
\section{参考文献按照引用顺序排序}
很简单,只要将\\{\sl{bibliographystyle}} \{ \}设置为{\sl{unsrt}}即可。
\bibliographystyle{unsrt}
\bibliography{refs}
\end{CJK}
\end{document}
下面这张图片是用这个Latex文件生成的PDF的截图(Thefigure bellow is a snapshot of the PDF file generated from thelatex file above):
阅读全文
0 0
- 【转】Latex参考文献上标和插入顺…
- Latex 参考文献上标
- LaTeX插入参考文献
- Latex 参考文献类型和写法
- 利用Bibtex4实现Latex在Word写作时参考文献的插入和排版
- Latex 参考文献
- Latex参考文献
- [latex] 参考文献
- latex参考文献
- Latex 参考文献
- latex 参考文献
- 自动生成目录和参考文献上标
- Mendeley插入引用和参考文献
- Latex插入附录,证明,引理以及参考文献
- LaTeX完整例子_参考文献、图、表和公式
- LaTex解决目录红框和参考文献引用的问题
- Latex参考文献FAQ
- LaTeX 参考文献的处理
- 【原创】配置VIM, 使其适合编程
- 一个f12的最终html页面,是怎么加载出来的,过程如下
- 安装Grub到U盘
- EF之Code First设置主外键关系(三)
- 【原创】如何批处理文件更改IP
- 【转】Latex参考文献上标和插入顺…
- 开篇寄语
- Ubuntu设置PS1属性达到SHELL提示符…
- java中toString用法
- Ubuntu Linux 修改主机名
- 真的好累
- yii2.0 basic版使用CRUD生成器的时候提示错误及页面显示错误
- 欢迎您在新浪博客安家
- 对话框架ChatScript的变量