顯示具有 Research 標籤的文章。 顯示所有文章
顯示具有 Research 標籤的文章。 顯示所有文章

2011年8月3日 星期三

使用 tocbibind 在 LaTeX 論文的目錄 (TOC) 中加入有頁數無編號的章節 References



使用 LaTeX 編寫論文時經常會遇到的問題是 Reference 不會被編進 Table of Contents (TOC) 中,常見的解決方法是

\clearpage
\addcontentsline{toc}{chapter}​{References}

不過使用這種方法經常會出現 References 的頁碼是錯誤的問題,改用 tocbibind 會是個更好的解決方法...

\usepackage[notindex,nottoc,no​tlot,notlof]{tocbibind}

2009年3月28日 星期六

使用eclipse編譯ns-2

使用eclipse編譯既有的makefile project有點麻煩,需要做一些設定
不若netbeans一樣,直接由既有的makefine建立project


先建立一個空的C++ makefile project

在project properties中,選擇C\C++ Build,取消勾選 use default build command,改成make -f Makefile,Build location改成ns2所在的資料夾。

接著在C\C++ General中,選擇Source Location,把ns2所在資料夾用 Link Folder的方式加入project。要注意的是,不要使用Import的方式加入source code,Import會把source file複製到project所在位置,而link folder則是在原位置進行編輯,僅加入檔案連結。

試著build project,應該就能成功了 :)



REF:

How to import an exist Makefile to a cdt-project