LaTeX技巧1:latex建立參考文獻(xiàn)的超鏈接--LaTeX超級(jí)鏈接那些事兒_第1頁(yè)
LaTeX技巧1:latex建立參考文獻(xiàn)的超鏈接--LaTeX超級(jí)鏈接那些事兒_第2頁(yè)
LaTeX技巧1:latex建立參考文獻(xiàn)的超鏈接--LaTeX超級(jí)鏈接那些事兒_第3頁(yè)
LaTeX技巧1:latex建立參考文獻(xiàn)的超鏈接--LaTeX超級(jí)鏈接那些事兒_第4頁(yè)
LaTeX技巧1:latex建立參考文獻(xiàn)的超鏈接--LaTeX超級(jí)鏈接那些事兒_第5頁(yè)
已閱讀5頁(yè),還剩4頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、LaTeX 技巧 1: latex 建立參考文獻(xiàn)的超鏈接 -LaTeX 超級(jí)鏈接那些事兒在 Latex 生成的 pdf 文檔中建立超鏈接 ( 如從正文到參考 文獻(xiàn),從目錄到相應(yīng)內(nèi)容, 從頁(yè)碼編號(hào)到實(shí)際頁(yè)面等 ),有利 于讀者快速定位當(dāng)前閱讀的信息。如何在生成的 pdf 文件中包含超鏈接呢?需要注意一下兩 點(diǎn):八、1.使用“ hyperref ”這個(gè)宏包,即在 latex 文檔的導(dǎo)言部分添加“ usepackagehyperref ”;2. 使用“ PDFLaTeX ”對(duì) latex 源文件進(jìn)行編譯,不要用 “LaTeX ”編譯。這樣能確保生成的 pdf 文件中包含有可以用鼠標(biāo)進(jìn)行點(diǎn)擊的 超鏈接

2、。但是這樣存在一個(gè)問(wèn)題,就是這些包含超鏈接的文 本周?chē)鷷?huì)出現(xiàn)彩色的方框,這種方框?qū)嵲谟械K觀(guān)瞻,尤其是 當(dāng)出現(xiàn)在目錄中時(shí),大片的方框非常難看。 克服以上問(wèn)題的方法是, 不要使用 “ hyperref ”宏包的默認(rèn)屬 性,即使用如下方式引入宏包:usepackagecolorlinks,linkcolor=red, anchorcolor=blue,citecolor=greenhyperref“ colorlinks ”的意思是將超鏈接以顏色來(lái)標(biāo)識(shí),而并非使用 默認(rèn)的方框來(lái)標(biāo)識(shí)。linkcolor,anchorcolor, citecolor 分別表示用來(lái)標(biāo)識(shí) link, anchor, cit

3、e 等各種鏈接的顏色。若正式的文檔中不想使用彩色的標(biāo)識(shí),但又希望具有超鏈接 的功能,則將上例中的各種顏色換成“ black ”即可。如果您的 pdf 制作中文書(shū)簽有亂碼如下命令,就 OK 了 usepackagedvipdfm, %pdflatex,pdftex 這里決定運(yùn)行文件的方式不同pdfstartview=FitH,CJKbookmarks=true, bookmarksnumbered=true, bookmarksopen=true,( 將 colorlinkscolorlinks, % 注釋掉此項(xiàng)則交叉引用為彩色邊框 和 pdfborder 同時(shí)注釋掉 ) pdfborder=0

4、01, % 注釋掉此項(xiàng)則交叉引用為彩色邊框 linkcolor=green, anchorcolor=green,citecolor=greenhyperref 若正式的文檔中不想使用彩色的標(biāo)識(shí),但又希望具有超鏈接 的功能,則將上例中的各種顏色換成“ black ”即可。hrefURLtexturlURLnolinkurlURLhyperbaseurlURL hyperimageimageURLtexthyperdefcategorynametexthyperrefURLcategorynametexthyperreflabeltexthyperlinknametexthypertargetn

5、ametextphantomsectioncleardoublepagephantomsectionaddcontentslinetocchapterindexnameprintindexautoreflabelurl 網(wǎng)址 :生成網(wǎng)址鏈接, 以等寬字體排版; href 網(wǎng)址 描 述 :生成網(wǎng)址鏈接,以正常字體顯示描述,隱藏網(wǎng)址。 選項(xiàng)中可供設(shè)置的常用選項(xiàng)見(jiàn)下表: extension textSet the file extension (e.g. dvi)which will be appended to file links created if you use the xr packag

6、e.hyperfigures boolean backref booleanFALSEAdds backlink text to the end of each item in the bibliography, as a list of section numbers. This can only work properly if there is a blank line after each bibitem.pagebackrefbooleanFALSEAdds backlink text to the end of each item in the bibliography, as a

7、 list of page numbers.hyperindexbooleanTRUEMakes the page numbers of index entries into hyperlinks. Relays on unique page anchors (pageanchor, .)hyperfootnotesbooleanTRUEMakes the footnote marks into hyperlinks to the footnote text.Easily broken .encapSets encap character for hyperindexlinktocpagebo

8、oleanFALSEmake page number, not text, be link on TOC, LOF and LOTbreaklinks booleanFALSE allow links to break over lines by making links over multiple lines into PDF links to the same targetcolorlinksbooleanFALSEColors the text of links and anchors. The colors chosen depend on the the type of link.

9、At present the only types of link distinguished are citations, page references, URLs, local ?le references, and other links.linkcolorcolorredColor for normal internal links.anchorcolorcolorblackColor for anchor text.citecolorcolor greenColor for bibliographical citations in text. filecolor color magentaColor for URLs which open local ?les. menucolor color redColor for Acrobat menu items.runcolorcolorfileco

溫馨提示

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

評(píng)論

0/150

提交評(píng)論