forked from apoorvkh/cvpr-latex-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cvpr_header.tex
36 lines (29 loc) · 920 Bytes
/
cvpr_header.tex
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
30
31
32
33
34
35
36
\ifreview \usepackage[review]{cvpr} \fi
\ifarxiv \usepackage[pagenumbers]{cvpr} \fi
\ifrebuttal \usepackage[rebuttal]{cvpr} \fi
\ifcamera \usepackage{cvpr} \fi
\input{_macros} % Add packages to _macros.tex
%% For cross-referencing labels between documents
\usepackage{xr-hyper}
\makeatletter
\newcommand*{\addFileDependency}[1]{
\typeout{(#1)}
\@addtofilelist{#1}
\IfFileExists{#1}{}{\typeout{No file #1.}}
}
\makeatother
\newcommand*{\myexternaldocument}[1]{
\externaldocument{#1}
\addFileDependency{#1.tex}
\addFileDependency{#1.aux}
}
%%
\definecolor{cvprblue}{rgb}{0.21,0.49,0.74}
\usepackage[pagebackref,breaklinks,colorlinks,allcolors=cvprblue]{hyperref}
\usepackage[capitalize]{cleveref}
\crefname{section}{Sec.}{Secs.}
\crefname{table}{Table}{Tables}
\crefname{figure}{Fig.}{Figs.}
\ifarxiv \crefname{appendix}{App.}{Apps.}
\else \crefname{appendix}{Suppl.}{Suppls.} \fi
\frenchspacing