又給老板改格式,其實感覺大多會議都是模板不同,不同主要在於注釋,作者,摘要以及引用文獻的不同,上次的那篇講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
- \bibitem[{Simon et~al.(2008)Simon, Hurst and et~al}]{_1}
- \bibinfo{author}{Simon\xfnm[ D.]}, \bibinfo{author}{Hurst\xfnm[ R.]},
- \bibinfo{author}{et~al\xfnm[]}.
- \newblock \bibinfo{title}{The EAP-TLS Authentication Protocol}.
- \newblock \bibinfo{organization}{IETF}; \bibinfo{year}{2008}.
- %Type = Manual
- \bibitem[{Funk et~al.(2008)Funk, Wilson and et~al}]{_2}
- \bibinfo{author}{Funk\xfnm[ P.]}, \bibinfo{author}{Wilson\xfnm[ S.]},
- \bibinfo{author}{et~al\xfnm[]}.
- \newblock \bibinfo{title}{Extensible Authentication Protocol Tunneled Transport
- Layer Security Authenticated Protocol}.
- \newblock \bibinfo{organization}{IETF}; \bibinfo{year}{2008}.
【由於引用順序不同,所以先引用的最先出現】
如果對生成參考文獻的風格不滿意,直接修改bbl文件,如那些逗號啦,分號啦,都可以改,不過:這樣改了之后絕對不可以再次編輯數據庫,否則中間的修改都會被覆蓋掉。
這次的主要問題是多個作者引用同一個地址,不知道asiaccs 為什么在模板中並沒有給出一個具體的使用命令的具體說明,不想SCI中直接在模板里就有,真是尼瑪的。。。
解決方法還是抄網上的案例
原始效果如下:
如果多個作者使用同一個通信地址的話,則顯得不好看,老板比較喜歡追求完美,對於作者這塊要求一定要使用同一個地址,沒辦法,倒騰了好一陣子,然后各種搜索,終於找到能使用的代碼:效果圖如下:
修改部分為:
在\begin{document}之前加入一個自定義命令
\def\sharedaffiliation{
\end{tabular}
\begin{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\titlenote{Dr.~Trovato insisted his name be first.}\\
- \email{trovato@corporation.com}
- % 2nd. author
- \alignauthor
- G.K.M. Tobin\titlenote{The secretary disavows
- any knowledge of this author's actions.}\\
- \email{webmaster@marysville-ohio.com}
- % 3rd. author
- \alignauthor Lars Th{\o}rv{\"a}ld\titlenote{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