Latex 初学者入门(四)-- 多个作者共享同一个地址

又给老板改格式,其实感觉大多会议都是模板不同,不同主要在于注释,作者,摘要以及引用文献的不同,上次的那篇讲bib数据库的用法,真是倒腾了一整天,不知道为什么一定要使用这种东西,而且老板貌似对人家的风格不满意,最后无意间打开了生成的中间代码,就是目录下的那个.bbl的那个文件,下面是参考中所写的代码:

[plain] view plain copy 在CODE上查看代码片派生到我的代码片
  1. @MANUAL{_1,  
  2.   title =        {The EAP-TLS Authentication Protocol},  
  3.   author =       {D Simon and R Hurst and et al},  
  4.   organization = {IETF},  
  5.   year =         {2008},  
  6. }  
  7.   
  8.   
  9. @MANUAL{_2,  
  10.   title =        {Extensible Authentication Protocol Tunneled Transport Layer Security Authenticated Protocol},  
  11.   author =       {P Funk and S Wilson and et al},  
  12.     organization = {IETF},  
  13.   year =         {2008},  
  14. }  


中间代码如下所示:

[plain] view plain copy 在CODE上查看代码片派生到我的代码片
  1. %Type = Manual  
  2. ibitem[{Simon et~al.(2008)Simon, Hurst and et~al}]{_1}  
  3. ibinfo{author}{Simonxfnm[ D.]}, ibinfo{author}{Hurstxfnm[ R.]},  
  4.   ibinfo{author}{et~alxfnm[]}.  
  5. ewblock ibinfo{title}{The EAP-TLS Authentication Protocol}.  
  6. ewblock ibinfo{organization}{IETF}; ibinfo{year}{2008}.  
  7. %Type = Manual  
  8. ibitem[{Funk et~al.(2008)Funk, Wilson and et~al}]{_2}  
  9. ibinfo{author}{Funkxfnm[ P.]}, ibinfo{author}{Wilsonxfnm[ S.]},  
  10.   ibinfo{author}{et~alxfnm[]}.  
  11. ewblock ibinfo{title}{Extensible Authentication Protocol Tunneled Transport  
  12.   Layer Security Authenticated Protocol}.  
  13. ewblock ibinfo{organization}{IETF}; ibinfo{year}{2008}.  

【由于引用顺序不同,所以先引用的最先出现】

如果对生成参考文献的风格不满意,直接修改bbl文件,如那些逗号啦,分号啦,都可以改,不过:这样改了之后绝对不可以再次编辑数据库,否则中间的修改都会被覆盖掉。

这次的主要问题是多个作者引用同一个地址,不知道asiaccs 为什么在模板中并没有给出一个具体的使用命令的具体说明,不想SCI中直接在模板里就有,真是尼玛的。。。

解决方法还是抄网上的案例
原始效果如下:

如果多个作者使用同一个通信地址的话,则显得不好看,老板比较喜欢追求完美,对于作者这块要求一定要使用同一个地址,没办法,倒腾了好一阵子,然后各种搜索,终于找到能使用的代码:效果图如下:

修改部分为:

在egin{document}之前加入一个自定义命令

defsharedaffiliation{
end{tabular}
egin{tabular}{c}}:

其目的是为了使得让内容以表格的形式显示。如果不加的话,虽然可以同时引用,但是地址栏会非常的难看。

然后引用代码如下:

[sql] view plain copy 在CODE上查看代码片派生到我的代码片
  1. author{  
  2. % You can go ahead and credit any number of authors here,  
  3. % e.g. one 'row of three' or two rows (consisting of one row of three  
  4. and a second row of one, two or three).  
  5. %  
  6. % The command alignauthor (no curly braces needed) should  
  7. % precede each author name, affiliation/snail-mail address and  
  8. % e-mail address. Additionally, tag each line of  
  9. % affiliation/address with affaddr, and tag the  
  10. % e-mail address with email.  
  11. %  
  12. % 1st. author  
  13. alignauthor  
  14. Ben Trovato itlenote{Dr.~Trovato insisted his name be first.}\  
  15.        email{trovato@corporation.com}  
  16. % 2nd. author  
  17. alignauthor  
  18. G.K.M. Tobin itlenote{The secretary disavows  
  19. any knowledge of this author's actions.}\  
  20.        email{webmaster@marysville-ohio.com}  
  21. % 3rd. author  
  22. alignauthor Lars Th{o}rv{"a}ld itlenote{This author is the  
  23. one who did all the really hard work.}\  
  24.        email{larst@affiliation.org}  
  25. and  % use 'and' if you need 'another row' of author names  
  26. % 4th. author  
  27. alignauthor Lawrence P. Leipuner\  
  28.        email{lleipuner@researchlabs.org}  
  29. % 5th. author  
  30. alignauthor Sean Fogarty\  
  31.        email{fogartys@amesres.org}  
  32. % 6th. author  
  33. alignauthor Charles Palmer\  
  34.        email{cpalmer@prl.com}  
  35. sharedaffiliation  
  36. affaddr{Shaanxi Key Laboratory of Network and System Security}\  
  37.        affaddr{School of Computer Science and Technology, Xidian University}\  
  38.        affaddr{2 South Taibai Road, Xi'an, Shaanxi, China}  
  39. }  


一定注意:这些行与行之间绝对不能出现空行,否则会提示:这样奇葩的问题

倒腾了一晚上外加早上的1个多小时,哎,还是不喜欢这样的工具排版啊。。。

from: http://blog.csdn.net/xueerfei008/article/details/17349809

原文地址:https://www.cnblogs.com/GarfieldEr007/p/5574289.html