LaTeX 2e完全學習手冊

LaTeX 2e完全學習手冊

LaTeX2e,簡稱LaTeX,是一種專業的高品質文稿排版系統,目前已成為國際學術出版界廣泛使用的排版軟體。

基本介紹

  • 書名:LaTeX2e完全學習手冊
  • 作者:胡偉
  • ISBN:9787302241591
  • 定價:49.80元
  • 出版社:清華大學出版社
  • 出版時間:2011.01.01
圖書信息,內容簡介,前言,目錄,

圖書信息

作者:胡偉
定價:49.80元
印次:1-4
ISBN:9787302241591
出版日期:2011.01.01
印刷日期:2013.06.03

內容簡介

LaTeX2e,簡稱LaTeX,是一種專業的高品質文稿排版系統,目前已成為國際學術出版界廣泛使用的排版軟體。在歐美,很多大學和出版機構都推薦或要求使用LaTeX撰寫論著;在國內,已有很多大學師生採用LaTeX寫作學位論文和科研論文。
本書從LaTeX的基礎知識開始,逐步深入,直到論文寫作的實際套用,文字精煉,內容豐富,配有大量示例和圖表資料以及命令索引,並附帶DVD資料光碟,其中收錄有中文LaTeX系統和書中全部363個示例的源檔案。本書可作為LaTeX的入門教材,更適合作為大學師生、科研人員在使用LaTeX寫作論文、報告時的工具書。

前言

1978年美國著名數學家與計算機專家,史丹福大學的DonaldE.Knuth教授發明TeX排版系統,其精美的排版效果立即引起學術界和出版界的一片讚嘆,美國數學學會率先採用。1985年美國數學家與計算機專家LeslieLamport博士,在TeX的基礎上開發出更便於普通用戶掌握的LaTeX排版系統。1989年以德國數學家FrankMittelbach為首組成LaTeX3
項目小組,負責對LaTeX的維護和開發工作,並於1994年推出目前廣為使用的版本LaTeX2e。
LaTeX的缺點就是文稿編排不直觀,命令繁雜,不易短時間熟練掌握。為此,國內外許多大學、出版公司和學術會議都提供相關的LaTeX模板,以便於論文寫作。儘管如此,要想順利完成論文寫作,還是需要對LaTeX有所了解,如表格編排、插圖處理等;而且各種模板互不兼容,如果不熟悉LaTeX,就很難靈活使用和修改,也就是說,學會使用某個LaTeX模板並不等於就會使用其他模板,更不等於學會使用LaTeX寫作。
編著本書的目的是希望:初學者讀後可以無師自通,能夠自行順利地使用LaTeX完成論文寫作;對於熟悉LaTeX的讀者,可作為這方面的工具書,隨時查閱,例如遇到表格問題,可查閱\textbf{表格}一章,若是編譯出現問題,可查閱\textbf{編譯}一章,如果需要製作陳述幻燈片,可參閱幻燈片一章。
近年來國內使用最為廣泛的中文LaTeX系統是CTeX中文套裝,它所附帶的文本編輯器是WinEdt,本書就是使用CTeX在WinEdt中編寫的,書中介紹的所有LaTeX寫作方法、技巧和示例都通過了CTeX的編譯檢查。
在本書中,網站、軟體和檔案格式等專用名使用大寫羅馬體書寫;文類和宏包名使用小寫等線體書寫;環境、命令和檔案名稱使用打字機體書寫。
本書附帶有DVD資料光碟,其中的資料由兩部分組成:1、CTeX中文套裝,它分為Basic和Full兩種版本。2、本書全部363個示例的源檔案及其編譯後生成的PDF檔案。

目錄

第1章LaTeX簡介··············1
1.1LaTeX簡史···············1
1.2LaTeX的特點·············4
1.2.1排版質量高·········4
1.2.2具備註釋功能········5
1.2.3格式自動處理········5
1.2.4數學式精美·········6
1.2.5參考文獻管理········6
1.2.6可擴充性強·········6
1.2.7安全穩定靈活········6
1.2.8免費使用···········7
1.2.9通用性強···········7
1.3LaTeX的缺點·············8
1.3.1起點門檻較高········8
1.3.2可視性差···········8
1.4接受LaTeX稿件的出版社····8
1.5CTeX中文套裝簡介·········9
1.5.1安裝與測試·········10
第2章LaTeX基礎··············12
2.1源檔案的結構·············12
2.2命令····················13
2.2.1命令的構成·········13
2.2.2命令中的參數········14
2.2.3命令的種類·········14
2.2.4命令的作用範圍······15
2.2.5自定義命令·········15
2.2.6修改已有命令········18
2.2.7定義命令中的命令····19
2.2.8命令匯總···········21
2.3文類····················21
2.3.1常用文類···········22
2.3.2CTeX提供的中文文類··22
2.3.3標準文類的選項······22
2.3.4本書所用的文類及其選項
24
2.4宏包····················24
2.4.1常用宏包···········25
2.4.2宏包套件···········25
2.4.3調用宏包的方法······26
2.4.4CTAN中的宏包······26
2.5模式····················26
2.5.1左右模式···········27
2.5.2段落模式···········27
2.5.3數學模式···········27
2.6符號···················27
2.6.1符號命令的獲得······28
2.6.2專用符號···········28
2.6.3文本符號···········30
2.6.4符號的使用說明······34
2.6.5直接訪問字型檔········34
2.6.6鍵盤符號的樣式······37
2.6.7TeX家族的標識符····37
2.6.8中文標點符號的使用···37
2.7長度設定·················38
2.7.1長度單位···········38
2.7.2剛性與彈性長度······39
2.7.3長度命令···········40
2.7.4長度數據的顯示······45
2.8盒子····················46
2.8.1盒子的特點·········46
2.8.2字元盒子···········46
2.8.3左右盒子···········47
2.8.4段落盒子···········51
2.8.5線段盒子···········53
2.8.6盒子的嵌套·········54
2.8.7盒子自然尺寸的測量···54
2.8.8自定義盒子及其存取···55
2.8.9可跨頁的盒子········57
2.9計數器··················57
2.9.1計數器的名稱與用途···57
2.9.2計數器的計數形式····58
2.9.3計數器命令·········59
2.10交叉引用·················61
2.10.1書籤與引用·········61
2.10.2書籤名的樣式········62
2.10.3引用樣式的修改······62
2.11環境····················63
2.11.1環境命令的格式······63
2.11.2LaTeX和標準文類提供的環境
63
2.11.3自定義環境·········78
2.11.4修改已有環境········80
2.12加減乘除·················80
2.12.1算術宏包calc········81
2.13條件判斷·················83
2.13.1條件控制···········83
2.13.2多重條件···········86
2.13.3條件循環···········87
2.14注釋與提示···············87
2.14.1注釋符·············88
2.14.2提示命令···········88
2.14.3注釋宏包comment····89
2.15顏色····················90
2.15.1顏色模式···········90
2.15.2顏色宏包的選項······91
2.15.3顏色的定義·········91
2.15.4顏色表達式·········92
2.15.5顏色的套用·········92
2.15.6色系··············94
第3章字型···················97
3.1字型的屬性···············97
3.1.1字型的五種屬性······97
3.1.2每種屬性的可選值····97
3.2字型設定命令·············98
3.2.1三種字族的視覺效果···99
3.2.2各種字型形狀的區別···100
3.2.3複合字型設定命令····100
3.2.4點陣圖字型與向量字型···100
3.3字型尺寸命令·············101
3.4局部字型修改·············102
3.5常用字族·················102
3.5.1羅馬體字族·········103
3.5.2等線體字族·········104
3.5.3打字機體字族········105
3.6字型定義檔案·············106
3.7字型屬性命令·············107
3.7.1單項字型屬性命令····107
3.7.2綜合字型屬性命令····108
3.8全文字型修改·············108
3.8.1常規字型的定義······109
3.8.2常規字型的修改······109
3.9中文字型·················109
3.9.1中文字型宏包ctex····110
3.9.2中文字型的尺寸······113
3.9.3中文字型的選擇······113
3.9.4中文字號設定········113
3.10任意尺寸字型·············115
3.10.1採用字型屬性命令····115
3.10.2採用縮放盒子命令····115
第4章版面設計················116
4.1版面····················116
4.1.1版面元素的位置······116
4.1.2版面尺寸···········117
4.1.3版面尺寸的修改······119
4.1.4版心底部對齊········122
4.1.5局部版面調整········123
4.1.6本書版面設定········123
4.2文本格式·················123
4.2.1斷詞··············123
4.2.2連詞··············125
4.2.3字距··············125
4.2.4連體字·············127
4.2.5詞距··············128
4.2.6句距··············129
4.2.7換行··············130
4.2.8行距··············132
4.2.9段落··············134
4.2.10首行縮進···········135
4.2.11換頁··············136
4.2.12下畫線·············137
4.2.13首字下沉與上浮······139
4.3多欄排版·················140
4.3.1雙欄選項···········141
4.3.2多欄排版宏包multicol··143
4.3.3多欄標題宏包multicap·144
4.4版式—–頁眉與頁腳········146
4.4.1版式的種類·········146
4.4.2頁碼··············148
4.4.3分區版式···········149
4.4.4版式設定宏包fancyhdr·151
4.4.5本書版式設定········157
第5章標題···················158
5.1論文題名·················158
5.1.1題名信息命令········158
5.1.2題名頁環境titlepage·159
5.1.3學位論文的封面······160
5.2層次標題·················162
5.2.1標題命令···········162
5.2.2標題命令中的命令····165
5.2.3標題排序深度的調整···166
5.3層次標題格式的修改········167
5.3.1標題設定宏包titlesec··167
5.3.2預定名的修改········171
5.3.3中文標題宏包ctexcap··172
5.3.4本書層次標題格式的設定
177
5.4圖表標題·················177
5.4.1浮動環境figure和table
177
5.4.2圖表標題命令········179
5.5圖表標題格式的修改········180
5.5.1圖表標題宏包caption··180
5.5.2圖表的側標題········186
5.5.3本書圖表標題格式的設定
189
第6章表格···················190
6.1無框線表格環境tabbing·····190
6.1.1制表命令···········190
6.1.2環境特點···········192
6.2數組宏包array·············193
6.2.1表格設定···········193
6.2.2參數調整···········197
6.2.3tabbing與tabular比較
200
6.3跨行表格宏包multirow·······200
6.4跨頁表格宏包longtable······202
6.4.1格式設定···········203
6.4.2longtable環境的優缺點
206
6.4.3longtable*環境·····207
6.5多頁表格宏包supertabular····207
6.5.1標題命令···········208
6.5.2其他環境···········210
6.6可調列寬表格宏包tabularx····210
6.6.1tabularx與tabular*比較
213
6.7表格線宏包booktabs········213
6.8小數點對齊宏包dcolumn·····216
6.9對角線宏包slashbox·········217
6.10彩色表格宏包colortbl········218
6.10.1列背景顏色·········218
6.10.2行背景顏色·········219
6.10.3單元格背景顏色······220
6.10.4表格線顏色·········220
6.11顏色宏包xcolor的行顏色命令··221
6.12表格的整體縮放············222
6.13表格的使用···············223
6.13.1表格的設計原則······223
6.13.2本書的表格·········224
第7章列表···················225
7.1常規列表·················225
7.1.1常規列表的嵌套······226
7.2排序列表·················227
7.2.1排序列表的嵌套······228
7.2.2排序列表宏包enumerate
229
7.2.3排序列表的交叉引用···230
7.3解說列表·················233
7.4嵌套列表·················233
7.5列表宏包paralist···········235
7.5.1三種常規列表環境····235
7.5.2三種排序列表環境····236
7.5.3三種解說列表環境····237
7.5.4其他特點···········238
7.6通用列表環境list·········238
7.6.1條目尺寸命令········239
7.7通用列表環境trivlist······244
第8章數學式··················246
8.1數學模式·················246
8.1.1行內公式···········246
8.1.2行間公式···········247
8.2常用數學宏包·············248
8.2.1宏包組件AMSLaTeX··248
8.2.2宏包組件AMSFonts···249
8.3數學符號·················250
8.3.1運算符號···········250
8.3.2希臘字母···········251
8.3.3函式符號···········252
8.3.4圖形符號···········252
8.3.5定界符號···········253
8.3.6關係符號···········253
8.3.7箭頭符號···········254
8.3.8二元算符···········255
8.3.9其他符號···········255
8.3.10自定義符號·········258
8.4公式環境·················260
8.4.1amsmath提供的公式環境
260
8.4.2單行公式環境equa-tion
261
8.4.3數組環境array······261
8.4.4公式組環境gather····263
8.4.5公式組環境align·····263
8.4.6公式組環境flalign···264
8.4.7公式組環境alignat···264
8.4.8子公式環境subequa-tions
265
8.4.9多行公式環境mult-line
265
8.4.10多行公式環境split···266
8.4.11塊環境gathered、aligned和alignedat
266
8.4.12括弧環境cases······267
8.4.13括弧環境subnumcases·267
8.4.14括弧環境numcases····268
8.4.15公式中的文字········268
8.4.16公式的序號·········268
8.4.17公式中的上下標······271
8.4.18多行公式的換頁······271
8.4.19公式的交叉引用······272
8.5矩陣環境·················272
8.5.1行間矩陣···········272
8.5.2行內矩陣···········276
8.6定理環境·················276
8.6.1系統的定理環境······276
8.6.2定理宏包ntheorem····277
8.7交換圖··················281
8.8數學字型················281
8.8.1在WinEdt中的數學字型
281
8.8.2在TeXFriend中的數學字型
282
8.8.3字型與排版效果······282
8.8.4數學字型設定命令····284
8.9精細調整·················286
8.9.1水平間距調整········286
8.9.2垂直間距調整········288
8.9.3字元尺寸調整········289
8.9.4公式左縮進寬度調整···290
8.9.5分數式調整·········291
8.9.6根式調整···········293
8.9.7定界符調整·········294
8.9.8序號位置調整········294
8.9.9未知空白的確定······295
8.9.10重音符號調整········295
8.9.11省略號的調整········296
8.9.12字元的縮放·········297
8.9.13積分符的上下標······297
第9章插圖···················298
9.1圖形的種類···············298
9.1.1點陣圖圖形···········298
9.1.2向量圖形···········299
9.1.3點陣圖圖形與向量圖形的比較
299
9.1.4圖形格式···········299
9.2圖形的插入···············301
9.2.1插圖命令···········301
9.2.2插圖搜尋···········305
9.2.3旋轉圖形的外形尺寸變化
306
9.2.4旋轉點與圖形對齊····306
9.2.5任意對象的旋轉和縮放·307
9.2.6編譯程式與圖形格式···309
9.2.7圖形格式的轉換······310
9.3圖文繞排·················312
9.4頁面背景·················313
9.5圖形處理·················316
9.5.1圖形處理宏包overpic··316
9.6浮動體組·················318
9.6.1多個浮動體並排······318
9.6.2子浮動體組·········323
第10章正文工具················328
10.1摘要····················328
10.1.1摘要環境···········328
10.1.2自定義摘要環境······329
10.2目錄····················329
10.2.1章節目錄···········329
10.2.2目錄深度···········330
10.2.3目錄頁的頁碼········331
10.2.4目錄格式的修改······331
10.2.5插圖目錄和表格目錄···333
10.2.6目錄中的附加條目····334
10.2.7雙欄目錄···········335
10.2.8本書目錄格式的設定···336
10.3腳註····················336
10.3.1腳註命令···········336
10.3.2腳註的調整·········337
10.3.3雙欄中的腳註········339
10.3.4小頁中的腳註········339
10.3.5表格中的腳註········341
10.3.6腳註宏包footmisc·····343
10.4章節附注····················345
10.4.1章節附注宏包endnotes·····345
10.5邊注····················346
10.5.1邊注命令···········346
10.5.2邊注的位置調整······347
10.5.3邊注的使用問題······347
10.5.4邊注中的圖表········348
10.6索引····················348
10.6.1索引的創建過程······348
10.6.2輸入與輸出分類參數···351
10.6.3修改分類參數········355
10.6.4修改索引的欄數······357
10.6.5索引頁碼的連結······357
10.6.6本書的索引·········358
10.7術語表··················358
10.7.1術語表的創建過程····359
10.7.2術語表宏包的選項····361
10.8參考文獻·················363
10.8.1參考文獻環境········364
10.8.2參考文獻的引用······366
10.8.3選項openbib與文獻分段
367
10.8.4文獻管理程式BibTeX··368
10.9連結····················376
10.9.1連結宏包的選項······377
10.9.2選項設定命令········379
10.9.3網址連結···········379
10.9.4反向連結···········380
10.9.5頁碼連結···········381
10.9.6本書的連結設定······381
10.10行號····················381
10.10.1行號宏包lineno·······381
10.11附錄····················385
10.11.1附錄命令···········385
第11章編譯···················387
11.1編譯方法·················387
11.1.1使用LaTeX編譯······388
11.1.2使用PDFLaTeX編譯···389
11.1.3編譯方法的確定······389
11.2宏包安裝·················389
11.2.1程式說明檔案分解····390
11.2.2更新舊宏包·········390
11.2.3添加新宏包·········391
11.3檔案類型說明·············391
11.3.1工作檔案···········391
11.3.2輔助檔案···········393
11.4錯誤信息與警告信息········394
11.4.1編譯過程檔案········394
11.4.2錯誤信息及其處理····394
11.4.3警告信息及其處理····402
11.5子源檔案·················405
11.5.1兩種調入命令的區別···406
11.5.2子源檔案的選擇······407
11.5.3導言中的子源檔案····407
11.6命令的脆弱與堅強··········407
11.6.1脆弱命令與聯動參數···408
11.6.2常用命令的性格······408
11.7宏包衝突·················409
11.7.1宏包之間衝突········410
11.7.2宏包與系統衝突······410
11.8檔案合併·················411
11.9編譯技巧·················411
11.9.1局部編譯···········412
11.9.2命令檢查···········412
11.9.3字型檢查···········412
11.9.4正向搜尋···········413
11.9.5反向搜尋···········413
11.9.6自動打開閱讀器······413
11.9.7清理輔助檔案········414
11.9.8禁止刷新輔助檔案····414
11.9.9尋求幫助···········415
第12章浮動體處理··············416
12.1浮動體的控制參數··········416
12.1.1數量控制···········416
12.1.2比值控制···········417
12.1.3間距控制···········418
12.1.4位置控制···········419
12.1.5控制參數的調整······420
12.2浮動體的位置調整··········420
12.2.1檢查、調整和清理·····420
12.2.2afterpage宏包········421
12.2.3placeins宏包·········421
12.2.4°oat宏包···········422
12.2.5more°oats宏包·······422
第13章幻燈片—–beamer········423
13.1基本結構·················423
13.1.1幻燈文類beamer的選項
425
13.1.2幀環境·············427
13.2五類主題·················428
13.2.1外部主題···········428
13.2.2內部主題···········430
13.2.3顏色主題···········430
13.2.4字型主題···········432
13.2.5演示主題···········433
13.3創建幀··················435
13.3.1幀標題·············435
13.3.2定理類模組和示例模組·435
13.3.3三種文本模組········438
13.3.4兩種文本盒子········438
13.3.5列表··············441
13.3.6表格··············442
13.3.7多欄··············442
13.3.8插圖··············444
13.3.9影像··············445
13.4設定命令·················447
13.4.1beamer元素·········447
13.4.2樣式設定命令········448
13.4.3顏色設定命令········448
13.4.4字型設定命令········448
13.4.5舉例說明···········449
13.5數字時鐘·················452
13.6動畫命令·················452
13.7注意事項·················453
參考文獻·······················454
索引···························455
命令························455
宏包························468
環境························470·····452
13.7注意事項·················453
參考文獻·······················454
索引···························455
命令························455
宏包························468
環境···················

相關詞條

熱門詞條

聯絡我們