又给老板改格式,其实感觉大多会议都是模板不同,不同主要在于注释,作者,摘要以及引用文献的不同,上次的那篇讲bib数据库的用法,真是倒腾了一整天,不知道为什么一定要使用这种东西,而且老板貌似对人家的风格不满意,最后无意间打开了生成的中间代码,就是目录下的那个.bbl的那个文件,下面是参考中所写的代码:
- @MANUAL{_1,
- title = {The EAP-TLS Authentication Protocol},
- author = {D Simon and R Hurst and et al},
- organization = {IETF},
- year = {2008},
- }
- @MANUAL{_2,
- title = {Extensible Authentication Protocol Tunneled Transport Layer Security Authenticated Protocol},
- author = {P Funk and S Wilson and et al},
- organization = {IETF},
- year = {2008},
- }
中间代码如下所示:
- %Type = Manual
- ibitem[{Simon et~al.(2008)Simon, Hurst and et~al}]{_1}
- ibinfo{author}{Simonxfnm[ D.]}, ibinfo{author}{Hurstxfnm[ R.]},
- ibinfo{author}{et~alxfnm[]}.
- ewblock ibinfo{title}{The EAP-TLS Authentication Protocol}.
- ewblock ibinfo{organization}{IETF}; ibinfo{year}{2008}.
- %Type = Manual
- ibitem[{Funk et~al.(2008)Funk, Wilson and et~al}]{_2}
- ibinfo{author}{Funkxfnm[ P.]}, ibinfo{author}{Wilsonxfnm[ S.]},
- ibinfo{author}{et~alxfnm[]}.
- ewblock ibinfo{title}{Extensible Authentication Protocol Tunneled Transport
- Layer Security Authenticated Protocol}.
- ewblock ibinfo{organization}{IETF}; ibinfo{year}{2008}.
【由于引用顺序不同,所以先引用的最先出现】
如果对生成参考文献的风格不满意,直接修改bbl文件,如那些逗号啦,分号啦,都可以改,不过:这样改了之后绝对不可以再次编辑数据库,否则中间的修改都会被覆盖掉。
这次的主要问题是多个作者引用同一个地址,不知道asiaccs 为什么在模板中并没有给出一个具体的使用命令的具体说明,不想SCI中直接在模板里就有,真是尼玛的。。。
解决方法还是抄网上的案例
原始效果如下:
如果多个作者使用同一个通信地址的话,则显得不好看,老板比较喜欢追求完美,对于作者这块要求一定要使用同一个地址,没办法,倒腾了好一阵子,然后各种搜索,终于找到能使用的代码:效果图如下:
修改部分为:
在egin{document}之前加入一个自定义命令
defsharedaffiliation{
end{tabular}
egin{tabular}{c}}:
其目的是为了使得让内容以表格的形式显示。如果不加的话,虽然可以同时引用,但是地址栏会非常的难看。
然后引用代码如下:
- author{
- % You can go ahead and credit any number of authors here,
- % e.g. one 'row of three' or two rows (consisting of one row of three
- % and a second row of one, two or three).
- %
- % The command alignauthor (no curly braces needed) should
- % precede each author name, affiliation/snail-mail address and
- % e-mail address. Additionally, tag each line of
- % affiliation/address with affaddr, and tag the
- % e-mail address with email.
- %
- % 1st. author
- alignauthor
- Ben Trovato itlenote{Dr.~Trovato insisted his name be first.}\
- email{trovato@corporation.com}
- % 2nd. author
- alignauthor
- G.K.M. Tobin itlenote{The secretary disavows
- any knowledge of this author's actions.}\
- email{webmaster@marysville-ohio.com}
- % 3rd. author
- alignauthor Lars Th{o}rv{"a}ld itlenote{This author is the
- one who did all the really hard work.}\
- email{larst@affiliation.org}
- and % use 'and' if you need 'another row' of author names
- % 4th. author
- alignauthor Lawrence P. Leipuner\
- email{lleipuner@researchlabs.org}
- % 5th. author
- alignauthor Sean Fogarty\
- email{fogartys@amesres.org}
- % 6th. author
- alignauthor Charles Palmer\
- email{cpalmer@prl.com}
- sharedaffiliation
- affaddr{Shaanxi Key Laboratory of Network and System Security}\
- affaddr{School of Computer Science and Technology, Xidian University}\
- affaddr{2 South Taibai Road, Xi'an, Shaanxi, China}
- }
一定注意:这些行与行之间绝对不能出现空行,否则会提示:这样奇葩的问题
倒腾了一晚上外加早上的1个多小时,哎,还是不喜欢这样的工具排版啊。。。
from: http://blog.csdn.net/xueerfei008/article/details/17349809