頁 2/6

Similar documents
lnag_ch_v2.01.doc

1 2

提 纲 1. 概 论 2. 科 学 论 文 各 部 分 的 写 作 3. 科 学 论 文 写 作 经 验 点 滴

中国药师 年第 卷第 期 C P m V N 左金丸源自元代 丹溪心法 的火方 由黄连和 型在线脱气机 S L A型自动进样器 CTO A型 吴茱萸两味药按照 的比例组成 近年来的现 柱温箱 日本 S m 公司 BPD型电子天平 代药理学研究表明 左金丸具有调节中枢 抑杀幽门 德国赛多利斯集团 BR

Ph m V N 中国药师 年第 卷第 期 Ch 学基础首先是开放性药物可直接经口 鼻给予 其次是应 连整个产品设计紧凑携带使用方便此外减速网也被认为 答性它富含的感受器和药物受体能对体内外刺激作出应答 是可用于降低药物微粒速度从而减少其惯性嵌顿的一种结 反射从而对调节气道的张力有重要作用 第三是吸

期 李 海 青 等 : 生 物 安 全 性 白 藜 芦 醇 合 成 酶 表 达 载 体 的 构 建 及 水 稻 遗 传 转 化 子 植 物 中 作 为 植 物 处 于 恶 劣 环 境 下 或 遭 到 病 原 体 侵 害 时, 植 物 自 身 分 泌 的 一 种 可 抵 御 病 菌 感 染 的 抗 菌

嘉義市政府暨附(所)屬機關電話禮貌測試實施要點

厦门大学硕博学位论文模板


素 4 在上述学 者 观 点 的 基 础 上本 文 认 为 员 工 需 要 一 理论与假设 同时具备创新意 识 创 新 能 力 创 新 动 机 和 创 新 机 会 才 能产生创新行为 创新 意 识 是 指 员 工 能 通 过 对 组 织 环 境 一 组织的创新战略与员工的创新行为 的解读认识到创新

目录 1 基础知识 TEX/L A TEX 及其扩展 TEX 系统下载安装 2 如何利用 L A TEX 编辑论文 3 使用模板 4 总结 2 / 74

中国科学技术大学学位论文模板示例文档

论文先人一步 L A TEX 讲座 党贵芳 图书馆信息咨询部 2015 年 12 月 13 日 1 / 62

cwTeX16765


(08) (08)

免责声明 (1) 本模板的发布遵守 The MIT License, 使 前请认真阅读协议内容 (2) 本模板为作者根据中国海洋 学教务处颁发的 中国海洋 学全 制本科毕业 ( 设计 ) 论 撰写规范 编写 成, 旨在供中国海洋 学本科毕业 撰写学位论 使 (3) 中国海洋 学教务处只提供毕业论 写

第一章

Untitiled

Miktex&WinEdt 下載並安裝 Miktex 3. 安裝完畢後,Miktex->Settings 4. 安裝中文字型跟 CJK 下載並安裝 WinEdt

一月七日

<4D F736F F D20D7CAC1CFB9DCC0EDB9E6B3CC2E646F63>

LaTeX/Beamer 与网络爬虫 Ethlisan 2/24 目录安排 1 LATEX/Beamer 介绍 2 Metropolis 主题安装 3 编辑环境与编辑器 4 网络爬虫 - 八爪鱼

p17-30.pdf

4.4 源文件结构 用法 文档布局 宏包 各类文件

X APS : Ver Windows 2000/XP, CTEX (v0.5c 2004/09/29) ctexart, L A TEX (V2.3, WinEdt 5.4 Build: , MiKTeX , CJ

穨怎樣用電腦打出一分物理試題.PDF

APA Preliminaries Text Reference 1. Cover Page 2. Title Page 3. Signature Page 4. Advisor s recommendation letter 5. Approval page 6. Copyri

1 TEX LIVE 的 安 装 2 LATEX 极 速 体 验 听 说 过 TEX 或 L A TEX? 想 立 即 体 验 L A TEX? 到 下 载 安 装 TEX Live; 打 开 编 辑 器 TeXworks, 鼠 标 copy 下 面

Table of Contents

<4D F736F F D20B2C4A447A6B8BFD4B8DFA965ADFBB77CB77CC4B3ACF6BFFD2E646F63>

國家圖書館典藏電子全文

XeTeX about:fonts

LaTeX简介


.. (,, ),(): ( (,,, (, (,,, (), ( ): (, ), ( ): (,,, (,,, (,,, ),( ): (,,, (, (,,, (,, (, ),(): ~ (, ~ (,, ~ (, ~ (,,, ), ( ), ( ): ( (,, ~ (,, ), ~ (

- - - α α

專 用 或 主 要 用 於 第 8525 至 8528 節 所 屬 器 具 之 零 件 用 於 衣 服 靴 鞋 帳 蓬 手 提 包 旅 行 用 品 或 其 他 已 製 作 品 之 卑 金 屬 搭 鈕 帶 搭 鈕 之 框 架 帶 扣 帶 扣 搭 鈕 眼 環 眼 及 其


untitled

Microsoft Word - 第三章第一節第二節.doc

國立中山大學學位論文典藏.PDF

使用 Beamer 制作学术讲稿 Ethan D. 2/21 目录安排 1 缘何 2 文档结构 3 列表环境 4 段落文本 5 帧内结构 6 图与表格 7 主题

WinMDI 28

BUAA thesis

彩圖 6 彩圖 7 彩圖 8 3

1. 將 所 有 洗 淨 瀝 水, 豬 後 腿 肉 泡 水 乾 香 菇 切 絲, 紅 蔥 頭 切 碎, 糯 米 洗 淨 浸 泡 2 小 時 後 磨 成 米 漿 2. 取 一 鍋 加 入 少 許 油, 將 紅 蔥 頭 放 入 爆 香, 再 加 入 蝦 米 香 菇 及 後 腿 肉 翻 炒 後 加 入 水

馬偕醫學院 學生事務工作簡報

JCR... 3 JCR... 3 ISI Web of Knowledge... 4 Cross Search... 5 Cross Search... 5 Cross Search ISI Web of Knowledge WOS... 8 Externa

vip.yn71.com.cn提供海量PPT模板免费下载!

「全國紡織技術論文競賽」投稿須知

关于规范区委、区委办公室发文

Microsoft Word - ??山

Microsoft Word - 助理人員教育訓練-會計室.docx

22.FIT)

北京市基本医疗保险政策解答

目 錄 壹 青 輔 會 結 案 附 件 貳 活 動 計 劃 書 參 執 行 內 容 一 教 學 內 容 二 與 當 地 教 師 教 學 交 流 三 服 務 執 行 進 度 肆 執 行 成 效 一 教 學 課 程 二 與 當 地 教 師 教 學 交 流 三 服 務 滿 意 度 調 查 伍 服 務 檢

Preparing_Seminar

\ tabularnewline 5 32 \ hline 5 33 \ cline{n-m} 6 34 \ vline 6 35 \multicolumn{ }{ }{ } \tabcolsep 7 42 \arrayrulew


研討會大綱/成果

, 即 使 是 在 昏 暗 的 灯 光 下, 她 仍 然 可 以 那 么 耀 眼 我 没 有 地 方 去, 你 会 带 着 我 么 杜 晗 像 是 在 嘲 笑 一 般, 嘴 角 的 一 抹 冷 笑 有 着 不 适 合 这 个 年 龄 的 冷 酷 和 无 情, 看 着 江 华 的 眼 神 毫 无 温

epub83-1

公開徵求廠商提供「採購專業人員訓練計畫企劃書」公告

untitled

untitled

What You Can Find with SciFinder Scholar SciFinder Scholar Area Information Available in SciFinder Scholar Document Title Information Author/inventor

CTeX FAQ

2

p-2.indd

Microsoft Word 碩專手冊封面.doc

(Microsoft Word - PK254P\262\331\327\366\312\326\262\341.doc)

谚语阐因

<4D F736F F D20D6D0CEC4B7A88C57B454CABF8C57CEBBD593CEC4D28EB9A0>

幻灯片 1

kidney GCT

Microsoft Word - 广州市番禺区2014年新型农村合作医疗管理办法实施细则.doc

<4D F736F F D20C9FABBEED6D0C0B4B5C4BDA1BFB5CAD6B2E1A3A8D6D0A3A92E646F63>

写 花 都 区 新 型 农 村 合 作 医 疗 特 殊 情 况 报 销 申 请 表, 经 村 镇 区 三 级 审 核, 同 意 后 方 可 办 理 报 销 ; 在 医 疗 机 构 住 院 者, 出 院 后 3 个 月 内 仍 未 办 理 报 销, 不 再 予 以 办 理 报 销 2. 住 院 医 疗

Ⅰ Ⅱ Ⅲ Ⅳ

NOTEBOOK COOLING PAD WITH THREE-DIMENSION SEAKERS

水土保持通报 第 31 卷 192 发现状出发分析了水电开发对生态环境产生的主要 型水电站被列入 十一五 重点项 目 31 云 南 省 水 电 问题和影响 6 王学琴 7 以岷江 嘉陵江上已 建 正建 资源的可开发程度低可开发的潜能 巨 大 云南省地 和规划设计的一些 低 水 头 河 床 式 或 引

¥]¸Ë»¡©ú

美容 丙級 工作項目0 1 : 職業道德

100-1「經典研讀:梁啟超《新民說》」學習歷程檔案

<4D F736F F D D C4EAC5A9D2B5B2FAD6B5BACDBCDBB8F1D7DBBACFCDB3BCC6B1A8B1EDD6C6B6C82E646F63>

機構職能

晶体结构立体模型建构软件-Diamond的使用

Microsoft Word - Alan Jameson's Master's Thesis.pdf

硕士论文正文

(Microsoft Word - Motion Program \270\305\264\272\276\363 \307\245\301\366 \271\327 \270\361\302\367.doc)

The Not So Short Introduction to LaTeX2e(Chinese Simplified)

<4D F736F F D20B2C4A451A447A9A1ACE3A873A5CDA4E2A5555F313034A44ABEC7BAD3A468AF5A5F2E646F63>

untitled

(Microsoft Word - \244g\246a\247B\244\275\253H\245\365\244\247\275\325\254d\254\343\250s doc)

ebook70-5

Microsoft Word - Front cover_white.doc

2/80 2

PUTeX User's Guide

!! :!!??!!?!??!!!... :... :'?'?! :' ' :'?' :'?' :'!' : :? Page 2

Transcription:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 頁 1/6 % Header % \documentclass[11pt]{article} \usepackage{epsfig, color} \usepackage[svgnames]{xcolor} \usepackage{moreverb} % source code listing \usepackage{listings} % R source code \usepackage{fancybox} \usepackage{hyperref} % links % 中文設定 % \usepackage{xltxtra, fontspec, xunicode} % 設定字體 \usepackage[slantfont, boldfont]{xecjk} % 允许斜体和粗体 % 讓中英文字體分開設置 \setcjkmainfont{ 微軟正黑體 } % 可以改用 標楷體 細明體 \XeTeXlinebreaklocale "zh" % 中文才能自動換行 \XeTeXlinebreakskip = 0pt plus 1pt % 中文才能自動換行 % R 程式碼列印設定 % \lstset{language=r, basicstyle=\ttfamily, stringstyle=\color{red}, otherkeywords={0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, morekeywords={true, FALSE}, keywordstyle=\color{blue}, commentstyle=\tt\color{darkgreen} } % Page Format % \setlength{\textheight}{23cm} \setlength{\textwidth}{16cm} \setlength{\topmargin}{-1in} \setlength{\oddsidemargin}{0in} \setlength{\evensidemargin}{0in} % renewcommand % \newcommand{\mt}{\multicolumn} \newcommand{\blue}[1]{\textcolor{blue}{#1}} \renewcommand{\contentsname}{ 目錄 } % Contents \renewcommand{\figurename}{ 圖 } % Figure \renewcommand{\tablename}{ 表 } % Table \renewcommand{\refname}{ 參考文獻 } % References \renewcommand{\listfigurename}{ 圖目錄 } % List of Figures \renewcommand{\listtablename}{ 表目錄 } % List of Tables

53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 頁 2/6 \renewcommand{\baselinestretch}{1.2} % Title % \begin{document} \title{\latex \ 教學範例文件 } \author{ 吳漢銘 \footnote{e-mail: {\it hmwu@gm.ntpu.edu.tw}} \\ {\it 國立臺北大學統計學系 }} \date{\today} \maketitle \tableofcontents \listoffigures \listoftables \clearpage % Section: Introduction % \section{ 簡介 }\label{set:intro} Hello {\Large everyone}! This {\bf is} a \LaTeX\footnote{\url{https://www.latex-project.org}} \ \textcolor{red}{example} {\tt document}. 這是一份 \LaTeX {\bf 教學文件 }, 希望大家學習愉快 \begin{itemize} \item 要找一本好的工具書來參考, 例如 Shultis (1994) \cite{shultis94} \item 安裝軟體為 MikteX (\url{https://miktex.org} ) 和 TeXStudio (\url{http://www.texstudio.org} ) \item 文件副檔名為 {\tt.tex} 有分中文文件及英文文件 \item 開啟範例檔案測試 : {\tt C:\textbackslash Program Files (x86)\textbackslash TeXstudio\textbackslash templates\textbackslash template\_article.tex} Build \ & View (F5) \item 編譯過程 : PDFLaTeX( 英文文件 ),XeLaTeX( 中英文文件 ) \item 編譯及預覽 ( 英文 ): Tools $\Rightarrow$ Build \ & View 或 Tools $\Rightarrow$ Commands $\Rightarrow$ PDFLaTeX \item 編譯及預覽 ( 中英文 )(F6): Tools $\Rightarrow$ Commands $\Rightarrow$ XeLaTeX \item 使用 \verb \label{maker} 和 \verb \ref{maker} 例如第 \ref{set:math} 節中的式子 (\ref{def:derivative} ) 是微分的定義 圖 \ref{fig:iris} 是一個散佈圖, 它在第 \pageref{fig:iris} 頁 ( 要編譯兩次以上, 才可更新目錄或編號 ) \item 自行 google 這些巨集套件的用法 : {\tt moreverb} {\tt listings} {\tt fancybox} {\tt hyperref} \item \ % 是註解符號 用 \verb \iffalse... \fi 註解一個段落 文字 a 數式 $a$ 程式碼 {\tt a} \item 線上 \LaTeX: \begin{itemize} \item \blue{\url{https://www.tutorialspoint.com/online\_latex\_editor.php}}

101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 頁 3/6 \item \blue{\url{https://www.overleaf.com}} \item \blue{\url{https://www.latex4technics.com}} \end{itemize} \item 符號表 \begin{itemize} \item 選按 \href{http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf} { The Comprehensive LaTeX Symbol List } 即可連結 \item \blue{https://oeis.org/wiki/list\_of\_latex\_mathematical\_symbols} \end{itemize} \end{itemize} % Section: Equations % \section{ 數學式 }\label{set:math} \subsection{ 文中數式 {\tt \$... \$}} \begin{enumerate} \item 大家最熟悉的ㄟ K 死霸 : $\bar{x}=\sum_{i=1}^n x_i/n$ (\verb $\bar{x}=\sum_{i=1}^n x_i/n$ ) \item 要計算 $\int_0^{\pi/2} \sin^2 x\ dx$ 很簡單 (\verb $\int_0^{\pi/2} \sin^2 x\ dx$ ) \end{enumerate} \subsection{ 單獨數式 {\tt \textbackslash[... \textbackslash]}} \begin{enumerate} \item \verb \[... \], 單一數式無標號 號稱最美的數學公式 : \\ (\verb \[ e^{i\pi} + 1 = 0. \qquad (\mbox{ 歐拉恆等式 })\] ) \[ e^{i\pi} + 1 = 0. \qquad (\mbox{ 歐拉恆等式 })\] \item \verb \begin{equation}... \end{equation}, 單一數式有標號 \\ The derivative of a function $f$ at a point $x_0$, denoted $f'(x_0)$, is \begin{equation} f'(x_0) = \lim_{h \rightarrow 0} \frac{f(x_0+h)-f(x_0)}{h} \label{def:derivative} \end{equation} provides this limit exists. \item \verb \begin{eqnarray}... &... &... \end{eqnarray}, 多數式有標號 \\ \begin{eqnarray} \lim_{x\rightarrow \infty} \left( 5 + \frac{1}{x} \right) &=& \lim_{x\rightarrow \infty} 5 + \lim_{x\rightarrow \infty} \frac{1}{x}\\ &=& 5 + 0 \\ &=& 5 \end{eqnarray} \end{enumerate} \label{ex:answer} % Section: Figure %

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 頁 4/6 \section{ 圖形 }\label{set:figure} 記得圖檔和 tex 檔要放在同一目錄, 可直接利用 \verb \ includegraphic 引入圖形 圖形分兩種格式類型 : 壓縮格式圖形 ( 例如 : JPEG/PNG 檔, 如以下 ) 和向量圖形 ( 例如 : EPS/PDF 檔, 如圖 \ref{fig:iris} ) \begin{center} \includegraphics[scale=0.3]{r_logo.svg.png} \includegraphics[scale=0.6]{rstudio.jpg} \end{center} % 全文照印環境 \begin{verbatim} \begin{center} \includegraphics[scale=0.3]{r_logo.svg.png} \includegraphics[scale=0.6]{rstudio.jpg} \end{center} \end{verbatim} \begin{figure}[htbp] \centering \includegraphics[scale=0.6]{iris.pdf} \caption{ 圖形置於 figure 環境中, 自動編號 }\label{fig:iris} \end{figure} % Section: Table % \section{ 表格 }\label{set:table} 這裡很多範例可以參考 : \url{https://en.wikibooks.org/wiki/latex/tables} \subsection*{\underline{ 簡單表格 }} 以 \verb \begin{tabular}... \end{tabular} 製作表格, 可用 \verb \begin{center}... \end{center} 置中 \\ \begin{minipage}[c]{0.5\linewidth} \begin{tabular}{l c r} \hline Software & Price & Good \\ \hline MikTeX & 56 & Yes \\ TeXstudio & 8 & Yes \\ \hline \end{tabular} \end{minipage} \begin{minipage}[c]{0.5\linewidth} \begin{verbatim} \begin{tabular}{l c r} \hline Software & Price & Good \\ \hline MikTeX & 56 & Yes \\ TeXstudio & 8 \end{tabular} \end{verbatim} & Yes \\ \hline

203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 頁 5/6 \end{minipage} \subsection*{\underline{ 置於 {\tt table} 環境裡的表格 }} \verb \begin{table}\begin{tabular}... \end{tabular} \end{table} \begin{table}[htb] \caption{characteristics of the datasets. All datasets contain no missing observations.} \label{data} \centerline{} \begin{center} \begin{tabular}{ cc rrrrr } \hline & & \mt{5}{c }{Number of attributes} \\ \cline{3-7} Data& No. of & Score &\mt{3}{c}{categorical}& Total\\ \cline{4-6} Set & Cases& & A & B & C & \\ \hline {\tt bcw} & 683 & 9 & $\times$ & $\vee$ & $\pm$ & 9 \\ {\tt cmc} & 1473 & 2 & 3 & \"{o} & 4 & 9 \\ {\tt wav} & 600 & 21& $\clubsuit$ & $\alpha$ & $\beta$ & 21 \\ \hline \end{tabular} \end{center} \end{table} % Section: Reference % \addcontentsline{toc}{section}{ 參考文獻 } \begin{thebibliography}{99} \bibitem{shultis94} Shultis, J. K., 1994, \LaTeX Notes: Practical Tips for Preparing Technical Documents, Englewood Cliffs, N.J. : PTR Prentice Hall. \bibitem{goossens94} Goossens, M., Mittelbach, F., and Samarin, A., 1994, The \LaTeX \ Companion, Reading, Mass.: Addison. \end{thebibliography} % Appendix % \addcontentsline{toc}{section}{ 附錄 } \appendix \section{ 程式碼 ( 一般 / 加框 )} 程式碼不可用細明體, 不可用 Time New Roman 字體 \\ \begin{sbox} \begin{minipage}{12cm} \begin{verbatim} rmvn.svd <- function(n, mu, Sigma){ d <- length(mu) S <- svd(sigma) R <- S$u %*% diag(sqrt(s$d)) %*% t(s$v) #sqrt Sigma

255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 Z <- matrix(rnorm(n*d), nrow=n, ncol=d) X <- Z %*% R + matrix(mu, n, d, byrow=true) X } \end{verbatim} \end{minipage} \end{sbox} \fbox{\thesbox} \section{ 程式碼 ( 編行號 )} \begin{listing}[1]{1} x <- loc.mix(1000, 0.5, rep(0, 4), 2:5, Sigma=diag(4)) r <- range(x)*1.2 par(mfrow=c(2, 2)) for(i in 1:4){ hist(x[,i], xlim=r, ylim=c(0, 0.3), freq=false, main="") } \end{listing} \section{ 程式碼 ( 語法突顯 )} \begin{lstlisting} > dice <- sample(1:6, 10, replace=true) # 丟一骰子 10 次 > dice [1] 4 3 1 2 6 6 3 5 4 3 > mean(dice) # average [1] 3.7 \end{lstlisting} 註 : 你也可以直接匯入一個 {\sf R} 程式碼檔 : \verb \lstinputlisting[language=r]{myrcode.r} \end{document} % 文件結束 document 後面的文字就不會編譯了 頁 6/6