1 / 21

LaTeX

LaTeX. 2010/07/16 王森弘. 操作環境. LaTeX (F10). save (F2). PS2PDF (Alt+F11). dvi2ps (F11). 檔案標籤. 常用快速鍵. 存檔 (F2) 尋找 (F5) 取代 (F6) 復原 (Ctrl+z) 剪下 (Ctrl+x) 、複製 (Ctrl+c) 、貼上 (Ctrl+v) 編輯 LaTeX 的順序: F10 → F10 →F11→ alt+F11. 英文輸入原則. 空一行即開始新的一段 輸入一個空白跟多個連續的空白,編輯後都只會有一個空白 要輸入多個空白用 ~

dillan
Download Presentation

LaTeX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LaTeX 2010/07/16 王森弘

  2. 操作環境 LaTeX (F10) save (F2) PS2PDF (Alt+F11) dvi2ps (F11) 檔案標籤

  3. 常用快速鍵 • 存檔 (F2) • 尋找 (F5) • 取代 (F6) • 復原 (Ctrl+z) • 剪下(Ctrl+x)、複製 (Ctrl+c)、貼上(Ctrl+v) • 編輯LaTeX的順序: • F10 → F10 →F11→ alt+F11

  4. 英文輸入原則 • 空一行即開始新的一段 • 輸入一個空白跟多個連續的空白,編輯後都只會有一個空白 • 要輸入多個空白用~ • 新的一段開始會自動保留與前段間距,如不保留在前一段的最末處加\par • 新的一段開始會自動內縮,如不內縮在前頭加上\noindent • 粗體 \textbf{粗體}斜體\textit{斜體} 正體 \txtrm{正體}

  5. 文稿結構 \documentclass[12pt,a4paper]{article} \begin{document} \newpage \setcounter{page}{1} \pagenumbering{roman} \tableofcontents \newpage \listoffigures \newpage \listoftables \fontsize{12}{24pt}\selectfont \newpage \setcounter{page}{1} \pagenumbering{arabic} \section{Introduction} \section{System Model} \subsection{OFDM systems} \subsubsection{Transmitter} \end{document}

  6. 常用指令 • 開始新的一頁 \newpage • 本頁不顯示頁碼 \thispagestyle{empty} • 設定頁碼計數器值 \setcounter{page}{1} • 設定字體大小與行高 \fontsize{12}{24pt}\selectfont

  7. 方程式 • 文章中要輸入方程式或變數用寫在 $$裡面 • vector $\mathbf{g}$→ vector g • $X_k[n]$ → Xk[n] • $X^{2m}$ → X2m • 輸入單行方程式與文字一起排版 \begin{equation} X=Y+Z \end{equation}

  8. 方程式 • \usepackage{amsmath} • 輸入多行方程式與文字一起排版 \begin{align} X&=Y+Z,\\ a&=b+c. \end{align} • 不給編號 \notag • 自訂編號 \tag{5}

  9. 方程式 • \usepackage{array} • 矩陣 \left[\begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array}\right] • x[n]=\left\{\begin{array}{cc} \frac{1}{2}, & n=0\\0,&\textrm{otherwise}\end{array}\right.

  10. 圖片 \begin{figure}[t] \centering \includegraphics[width = 6.5in]{OFDM_PAPR_JNL_fig02.eps} \caption{Architecture of Proposed Scheme III.}\label{PS_III} \end{figure}

  11. 圖片 • 在LaTeX中,圖片要使用eps檔 • 如何獲得eps檔: • MATLAB:直接save as,檔案類型選eps • VISIO: • 先到頁面設定→紙張大小→選大小符合繪圖內容 • 另存新檔為PDF檔,再使用Acrobat Professional另存eps檔。

  12. 表格 \begin{table}[t] \caption{Values of $u_{i2}$, $u_{i3}$, $u_{i4}$, $i=1,2,3,4$.}\label{coefficient_u} \begin{center} \begin{tabular}{c|c|c|c} \hline \hline $i$ & $u_{i2}$ & $u_{i3}$ & $u_{i4}$\\ \hline ~~~~~1~~~~~ & ~~~~~1~~~~~ & ~~~~~1~~~~~ & ~~~~~1~~~~~\\ \hline ~~~~~2~~~~~ & ~~~~~$j$~~~~~ & ~~~~$-1$~~~~~ & ~~~~$-j$~~~~~\\ \hline ~~~~~3~~~~~ & ~~~~$-1$~~~~~ & ~~~~~1~~~~~ & ~~~~$-1$~~~~~\\ \hline ~~~~~4~~~~~ & ~~~~$-j$~~~~~ & ~~~~$-1$~~~~~ & ~~~~~$j$~~~~~\\ \hline \hline \end{tabular}% \end{center} \end{table}

  13. 表格

  14. 表格 \begin{table}[t] \caption{Computational complexity of various schemes for the OFDM system}\label{CC_analysis_OFDM} \begin{center} \begin{tabular}{c|c|c} \hline \hline & $\begin{array}{c} \textrm{Number of Complex}~\\ \textrm{Multiplications} \end{array}$ & $\begin{array}{c} \textrm{Number of Complex}~\\ \textrm{Additions}\end{array}$ \\ \hline $\begin{array}{c} \textrm{Traditional}~\\ \textrm{SLM Scheme} \end{array}$ & $(MLN/2) \cdot \log_2(LN)$ & $MLN \cdot \log_2(LN)$ \\ \hline $\begin{array}{c} \textrm{W\&O}~\textrm{Scheme} \end{array}$ & $(LN/2) \cdot \log_2(LN)$ & $\begin{array}{c}LN \cdot \log_2(LN)\\+3(M-1)LN\end{array}$ \\ \hline $\begin{array}{c} \textrm{Proposed}~\\ \textrm{Scheme I}\end{array}$ & $\begin{array}{c}(LN/2)\cdot \log_2(LN)\end{array}$ & $\begin{array}{c}LN \cdot \log_2(LN)\\+(M+7)LN\end{array}$\\ \hline $\begin{array}{c} \textrm{Proposed}~\\ \textrm{Scheme II}\end{array}$ & $\begin{array}{c}LN\cdot \log_2(LN)\end{array}$ & $\begin{array}{c}2LN \cdot \log_2(LN)\\+(M+14)LN\end{array}$\\ \hline $\begin{array}{c} \textrm{Proposed}~\\ \textrm{Scheme III}\end{array}$ & $\begin{array}{c}(LN/2)\cdot \log_2(LN)\end{array}$ & $\begin{array}{c}LN \cdot \log_2(LN)\\+3MLN\end{array}$\\ \hline \hline \end{tabular} \end{center} \end{table}

  15. 表格

  16. 表格 \begin{table}[t] \caption{Computational complexity of various schemes for the OFDMA system} \label{CC_analysis} \begin{center} \extrarowheight=1pt \doublerulesep=1pt \tabcolsep=-0.5pt \begin{tabular}{c|c|c|c} \hline \hline & \multicolumn{2}{c}{$\begin{array}{c} \textrm{Number of Complex}\\ \textrm{Multiplications} \end{array}$}\vline & $\begin{array}{c} \textrm{Number of Complex}\\ \textrm{Additions}\end{array}$ \\ \hline $\begin{array}{c} \textrm{Traditional} \\ \textrm{SLM Scheme} \end{array}$ & \multicolumn{2}{c}{$(MLN/2) \cdot \log_2(LN)$}\vline & $MLN \cdot \log_2(LN)$ \\ \hline \multirow{6}*{$\begin{array}{c} \textrm{Proposed}\\\textrm{Scheme II}\\ \textrm{with $Q$ IFFTs}\\ \textrm{for Interleaved}\\ \textrm{OFDMA}\end{array}$} & $~\Psi=2~$ & $(QLN/2)\!\cdot\! \log_2(LN)$ & \multirow{6}*{$\begin{array}{c}QLN \cdot \log_2(LN) \\+QLN(1+1/\Psi)\\ +(M\!-\!Q)\!\cdot\! (LN/\Psi)\end{array}$}\\ \cline{2-3}&$~\Psi=4~$ & $\begin{array}{c} (QLN/2)\!\cdot\! \log_2(LN)\\ +QLN\end{array}$ & \\ \cline{2-3}&$~\Psi\geq 8~$ & $\begin{array}{c} (QLN/2)\!\cdot\! \log_2(LN) \\ +QLN\\+(\Psi-1)\cdot LN/\Psi\end{array}$& \\ \hline $\begin{array}{c} \textrm{Proposed}\\\textrm{Scheme II}\\ \textrm{with $Q$ IFFTs}\\ \textrm{for Sub-band}\\ \textrm{OFDMA}\end{array}$ & \multicolumn{2}{c}{$\begin{array}{c}(QLN/2)\cdot \log_2(LN)\end{array}$} \vline& $\begin{array}{c}QLN \cdot \log_2(LN) \\+2QLN\\ +(M-Q)\cdot LN\end{array}$\\ \hline \hline \end{tabular}% \end{center} \end{table}

  17. Reference \begin{thebibliography}{99} \bibitem{clyo} % SLM C.-L. Wang and Y. Ouyang, ``Low-complexity selected mapping schemesfor peak-to-average power ratio reduction in OFDM systems,“\emph{IEEE Trans. Signal Process.}, vol. 53, no. 12, pp. 4652-4660,Dec. 2005. \end{thebibliography}

  18. 圖表參照 • the values shown in TABLE \ref{coefficient_u} • Figure \ref{PS_III} presents the architecture of • traditional SLM scheme, Wang and Ouyang~\cite{clyo}

  19. 編號 • \numberwithin{equation}{section} • \numberwithin{figure}{section} • \numberwithin{table}{section}

  20. 定理 • \newtheorem{theo}{Theorem}[section] • \newtheorem{lemm}{Lemma}[section] • \begin{theo} \end{theo} • \begin{proof} \end{proof}

  21. 作業

More Related