Skip to content

Commit 2917585

Browse files
taiyacr333
andauthored
teaser w/ strip and preamble tweaks (#65)
* teaser w/ strip and preamble tweaks * Apply suggestions from code review Co-authored-by: Christian Richardt <christian@richardt.name>
1 parent 217fe76 commit 2917585

5 files changed

Lines changed: 35 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You may find the 2024 version [here](https://github.com/cvpr-org/author-kit/rele
1616
- added natbib for CVPR 2024 by [Christian Richardt](https://richardt.name/)
1717
- replaced buggy (review-mode) line numbering for 3DV 2024 by [Adín Ramírez Rivera
1818
](https://openreview.net/profile?id=~Ad%C3%ADn_Ram%C3%ADrez_Rivera1)
19-
- setup github repo of author-kit [Andrea Tagliasacchi](https://theialab.ca)
19+
- setup github repo of author-kit for 3DV 2025 by [Andrea Tagliasacchi](https://theialab.ca)
2020
- modernized for CVPR 2022 by [Stefan Roth](mailto:stefan.roth@NOSPAMtu-darmstadt.de)
2121
- created cvpr.sty file to unify review/rebuttal/final versions by [Ming-Ming Cheng](https://github.com/MCG-NKU/CVPR_Template)
2222
- developed CVPR 2005 template by [Paolo Ienne](mailto:Paolo.Ienne@di.epfl.ch) and [Andrew Fitzgibbon](mailto:awf@acm.org)

fig/teaser.tex

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
\begin{strip}
2+
\centering
3+
\includegraphics[width=.33\linewidth]{example-image-golden}\hfill
4+
\includegraphics[width=.33\linewidth]{example-image-golden}\hfill
5+
\includegraphics[width=.33\linewidth]{example-image-golden}
6+
\captionsetup{hypcap=false}
7+
\captionof{figure}{\textbf{Teaser} -- example of a 2-column teaser. This figure appears at the top of the first page, and a two-column teaser is not mandatory.}
8+
\captionsetup{hypcap=true}
9+
\label{fig:\currfilebase}%
10+
\end{strip}

main.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
\begin{document}
4949
\maketitle
50+
\input{fig/teaser}
5051
\input{sec/0_abstract}
5152
\input{sec/1_intro}
5253
\input{sec/2_formatting}

preamble.tex

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
%% This file contains a number of tweaks that are typically applied to the main document.
22
%% They are not enabled by default, but can be enabled by uncommenting the relevant lines.
33

4+
5+
%%
6+
%% Official support for 2-column teaser figure
7+
%%
8+
\usepackage{cuted} %< for strip environment
9+
10+
%%
11+
%% For auto-referencing of figures (see fig/teaser.tex and \label{} therein)
12+
%%
13+
\usepackage{currfile} %< for \currfilebase macro
14+
15+
%%
16+
%% caption and (global) spacing overrides
17+
%%
18+
\usepackage{caption} %< for "\captionof" commands (teaser)
19+
% \setlength{\abovecaptionskip}{.5em} % space above caption
20+
% \setlength{\belowcaptionskip}{1em} % space below caption
21+
422
%%
523
%% Inline annotations; for predefined colors, refer to "dvipsnames" in the xcolor package:
624
%% https://tinyurl.com/overleaf-colors
@@ -48,3 +66,7 @@
4866
%%
4967
% \usepackage{soul}
5068
% \setuldepth{foobar}
69+
70+
%%
71+
%% Reconfigure paragraph (tweaks spacing)
72+
%%

sec/2_formatting.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ \subsection{Cross-references}
9292
\end{verbatim}}
9393
command. Here is an example:
9494
\begin{quotation}
95-
\Cref{fig:onecol} is also quite important.
95+
\Cref{fig:onecol} is quite important, but \Cref{fig:teaser} typically even more so, as it's the first figure the reader will see.
9696
\end{quotation}
9797

9898
%-------------------------------------------------------------------------

0 commit comments

Comments
 (0)