LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx

上传人:b****5 文档编号:15787565 上传时间:2022-11-16 格式:DOCX 页数:6 大小:15.99KB
下载 相关 举报
LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx_第1页
第1页 / 共6页
LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx_第2页
第2页 / 共6页
LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx_第3页
第3页 / 共6页
LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx_第4页
第4页 / 共6页
LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx_第5页
第5页 / 共6页
点击查看更多>>
下载资源
资源描述

LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx

《LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx》由会员分享,可在线阅读,更多相关《LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx(6页珍藏版)》请在冰豆网上搜索。

LaTeX技巧1latex建立参考文献的超链接LaTeX超级链接那些事儿文档格式.docx

克服以上问题的方法是,不要使用“hyperref”宏包的默认属性,即使用如下方式引入宏包:

\usepackage[colorlinks,

linkcolor=red,

anchorcolor=blue,

citecolor=green

]{hyperref}

“colorlinks”的意思是将超链接以颜色来标识,而并非使用默认的方框来标识。

linkcolor,

anchorcolor,citecolor分别表示用来标识link,anchor,

cite等各种链接的颜色。

若正式的文档中不想使用彩色的标识,但又希望具有超链接的功能,则将上例中的各种颜色换成“black”即可。

如果您的pdf制作中文书签有乱码如下命令,就OK了

\usepackage[dvipdfm,%pdflatex,pdftex这里决定运行文件的方式不同

pdfstartview=FitH,

CJKbookmarks=true,

bookmarksnumbered=true,

bookmarksopen=true,

colorlinks,%注释掉此项则交叉引用为彩色边框(将colorlinks和pdfborder同时注释掉)

pdfborder=001,%注释掉此项则交叉引用为彩色边框

linkcolor=green,

anchorcolor=green,

]{hyperref}

\href{URL}{text}

\url{URL}

\nolinkurl{URL}

\hyperbaseurl{URL}

\hyperimage{imageURL}{text}

\hyperdef{category}{name}{text}

\hyperref{URL}{category}{name}{text}

\hyperref[label]{text}

\hyperlink{name}{text}

\hypertarget{name}{text}

\phantomsection

\cleardoublepage

\addcontentsline{toc}{chapter}{\indexname}

\printindex

\autoref{label}

\url{网址}:

生成网址链接,以等宽字体排版;

\href{网址}{描述}:

生成网址链接,以正常字体显示描述,隐藏网址。

选项中可供设置的常用选项见下表:

extension

text

Setthefileextension(e.g.dvi)

whichwillbeappendedtofilelinkscreatedifyouusethexr

package.

 

hyperfigures

boolean

backref

FALSE

Adds‘backlink’texttotheendofeachiteminthe

bibliography,asalistofsectionnumbers.Thiscanonlywork

properlyifthereisablanklineaftereach\bibitem.

pagebackref

bibliography,asalistofpagenumbers.

hyperindex

TRUE

Makesthepagenumbersofindexentriesintohyperlinks.Relays

onuniquepageanchors(pageanchor,...)

pageanchorsandplainpages=false.

hyperfootnotes

Makesthefootnotemarksintohyperlinkstothefootnotetext.

Easilybroken...

encap

Setsencapcharacterforhyperindex

linktocpage

makepagenumber,nottext,belinkonTOC,LOFandLOT

breaklinks

allowlinkstobreakoverlinesbymakinglinksovermultiple

linesintoPDFlinkstothesametarget

colorlinks

Colorsthetextoflinksandanchors.Thecolorschosendepend

onthethetypeoflink.Atpresenttheonlytypesoflink

distinguishedarecitations,pagereferences,URLs,local?

le

references,andotherlinks.

linkcolor

color

red

Colorfornormalinternallinks.

anchorcolor

black

Colorforanchortext.

citecolor

green

Colorforbibliographicalcitationsintext.

filecolor

magenta

ColorforURLswhichopenlocal?

les.

menucolor

ColorforAcrobatmenuitems.

runcolor

Colorforrunlinks(launchannotations).

urlcolor

cyan

ColorforlinkedURLs.

frenchlinks

usesmallcapsinsteadofcolorforlinks

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1