2011年7月24日 星期日

[tex] 目錄有超連結功能

用pdflatex去compile。

目錄就有超連結的功能

但cwtex compile之後,在用pdflatex去compile會有問題。




%preamble



\documentclass{article}






\usepackage{multicol}












\title{\Huge 3653}



\author{



\Huge FKC \thanks{\LARGE Test Department.}}



\date{\Huge \today}















\renewcommand{\contentsname}{\center Menu}






\usepackage{graphicx}












\setcounter{tocdepth}{5} % set the depth of menu



\setcounter{secnumdepth}{4}% How depth number do you want to display.












\newcommand{\pic}{D:/cwtex/SMC-8414/pic/} %圖片檔放置的目錄
























% 調整版面,節省紙張。



\addtolength{\textwidth}{1.1in}



\addtolength{\oddsidemargin}{-.6in}



\addtolength{\textheight}{1.1in}



\addtolength{\topmargin}{-.6in}






\usepackage[dvips,colorlinks=true]{hyperref} %方括號內之 dvips 選項表示要以 dvips 轉換為 PS, 再輸出為 PDF。 若使用 pdfla-tex 排版, 則選項應為 pdftex。









%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%









\begin{document}






\maketitle



\newpage



\tableofcontents






\newpage









\flushcolumns






%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\section{Call Feature}









\subsection{Outgoing call / Incoming call}



A\footnote{Cable Modem A} \hspace{2cm} B\footnote{Cable Modem B} \\



A pick up the phone - A hear dial tone - A call B \\



B hear ring back tone \& check B can show A`s number. \\



A \& B can talk with each other \\



你好









\vspace{1cm}









參見\href{http://ccms.ntu.edu.tw/~ntut019}{cwTeX 網頁}。


















\section{Call Feature}









\subsection{Outgoing call / Incoming call}



A\footnote{Cable Modem A} \hspace{2cm} B\footnote{Cable Modem B} \\



A pick up the phone - A hear dial tone - A call B \\



B hear ring back tone \& check B can show A`s number. \\



A \& B can talk with each other \\












\vspace{1cm}










































\end{document}

0 意見:

張貼留言