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. \bibitem[{Simon et~al.(2008)Simon, Hurst and et~al}]{_1}  
  3. \bibinfo{author}{Simon\xfnm[ D.]}, \bibinfo{author}{Hurst\xfnm[ R.]},  
  4.   \bibinfo{author}{et~al\xfnm[]}.  
  5. \newblock \bibinfo{title}{The EAP-TLS Authentication Protocol}.  
  6. \newblock \bibinfo{organization}{IETF}; \bibinfo{year}{2008}.  
  7. %Type = Manual  
  8. \bibitem[{Funk et~al.(2008)Funk, Wilson and et~al}]{_2}  
  9. \bibinfo{author}{Funk\xfnm[ P.]}, \bibinfo{author}{Wilson\xfnm[ S.]},  
  10.   \bibinfo{author}{et~al\xfnm[]}.  
  11. \newblock \bibinfo{title}{Extensible Authentication Protocol Tunneled Transport  
  12.   Layer Security Authenticated Protocol}.  
  13. \newblock \bibinfo{organization}{IETF}; \bibinfo{year}{2008}.  

【由於引用順序不同,所以先引用的最先出現】

如果對生成參考文獻的風格不滿意,直接修改bbl文件,如那些逗號啦,分號啦,都可以改,不過:這樣改了之后絕對不可以再次編輯數據庫,否則中間的修改都會被覆蓋掉。

這次的主要問題是多個作者引用同一個地址,不知道asiaccs 為什么在模板中並沒有給出一個具體的使用命令的具體說明,不想SCI中直接在模板里就有,真是尼瑪的。。。

解決方法還是抄網上的案例
原始效果如下:

如果多個作者使用同一個通信地址的話,則顯得不好看,老板比較喜歡追求完美,對於作者這塊要求一定要使用同一個地址,沒辦法,倒騰了好一陣子,然后各種搜索,終於找到能使用的代碼:效果圖如下:

修改部分為:

在\begin{document}之前加入一個自定義命令

\def\sharedaffiliation{
\end{tabular}
\begin{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\titlenote{Dr.~Trovato insisted his name be first.}\\  
  15.        \email{trovato@corporation.com}  
  16. % 2nd. author  
  17. \alignauthor  
  18. G.K.M. Tobin\titlenote{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\titlenote{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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM