同一处引用多篇参考文献
(2018-06-15 18:03:42)分类: LaTex |
转自:https://blog.csdn.net/ttwwok/article/details/25080311
2.如何实现参考文献标号在右上角?
方法:在文档开始前加上下面的语句命令
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
然后引用的时候使用\upcite{}的格式(一般的正常引用格式为\cite{})
3.有没有更加好看的大于等于号,小于等于号?(默认的符号里面等号是平行的,没有倾角)
方法:\geqslant和\leqslant代替\geq和\leq
4.一幅大图里面想要实现4个小图,且每个图都有标号(比如a,b,c,d)和注释?
把xx替换为自己想加的注释即可。改变put里面的数字可以调节标号的位置,根据自己的实际情况调节。
1.如何使连续的参考文献能够中间用破折号连起来?比如[6,7,8,9]变成[6-9]?
方法:在文档开始前加上下面的语句命令
\usepackage[numbers,sort&compress]{natbib}
不但可以压缩参考文献标号,还可以进行排序,即无论正文里面的顺序怎样,显示出来都是先后顺序。
方法:在文档开始前加上下面的语句命令
\usepackage[numbers,sort&compress]{natbib}
不但可以压缩参考文献标号,还可以进行排序,即无论正文里面的顺序怎样,显示出来都是先后顺序。
Note:这个命令只有在同一处所应用的编号连续的参考文献,超过三篇的时候,才会压缩数字。举个例子:
tex源文件中某处引用\cite{1,2},生成的文档仍然是[1,2],但是如果tex源文件中某处引用\cite{1,2,3},生成的文档则是[1-3]。另外如果tex源文件中某处引用\cite{1,2,3,9},生成的文档则是[1-3,9],可以看出还是很方便的。
在elsevier模板中,natbib包已经默认引用了,无需重新引用,改一下natbib的选项即可,设置方法如下:
\biboptions{numbers,sort&compress}
以下是顺便查到的,觉得也挺好,仅作参考。
2.如何实现参考文献标号在右上角?
方法:在文档开始前加上下面的语句命令
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
然后引用的时候使用\upcite{}的格式(一般的正常引用格式为\cite{})
3.有没有更加好看的大于等于号,小于等于号?(默认的符号里面等号是平行的,没有倾角)
方法:\geqslant和\leqslant代替\geq和\leq
4.一幅大图里面想要实现4个小图,且每个图都有标号(比如a,b,c,d)和注释?
\begin{figure}[htb]\centering\includegraphics[width=2.9cm]{1.eps}\includegraphics[width=2.9cm]{2.eps}\includegraphics[width=2.9cm]{3.eps}\includegraphics[width=2.9cm]{4.eps}\put(-305,-10){\footnotesize{(a)}}\put(-220,-10){\footnotesize{(b)}}\put(-135,-10){\footnotesize{(c)}}\put(-45,-10){\footnotesize{(d)}}\caption{xxxxxxxxxxxxxxxxxxxxx:(a)xxxxxxx;(b)xxxxxxxxxx;(c)xxxxxxxxxx;(d)xxxxxxxxx.}\label{fig1}\end{figure}"
role="presentation" style="box-sizing: border-box; outline: 0px;
display: inline; line-height: normal; text-align: left;
word-spacing: normal; word-wrap: normal; white-space: nowrap;
float: none; direction: ltr; max-width: none; max-height: none;
min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin:
0px; word-break: break-all; position: relative;">\begin{figure}[htb]
\centering
\includegraphics[width=2.9cm]{1.eps}
\includegraphics[width=2.9cm]{2.eps}
\includegraphics[width=2.9cm]{3.eps}
\includegraphics[width=2.9cm]{4.eps}
\put(-305,-10){\footnotesize{(a)}}
\put(-220,-10){\footnotesize{(b)}}
\put(-135,-10){\footnotesize{(c)}}
\put(-45,-10){\footnotesize{(d)}}
\caption{xxxxxxxxxxxxxxxxxxxxx:(a)
xxxxxxx;(b) xxxxxxxxxx; (c) xxxxxxxxxx; (d)xxxxxxxxx.} \label{fig1}
\end{figure}
\centering
\includegraphics[width=2.9cm]{1.eps}
\includegraphics[width=2.9cm]{2.eps}
\includegraphics[width=2.9cm]{3.eps}
\includegraphics[width=2.9cm]{4.eps}
\put(-305,-10){\footnotesize{(a)}}
\put(-220,-10){\footnotesize{(b)}}
\put(-135,-10){\footnotesize{(c)}}
\put(-45,-10){\footnotesize{(d)}}
\caption{xxxxxxxxxxxxxxxxxxxxx:
xxxxxxx;
\end{figure}
把xx替换为自己想加的注释即可。改变put里面的数字可以调节标号的位置,根据自己的实际情况调节。