Saturday, April 7, 2012

Latex : 產生一份基本的文件


以下文件複製貼上就可以開始寫了~

\documentclass[11pt]{report}   


\usepackage{graphics}
\usepackage{subfigure}
\usepackage[chapter]{algorithm}
\usepackage{algpseudocode}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{amsmath}
\usepackage{graphics}
\usepackage{epsfig}
\usepackage{booktabs,threeparttable}
\usepackage{amsmath,amsthm,amsfonts,amscd} 
\usepackage{eucal}    % Euler fonts
\usepackage{verbatim}       % Allows quoting source with commands.
\usepackage{makeidx}        % Package to make an index.
\usepackage{epsfig}          % Allows inclusion of eps files.
\usepackage{url}  % Allows good typesetting of web URLs.
\usepackage{color}  % 允許文字上色
\usepackage{booktabs} % 三線表格
\renewcommand{\arraystretch}{1.3} %調整table間距


\makeatother %<--重新定義編號的樣式 (預設是 0.1 Section Title, 可改成 1. Section title) 
%\renewcommand{\thesection}{你所想要的Section編號樣式} 

%Ex以下範例
\renewcommand{\thesection}{1} 
\renewcommand{\thechapter}{1}







\title{Optical Communication HW3}
\author{Sih-Ying Wu}   % Required
\date{Ver \today}





\begin{document}
\maketitle       %<-----記得這個要寫在裡面(in Texmaker)

\section{Introduction}

Start to write


\end{document}


No comments:

Post a Comment