運用LaTeX寫作講解課件_第1頁
運用LaTeX寫作講解課件_第2頁
運用LaTeX寫作講解課件_第3頁
運用LaTeX寫作講解課件_第4頁
運用LaTeX寫作講解課件_第5頁
已閱讀5頁,還剩55頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

運用LaTeX寫作?

引言?軟件工具?

LaTeX語法?

新增package大綱2020/1/22下載2020/1/24LaTeX

Features

2.以編譯器程序(如pdflatex等)編譯

LaTeX相關(guān)檔案LaTeX特點

3.產(chǎn)生pdf檔

1.編輯tex檔引自LaTeX網(wǎng)頁(xetex,

luatex)tex軟件工具2020/1/25TeX

Distributions

各類作業(yè)系統(tǒng)LaTeX套裝軟件2020/1/26

MiKTeX?

MiKTeX

console?

TeXworks

/downloadWindows

開始功能表下載8TeXworks預(yù)覽區(qū)工具列編輯區(qū)選單列狀態(tài)列!

選擇編譯程序標(biāo)題列/texmaker/TeXMaker下載TeXMaker系統(tǒng)設(shè)定開啟新檔.pdf.tex

Overleaf/可免費注冊或

升級付費服務(wù).tex.pdfOverleaf開啟項目編譯上傳檔案開新目錄開新檔案選單開啟項目模版Overleaf-TemplatePhysical

Review2020/1/2Overleaf-

Documentation在線教學(xué)文件LaTeX語法2020/1/215學(xué)位論文?封面(標(biāo)題、作者)

?

致謝?摘要?

目錄(含圖、表)?本文(章節(jié))

?

附錄?參考文獻期刊論文?標(biāo)題、作者

?摘要?本文(章節(jié))

?

附錄?參考文獻學(xué)位、期刊論文格式2020/1/2

16宣告區(qū)\begin{document}本文區(qū)\end{document}.tex文件-基本架構(gòu)

設(shè)定文件類別\documentclass[a4paper,12pt]{article}

\usepackage[utf8]{inputenc}

book,

report

…2020/1/2

17設(shè)定文件環(huán)境2020/1/2

18\documentclass[a4paper,12pt]{article}

\pdfoutput=1\usepackage{jheppub}\documentclass[reprint,amsmath,amssymb,

aps]{revtex4-2}

范例Physical

Review

期刊

宣告范例JHEP

期刊宣告范例Titles\title{標(biāo)題名稱}\author{作者名稱}\affil{研究單位名稱}\date{\today}\maketitle\begin{abstract}……

\end{abstract}

\title{First

Doctument}\author{Hubert

Farnsworth}\affil{Departmentof

Biology,

UniversityX}\date{\today}

\begin{abstract}This

isasimple

paragraphatthe

begining

of

thedocument.A

brief

introductiontothe

mainsubject.

\end{abstract}\documentclass[a4paper,12pt]{article}

\usepackage[utf8]{inputenc}設(shè)定標(biāo)題、作者等范例\maketitle設(shè)定摘要2020/1/220\begin{document}\end{document}\usepackage{authblk}

\title{

First

Doctument}%\author{

Hubert

Farnsworth}

\author

[1]{Alice

thanks{smith@gmail.com}}

\author

[2]{Hubert

Farnsworth}

\affil

[1,2]{Department

of

Mathematics,

University

X}

\affil

[2]{Department

Biology,

University

X}\date{\today}

\begin{abstract}This

isasimple

paragraphatthe

begining

of

thedocument.A

brief

introductiontothe

mainsubject.\end{abstract}\end{document}

范例\documentclass[a4paper,12pt]{article}

\usepackage[utf8]{inputenc}設(shè)定作者編號\maketitle

對應(yīng)作者編號2020/1/221\begin{document}\documentclass[a4paper,12pt,twoside\usepackage{xeCJK}\begin{document}\begin{titlepage}\begin{center}\vspace{0.5cm}\LARGEDepartment

Name\\University

Name\\MasterThesis/Doctoral

Dissertation\vspace{1.5cm}\textbf{ThesisTitle}\vspace{1.5cm}\textbf{Author

Name}\vfill\textbf{Adivisor:

Prof.

Name}

\vspace{0.8cm}Date\end{center}\end{titlepage}\end{document}]{book}\usepackage{xeCJK}\usepackage{fontspec}

\setmainfont{Times

New

Roman}\setCJKmainfont{kaiu.ttf}設(shè)定使用Times

NewRoman及標(biāo)楷體字體

編譯程序改用XeLaTeX

范例

2020/1/222

調(diào)整間距

中文字

跳行

粗體

置中\(zhòng)\Sections\chapter{名稱}\section{名稱}\end{abstract}\documentclass[a4paper,12pt]{article}\title{…..}\author{……}\date{……}\begin{document}\maketitle\begin{abstract}…….

設(shè)定章節(jié)

范例\end{document}24\chapter*{Abstract}Abstractgoes

here\chapter*{Dedication}To

mumand

dad\chapter*{Declaration}I

declarethat..\chapter*{Acknowledgements}

I

want

to

thank...\chapter{Chapter

1}……..\chapter{Chapter

2}……..

\title{…..}\author{……}\date{……}\begin{document}\documentclass[a4paper,12pt]{book}范例frontmatter2020/1/225

設(shè)定章節(jié)\end{document}Appendix\appendix\section{名稱}or\chapter{名稱}2020/1/2\begin{document}\section{Introduction}……..\section{SecondSection

}……..\begin{subappendices}\subsection{

How

I

became

inspired}...\end{subappendices}

設(shè)定章節(jié)附錄\documentclass[a4paper,12pt]{article}\title{…..}\author{……}\date{……}\appendix\section{SectionA}……\usepackage{appendix}\appendixpage范例設(shè)定附錄\end{document}Tableof

Contents\tableofcontents\documentclass[a4paper,12pt]{article}\begin{document}\maketitle設(shè)定目錄\section{Introduction}…..\end{document}\usepackage{hyperref}\tableofcontents范例設(shè)定超連結(jié)2020/1/229\chapter*{Abstract}\addcontentsline{toc}{chapter}{Abstract}

Abstractgoes

here\chapter*{Acknowledgements}\addcontentsline{toc}{chapter}{Acknowl

edgements}I

want

to

thank...\documentclass[a4paper,12pt]{book}\begin{document}

范例\chapter{FirstChapter}\end{document}宣告前頁章節(jié)宣告正文章節(jié)\mainmatter\frontmatter2020/1/230\tableofcontentsBibliography\begin{thebibliography}{99}

\bibitem

{名稱}文獻書目資料……\end

{thebibliography}\cite{名稱}

文獻筆數(shù),上限為992020/1/2\begin{thebibliography}{99}\end{thebibliography}\documentclass[a4paper,12pt]{article}\begin{document}

范例\bibitem{einstein}Albert

Einstein.

..\bibitem{knuthwebsite}Knuth.

..\bibitem{latexcompanion}Michel

Goossens,

..設(shè)定文獻目錄\end{document}2020/1/2\begin{document}This

document

isanexample

ofthebibliography

environment

using

inbibliography

management.Three

items

are

cited:The

LaTeXCompanion

book\cite{

latexcompanion},the

Einstein

paper

\cite{einstein},and

theDonald

Knuth'swebsite\cite{knuthwebsite}.

The

LaTeX

related

items

are\cite{latexcompanion,knuthwebsite}.文獻目錄指令\documentclass[a4paper,12pt]{article}范例

設(shè)定引用文獻\end{document}

設(shè)定文獻名稱

范例:.bib檔案bibbib檔案欄位filename.bib2020/1/234檔案范例范例:.bib檔案pdflatexfilename.texbibtexfilename.texpdflatexfilename.tex\bibliographystyle{plain}

\bibliography{sample

bib}設(shè)定引用bib檔案制作文獻

目錄plain,

abbrv,acm,

alpha,

apalike,

ieeetr,siam,

unsrtTeXMaker編譯注意事項文獻目錄格式選項\documentclass[a4paper,12pt]{article}\begin{document}…bibliographystyle2020/1/235\end{document}Figures\begin{figure}[ht]\centering

height,scale\includegraphics

[width=8cm]

{文件名稱}

\caption{說明文字}\label{名稱}\end{figure}\usepackage{graphicx}\graphicspath{{./images/}

}

設(shè)定檔案路徑

height

:設(shè)定高度scale

:設(shè)定比例\begin{figure}[ht]\centering\includegraphics[width=4cm]{Image

}\caption{An

imageofaflower}\label{fig:flower}\end{figure}

范例\usepackage{graphicx}\documentclass[a4paper,12pt]{article}……..

設(shè)定插入圖片2020/1/237\begin{document}\end{document}\usepackage{wrapfig}

設(shè)定文繞圖效果

范例\usepackage{sidecap}圖片文字置右

2020/1/238

范例\usepackage{subcaption}設(shè)定插入子圖片設(shè)定插入子圖片

設(shè)定插入子圖片2020/1/239List

of

Figures\listoffigures范例\tableofcontents設(shè)定圖片目錄

圖片格式注意事項2020/1/241\begin{table}[]\begin{tabular}{

|c|c|

}\hline

列邊線

內(nèi)容

&

內(nèi)容

\\\hline內(nèi)容

&

內(nèi)容

\\\hline\end{tabular}|

:欄

C

:置邊線中

表格內(nèi)容&

:分

\\

:換隔不同欄位行\(zhòng)caption{說明文字}\label{標(biāo)簽}\end{table}Tables表格環(huán)境\begin{tabular}{|l|

c|r|

}

\hlineitem11&

item12

&

item13\\

\hlineitem21&

item22

&

item23\\

\hline\end{tabular}2020/1/243

范例設(shè)定無邊線表格全部有邊線表格部分含邊線表格2020/1/244設(shè)定插入子表格

設(shè)定插入子表格

I

范例List

ofTables\listoftables

范例

設(shè)定表格目錄2020/1/246?

Math

modes?

Symbols?

Equations?

MatrixMathematical

Expressions\begin{eqnarray*}

2x-

5

y&

=&

8\\

3x+

9y&

=&

-12

\end{eqnarray*}

Math

modes\begin{equation}x^n+

y^n&

=&

z^n\end{equation}$x^2

+

y^2

=

z^2

$\(x^2

+

y^2

=

z^2

\)$$x^n

+

y^n

=

z^n

$$\[x^n

+

y^n

=

z^n\]

可編號引用可編號引用2020/1/248Symbols

余弦函數(shù)語法

數(shù)學(xué)符號語法2020/1/2

49Equations2020/1/250\frac{1}

{2}\sum_{n=1}

^{\infty}2^{-n}=

1\int_{a}^x^2

dx\oint_{V}f

(s)

ds\iint_{V}

\mu

(u,v)dudv\idotsint_{V}\mu

(u_1,\dots,

u_k)du_1\dots

du_k

數(shù)學(xué)表示式語法\begin{equation}

\left

(

\begin{tabular}

1&

5&

8

\\

0&

2&

4\\

3&

3&

-8

\end{tabular}

\right

)\end{equation}\left

\{\begin{tabular}

1&

5&

8

\\

0&

2&

4\\

3&

3&

-8\end{tabular}

Matrix

\right

\}

\end{equation}

矩陣元素

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論