2012年6月30日 星期六

[latex][hyperlink][reference] The sample of reference and cite


\documentclass[12pt,a4paper]{article}

%加這個就可以設定字體

\usepackage{fontspec}

%使用xeCJK,其他的還有CJK或是xCJK

\usepackage{xeCJK}

\usepackage{graphicx}%----要加入這個才有圖型的效果----%

%設定英文字型,不設的話就會使用預設的字型

\setmainfont{Times New Roman}

%設定中英文的字型

%字型的設定可以使用系統內的字型,而不用像以前一樣另外安裝

\setCJKmainfont{標楷體}

%中文自動換行

\XeTeXlinebreaklocale "zh"

%文字的彈性間距

\XeTeXlinebreakskip = 0pt plus 1pt

%設定段落之間的距離

\setlength{\parskip}{0.3cm}

%設定行距

\linespread{1.5}\selectfont







\begin{document}

Lab 1 環境設定



5. 關於本文件



本文件以 reStructuredText 格式編撰, 並可使用 docutils 工具轉換成 HTML 或 LaTeX 各類格式。



Please see Figure ~\ref{jobInformationDialog} for a prototype yada yada yada





\pagebreak

\begin{figure}[here]

\includegraphics[width=0.9\textwidth]{./lab01_setPath.png}

\caption{A prototype of the Job Information dialog}

\label{jobInformationDialog}

\end{figure}



\cite{thinfilm_macleod_2001}





% LaTeX/Bibliography Management

% http://en.wikibooks.org/wiki/LaTeX/Bibliography_Management



% latex latex_source_code.tex

% bibtex latex_source_code.aux

% latex latex_source_code.tex

% latex latex_source_code.tex



% \bibliography{my_bib}

% Have a my_bib.bib file

% Using sudo apt-get install jabref to edit this file.




\bibliographystyle{plain}

\bibliography{my_bib}





\end{document}

Related Posts:

0 意見:

張貼留言