1
2
3
4
| %导言区
makeatletter
@addtoreset{chapter}{part}
makeatother |
%导言区
makeatletter
@addtoreset{chapter}{part}
makeatother
1
2
3
| %导言区
usepackage{caption}
captionsetup{labelsep=period, tablewithin=section} |
%导言区
usepackage{caption}
captionsetup{labelsep=period, tablewithin=section}
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
| %导言区
usepackage{booktabs,longtable}
usepackage{multirow}
usepackage{tabu}
%正文区
begin{longtabu}{X[1,c]X[1,c]X[1,c]X[1,c]X[2,c]X[2,c]}
caption[短标题]{长标题。}
label{table:LABEL}
toprule
Chr & Position & Gene & Variation & Type & Effect
midrule
endfirsthead
(续ref{table:LABEL})
toprule
Chr & Position & Gene & Variation & Type & Effect
midrule
endhead
midrule
multicolumn{6}{r}{待续ldots}
endfoot
bottomrule
endlastfoot
1 & 999 & ABC & AT & Splicing Site mutation & Frame Shift
%此处省略N行
%注意:最后一行一定要有换行符(),否则编译出错
tabuphantomline
end{longtabu} |
%导言区
usepackage{booktabs,longtable}
usepackage{multirow}
usepackage{tabu}
%正文区
begin{longtabu}{X[1,c]X[1,c]X[1,c]X[1,c]X[2,c]X[2,c]}
caption[短标题]{长标题。}
label{table:LABEL}
toprule
Chr & Position & Gene & Variation & Type & Effect
midrule
endfirsthead
(续ref{table:LABEL})
toprule
Chr & Position & Gene & Variation & Type & Effect
midrule
endhead
midrule
multicolumn{6}{r}{待续ldots}
endfoot
bottomrule
endlastfoot
1 & 999 & ABC & AT & Splicing Site mutation & Frame Shift
%此处省略N行
%注意:最后一行一定要有换行符(),否则编译出错
tabuphantomline
end{longtabu}
- 参考文献相关的包(每个部分拥有独立的参考文献,重置每部分参考文献的计数器,等)
1
2
3
4
5
6
| %导言区
usepackage{hypernat}
usepackage{bibunits}
usepackage[super,square,numbers,sort&compress,numbers]{natbib}
letnewpartpart
renewcommand{part}{setcounter{NAT@ctr}{0}newpart} |
%导言区
usepackage{hypernat}
usepackage{bibunits}
usepackage[super,square,numbers,sort&compress,numbers]{natbib}
letnewpartpart
renewcommand{part}{setcounter{NAT@ctr}{0}newpart}
1
2
3
4
5
6
7
8
9
| %导言区
usepackage[closeFloats]{fltpage}
%正文区
begin{FPfigure}
centering
includegraphics[width=14cm]{XXX.jpg}
caption[短标题]{非常长的标题。}
label{figure:LABEL}
end{FPfigure} |
%导言区
usepackage[closeFloats]{fltpage}
%正文区
begin{FPfigure}
centering
includegraphics[width=14cm]{XXX.jpg}
caption[短标题]{非常长的标题。}
label{figure:LABEL}
end{FPfigure}
1
2
| %导言区
usepackage{textcomp} |
%导言区
usepackage{textcomp}
1
2
3
4
5
6
7
8
9
10
11
| %导言区
usepackage{pdflscape}
%正文区
begin{landscape}
begin{figure}[!htbp]
centering
includegraphics[width=19cm]{XXX.jpg}
caption[短标题]{长标题。}
label{figure:LABEL}
end{figure}
end{landscape} |
%导言区
usepackage{pdflscape}
%正文区
begin{landscape}
begin{figure}[!htbp]
centering
includegraphics[width=19cm]{XXX.jpg}
caption[短标题]{长标题。}
label{figure:LABEL}
end{figure}
end{landscape}
1
2
3
4
5
| %导言区
usepackage{lineno}
%正文区
pagewiselinenumbers
linenumbers |
%导言区
usepackage{lineno}
%正文区
pagewiselinenumbers
linenumbers
1
2
3
4
| %导言区
usepackage{pdfpages}
%正文区
includepdf[addtotoc={1,chapter,1,TITLE,LABEL},pages=-,scale=0.9,offset=0cm 0cm]{FILE.pdf} |
%导言区
usepackage{pdfpages}
%正文区
includepdf[addtotoc={1,chapter,1,TITLE,LABEL},pages=-,scale=0.9,offset=0cm 0cm]{FILE.pdf}
1
2
3
4
| %彩色超链接
hypersetup{CJKbookmarks,bookmarksnumbered,colorlinks,linkcolor=blue,citecolor=blue}
%黑白超链接
hypersetup{CJKbookmarks,bookmarksnumbered,colorlinks,allcolors=black} |
%彩色超链接
hypersetup{CJKbookmarks,bookmarksnumbered,colorlinks,linkcolor=blue,citecolor=blue}
%黑白超链接
hypersetup{CJKbookmarks,bookmarksnumbered,colorlinks,allcolors=black}
1
2
| cleardoublepage
phantomsection |
cleardoublepage
phantomsection
1
| addcontentsline{toc}{chapter}{插图} |
addcontentsline{toc}{chapter}{插图}
- 一个部分(part)的完整示例(包括:独立参考文献,修改页眉,修正链接,等)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| %使用独立的参考文献
begin{bibunit}
%修正超链接
cleardoublepage
phantomsection
%向表格目录和插图目录中添加part信息
addcontentsline{lof}{part}{TITLE}
addcontentsline{lot}{part}{TITLE}
part{TITLE}
%页眉中显示当前part的题目
title{TITLE}
%页眉中显示当前chapter的名称
chaptermark{CHAPTER}
include{CHAPTER}
putbib[bib/BIB]
cleardoublepage
phantomsection
end{bibunit} |
%使用独立的参考文献
begin{bibunit}
%修正超链接
cleardoublepage
phantomsection
%向表格目录和插图目录中添加part信息
addcontentsline{lof}{part}{TITLE}
addcontentsline{lot}{part}{TITLE}
part{TITLE}
%页眉中显示当前part的题目
title{TITLE}
%页眉中显示当前chapter的名称
chaptermark{CHAPTER}
include{CHAPTER}
putbib[bib/BIB]
cleardoublepage
phantomsection
end{bibunit}
相关