From 23087135454fcafa9acbc5eea8ca3850986c4eae Mon Sep 17 00:00:00 2001 From: Andrea Tagliasacchi Date: Fri, 13 Sep 2024 10:21:32 -0700 Subject: [PATCH] Updates from Overleaf --- _paper.tex | 10 +++++ rebuttal.tex => _rebuttal.tex | 77 +++++++---------------------------- _supplementary.tex | 18 ++++++++ cvpr.sty | 66 +++++++++++++++--------------- main.bib | 22 +++++++--- main.tex | 43 ++++++------------- preamble.tex | 28 +++++++++++-- sec/2_formatting.tex | 2 +- sec/X_suppl.tex | 17 -------- 9 files changed, 130 insertions(+), 153 deletions(-) create mode 100644 _paper.tex rename rebuttal.tex => _rebuttal.tex (71%) create mode 100644 _supplementary.tex delete mode 100644 sec/X_suppl.tex diff --git a/_paper.tex b/_paper.tex new file mode 100644 index 0000000..103a3bf --- /dev/null +++ b/_paper.tex @@ -0,0 +1,10 @@ +\maketitle +\input{sec/0_abstract} +\input{sec/1_intro} +\input{sec/2_formatting} +\input{sec/3_finalcopy} +{ + \small + \bibliographystyle{ieeenat_fullname} + \bibliography{main.bib} +} \ No newline at end of file diff --git a/rebuttal.tex b/_rebuttal.tex similarity index 71% rename from rebuttal.tex rename to _rebuttal.tex index ac39c93..c1785a3 100644 --- a/rebuttal.tex +++ b/_rebuttal.tex @@ -1,54 +1,10 @@ -\documentclass[10pt,twocolumn,letterpaper]{article} -\usepackage[rebuttal]{cvpr} - -% Include other packages here, before hyperref. -\usepackage{graphicx} -\usepackage{amsmath} -\usepackage{amssymb} -\usepackage{booktabs} - -% Import additional packages in the preamble file, before hyperref -\input{preamble} - -% If you comment hyperref and then uncomment it, you should delete -% egpaper.aux before re-running latex. (Or just hit 'q' on the first latex -% run, let it finish, and you should be clear). -\definecolor{cvprblue}{rgb}{0.21,0.49,0.74} -\usepackage[pagebackref,breaklinks,colorlinks,allcolors=cvprblue]{hyperref} - -% If you wish to avoid re-using figure, table, and equation numbers from -% the main paper, please uncomment the following and change the numbers -% appropriately. -%\setcounter{figure}{2} -%\setcounter{table}{1} -%\setcounter{equation}{2} - -% If you wish to avoid re-using reference numbers from the main paper, -% please uncomment the following and change the counter value to the -% number of references you have in the main paper (here, 100). -%\makeatletter -%\apptocmd{\thebibliography}{\global\c@NAT@ctr 100\relax}{}{} -%\makeatother - -%%%%%%%%% PAPER ID - PLEASE UPDATE -\def\paperID{*****} % *** Enter the Paper ID here -\def\confName{CVPR} -\def\confYear{2023} - -\begin{document} - -%%%%%%%%% TITLE - PLEASE UPDATE -\title{\LaTeX\ Guidelines for Author Response} % **** Enter the paper title here - -\maketitle -\thispagestyle{empty} -\appendix - -%%%%%%%%% BODY TEXT - ENTER YOUR RESPONSE BELOW -\section{Introduction} +\clearpage +\maketitleagain{Guidelines for Author Response} +\setcounter{page}{1} +\setcounter{section}{1} After receiving paper reviews, authors may optionally submit a rebuttal to address the reviewers' comments, which will be limited to a {\bf one page} PDF file. -Please follow the steps and style guidelines outlined below for submitting your author response. +Please follow the steps and style guidelines outlined below. The author rebuttal is optional and, following similar guidelines to previous conferences, is meant to provide you with an opportunity to rebut factual errors or to supply additional information requested by the reviewers. It is NOT intended to add new contributions (theorems, algorithms, experiments) that were absent in the original submission and NOT specifically requested by the reviewers. @@ -63,17 +19,15 @@ \section{Introduction} %------------------------------------------------------------------------- -\subsection{Response length} +\paragraph{Response length} Author responses must be no longer than 1 page in length including any references and figures. Overlength responses will simply not be reviewed. This includes responses where the margins and formatting are deemed to have been significantly altered from those laid down by this style guide. Note that this \LaTeX\ guide already sets figure captions and references in a smaller font. %------------------------------------------------------------------------ -\section{Formatting your Response} - +\section{Formatting your response} {\bf Make sure to update the paper title and paper ID in the appropriate place in the tex file.} - All text must be in a two-column format. The total allowable size of the text area is $6\frac78$ inches (17.46 cm) wide by $8\frac78$ inches (22.54 cm) high. Columns are to be $3\frac14$ inches (8.25 cm) wide, with a $\frac{5}{16}$ inch (0.8 cm) space between them. @@ -88,11 +42,10 @@ \section{Formatting your Response} Main text should be in 10-point Times, single-spaced. Section headings should be in 10 or 12 point Times. All paragraphs should be indented 1 pica (approx.~$\frac{1}{6}$ inch or 0.422 cm). -Figure and table captions should be 9-point Roman type as in \cref{fig:onecol}. +Figure and table captions should be 9-point Roman type as in \cref{fig:rebuttal}. -List and number all bibliographical references in 9-point Times, single-spaced, -at the end of your response. +List and number all bibliographical references in 9-point Times, single-spaced, at the end of your response. When referenced in the text, enclose the citation number in square brackets, for example~\cite{Alpher05}. Where appropriate, include the name(s) of editors of referenced books. @@ -103,10 +56,10 @@ \section{Formatting your Response} \caption{Example of caption. It is set in Roman so that mathematics (always set in Roman: $B \sin A = A \sin B$) may be included without an ugly clash.} - \label{fig:onecol} + \label{fig:rebuttal} \end{figure} -To avoid ambiguities, it is best if the numbering for equations, figures, tables, and references in the author response does not overlap with that in the main paper (the reviewer may wonder if you talk about \cref{fig:onecol} in the author response or in the paper). +To avoid ambiguities, it is best if the numbering for equations, figures, tables, and references in the author response does not overlap with that in the main paper (the reviewer may wonder if you talk about \cref{fig:rebuttal} in the author response or in the paper). See \LaTeX\ template for a workaround. %------------------------------------------------------------------------- @@ -116,7 +69,7 @@ \subsection{Illustrations, graphs, and photographs} Please ensure that any point you wish to make is resolvable in a printed copy of the response. Resize fonts in figures to match the font in the body text, and choose line widths which render effectively in print. Readers (and reviewers), even of an electronic copy, may choose to print your response in order to read it. -You cannot insist that they do otherwise, and therefore must not assume that they can zoom in to see tiny details on a graphic. +You cannot insist that they do otherwise, and therefore must not assume that they can zoom in to see tiny details. When placing figures in \LaTeX, it is almost always best to use \verb+\includegraphics+, and to specify the figure width as a multiple of the line width as in the example below {\small\begin{verbatim} @@ -131,7 +84,5 @@ \subsection{Illustrations, graphs, and photographs} { \small \bibliographystyle{ieeenat_fullname} - \bibliography{main} -} - -\end{document} + \bibliography{main.bib} +} \ No newline at end of file diff --git a/_supplementary.tex b/_supplementary.tex new file mode 100644 index 0000000..250f408 --- /dev/null +++ b/_supplementary.tex @@ -0,0 +1,18 @@ +\clearpage +\maketitleagain{Supplementary Material} + +The supplementary can be compiled together with the main paper, therefore: +% +\begin{itemize} +\item The supplementary can back-reference sections of the main paper, for example, we can refer to \cref{sec:intro}; +\item The main paper can forward reference sub-sections within the supplementary explicitly (e.g. referring to a particular experiment); +\item When submitted to arXiv, the supplementary will already included at the end of the paper. +\item To submit the supplementary, use the \verb|\includeonly{| command to avoid typesetting the paper itself. +\item You can also add citations that you may have missed~\cite{Alpher2005}. +\end{itemize} + +{ + \small + \bibliographystyle{ieeenat_fullname} + \bibliography{main.bib} +} diff --git a/cvpr.sty b/cvpr.sty index d7d3da1..6745aac 100644 --- a/cvpr.sty +++ b/cvpr.sty @@ -10,18 +10,12 @@ % use as % \documentclass[times,10pt,twocolumn]{article} % \usepackage[options]{cvpr} -% \usepackage{times} % % "options" should be replaced by % * "review" for submitting a paper for review, % * "final" for the camera ready, and -% * "rebuttal" for the author rebuttal. +% * "pagenumbers" for arxiv % -% specify references as -% {\small -% \bibliographystyle{ieee} -% \bibliography{...your files...} -% } % --------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e}[1999/12/01] @@ -34,17 +28,26 @@ \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{booktabs} +\RequirePackage[sectionbib]{chapterbib} \RequirePackage[numbers,sort&compress]{natbib} \setlength{\bibsep}{1pt plus 1pt minus 1pt} +% --------------------------------------------------------------- + \RequirePackage{silence} % Suppress unwanted warnings \hbadness=10000 \vbadness=10000 \vfuzz=30pt \hfuzz=30pt \WarningFilter{latexfont}{Font shape declaration} \WarningFilter{latex}{Font shape} \WarningFilter{hyperref}{Token not allowed in a PDF string} -\WarningFilter[rebuttal]{latex}{No \author given} +\WarningFilter{chapterbib}{The sectionbib option changes} + +% --------------------------------------------------------------- + \RequirePackage{etoolbox} +% Define cvprblue color used for all links +\definecolor{cvprblue}{rgb}{0.21,0.49,0.74} + % Use modern caption package to allow for sub-figures etc. % Reproduces the original CVPR/ICCV style as closely as possible. \RequirePackage[format=plain,labelformat=simple,labelsep=period,font=small,compatibility=false]{caption} @@ -52,21 +55,14 @@ \newtoggle{cvprfinal} % Camera-ready version -\newtoggle{cvprrebuttal} % Rebuttal \newtoggle{cvprpagenumbers} % Force page numbers (in camera ready) \toggletrue{cvprfinal} -\togglefalse{cvprrebuttal} \togglefalse{cvprpagenumbers} \DeclareOption{review}{\togglefalse{cvprfinal}\toggletrue{cvprpagenumbers}} -\DeclareOption{rebuttal}{\togglefalse{cvprfinal}\toggletrue{cvprrebuttal}} \DeclareOption{pagenumbers}{\toggletrue{cvprpagenumbers}} \DeclareOption*{\PackageWarning{cvpr}{Unkown option `\CurrentOption'}} \ProcessOptions\relax -% Don't warn about missing author for rebuttal -\iftoggle{cvprrebuttal}{% - \ActivateWarningFilters[rebuttal] -}{} % Breaking lines for URLs in the bib \RequirePackage[hyphens]{url} @@ -278,23 +274,22 @@ \def\@maketitle{ \newpage \null - \iftoggle{cvprrebuttal}{\vspace*{-.3in}}{\vskip .375in} \begin{center} - % smaller title font only for rebuttal - \iftoggle{cvprrebuttal}{{\large \bf \@title \par}}{{\Large \bf \@title \par}} + % print the title + {\Large \bf \@title \par} % additional two empty lines at the end of the title - \iftoggle{cvprrebuttal}{\vspace*{-22pt}}{\vspace*{24pt}}{ + \vspace*{24pt} + { \large \lineskip .5em \begin{tabular}[t]{c} \iftoggle{cvprfinal}{ \@author - }{ - \iftoggle{cvprrebuttal}{}{ - Anonymous \confName~submission\\ - \vspace*{1pt}\\ - Paper ID \paperID - } + } + { + Anonymous Submission + \\[.5em] + Paper ID \paperID } \end{tabular} \par @@ -458,26 +453,33 @@ % --------------------------------------------------------------- -%% redefine the \title command so that a variable name is saved in \thetitle, and provides the \maketitlesupplementary command +%% redefine the \title command so that a variable name is saved in \thetitle, and provides the \maketitleagain command \let\titleold\title \renewcommand{\title}[1]{\titleold{#1}\newcommand{\thetitle}{#1}} -\def\maketitlesupplementary +\newcommand\maketitleagain[1] { \newpage \twocolumn[ \centering \Large - \textbf{\thetitle}\\ - \vspace{0.5em}Supplementary Material \\ - \vspace{1.0em} + \textbf{\thetitle} + \\ + \vspace{.5em} + #1 + \vspace{1em} ] %< twocolumn } % --------------------------------------------------------------- -%% Support for easy cross-referencing (e.g. \cref{sec:intro} -% configured with \AtEndPreamble as it needs to be called after hyperref + \AtEndPreamble{ + \usepackage[pagebackref,breaklinks,colorlinks,allcolors=cvprblue]{hyperref} + + %% + %% Support for easy cross-referencing (e.g. \cref{sec:intro}) + %% WARNING: needs to be called after hyperref + %% \usepackage[capitalize]{cleveref} \crefname{section}{Sec.}{Secs.} \Crefname{section}{Section}{Sections} diff --git a/main.bib b/main.bib index b7d7057..b84c77b 100644 --- a/main.bib +++ b/main.bib @@ -102,10 +102,20 @@ @article{Alpher04 year = 2004 } -@inproceedings{Alpher05, -author = {FirstName Alpher and FirstName Gamow}, -title = {Can a computer frobnicate?}, -booktitle = CVPR, -pages = {234--778}, -year = 2005 +@article{Alpher2005, + author = {FirstName Alpher and FirstName Fotheringham-Smythe}, + title = {Frobnication revisited (yet again)}, + journal = {Journal of Foos}, + volume = 13, + number = 1, + pages = {34--78}, + year = 2005 } + +@inproceedings{Alpher05, + author = {FirstName Alpher and FirstName Gamow}, + title = {Can a computer frobnicate?}, + booktitle = {CVPR}, + pages = {234--778}, + year = 2005 +} \ No newline at end of file diff --git a/main.tex b/main.tex index 42c4a22..67fd183 100644 --- a/main.tex +++ b/main.tex @@ -1,32 +1,21 @@ % CVPR 2025 Paper Template; see https://github.com/cvpr-org/author-kit - \documentclass[10pt,twocolumn,letterpaper]{article} %%%%%%%%% PAPER TYPE - PLEASE UPDATE FOR FINAL VERSION -% \usepackage{cvpr} % To produce the CAMERA-READY version -\usepackage[review]{cvpr} % To produce the REVIEW version -% \usepackage[pagenumbers]{cvpr} % To force page numbers, e.g. for an arXiv version +\usepackage[review]{cvpr} % For the REVIEW version +% \usepackage[pagenumbers]{cvpr} % For the arXiv version +% \usepackage{cvpr} % For the CAMERA-READY version -% Import additional packages in the preamble file, before hyperref +%%%%%%%%% Import additional packages in the preamble file \input{preamble} -% It is strongly recommended to use hyperref, especially for the review version. -% hyperref with option pagebackref eases the reviewers' job. -% Please disable hyperref *only* if you encounter grave issues, -% e.g. with the file validation for the camera-ready version. -% -% If you comment hyperref and then uncomment it, you should delete *.aux before re-running LaTeX. -% (Or just hit 'q' on the first LaTeX run, let it finish, and you should be clear). -\definecolor{cvprblue}{rgb}{0.21,0.49,0.74} -\usepackage[pagebackref,breaklinks,colorlinks,allcolors=cvprblue]{hyperref} - %%%%%%%%% PAPER ID - PLEASE UPDATE \def\paperID{*****} % *** Enter the Paper ID here \def\confName{CVPR} \def\confYear{2025} %%%%%%%%% TITLE - PLEASE UPDATE -\title{\LaTeX\ Author Guidelines for \confName~Proceedings} +\title{\LaTeX\ Author Guidelines for \confName~\confYear~Proceedings} %%%%%%%%% AUTHORS - PLEASE UPDATE \author{First Author\\ @@ -45,19 +34,13 @@ {\tt\small secondauthor@i2.org} } -\begin{document} -\maketitle -\input{sec/0_abstract} -\input{sec/1_intro} -\input{sec/2_formatting} -\input{sec/3_finalcopy} -{ - \small - \bibliographystyle{ieeenat_fullname} - \bibliography{main} -} - -% WARNING: do not forget to delete the supplementary pages from your submission -% \input{sec/X_suppl} +%%%%%%%%% SELECT WHAT TO TYPESET - SELECT ONE +\includeonly{_paper} +% \includeonly{_supplementary} +% \includeonly{_rebuttal} +\begin{document} +\include{_paper} +\include{_supplementary} +\include{_rebuttal} \end{document} diff --git a/preamble.tex b/preamble.tex index 53747b0..5901f63 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,10 +1,30 @@ -% -% --- inline annotations -% +%% +%% load additional packages +%% +\usepackage{graphicx} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{booktabs} +\usepackage{blindtext} + +%% +%% inline annotations +%% \newcommand{\red}[1]{{\color{red}#1}} \newcommand{\todo}[1]{{\color{red}#1}} \newcommand{\TODO}[1]{\textbf{\color{red}[TODO: #1]}} -% --- disable by uncommenting +% disable by uncommenting below % \renewcommand{\TODO}[1]{} % \renewcommand{\todo}[1]{#1} +%% +%% tightens underlining from \ul{....} +%% +% \usepackage{soul} +% \setuldepth{foobar} + +%% +%% optimizes typesetting further (usually saves some space) +%% +% \usepackage{microtype} + diff --git a/sec/2_formatting.tex b/sec/2_formatting.tex index a3c05f0..948f25c 100644 --- a/sec/2_formatting.tex +++ b/sec/2_formatting.tex @@ -102,7 +102,7 @@ \subsection{References} When referenced in the text, enclose the citation number in square brackets, for example~\cite{Authors14}. Where appropriate, include page numbers and the name(s) of editors of referenced books. -When you cite multiple papers at once, please make sure that you cite them in numerical order like this \cite{Alpher02,Alpher03,Alpher05,Authors14b,Authors14}. +When you cite multiple papers at once, please make sure that you cite them in numerical order like this \cite{Alpher02,Alpher03,Authors14b,Authors14}. If you use the template as advised, this will be taken care of automatically. \begin{table} diff --git a/sec/X_suppl.tex b/sec/X_suppl.tex deleted file mode 100644 index f472415..0000000 --- a/sec/X_suppl.tex +++ /dev/null @@ -1,17 +0,0 @@ -\clearpage -\setcounter{page}{1} -\maketitlesupplementary - - -\section{Rationale} -\label{sec:rationale} -% -Having the supplementary compiled together with the main paper means that: -% -\begin{itemize} -\item The supplementary can back-reference sections of the main paper, for example, we can refer to \cref{sec:intro}; -\item The main paper can forward reference sub-sections within the supplementary explicitly (e.g. referring to a particular experiment); -\item When submitted to arXiv, the supplementary will already included at the end of the paper. -\end{itemize} -% -To split the supplementary pages from the main paper, you can use \href{https://support.apple.com/en-ca/guide/preview/prvw11793/mac#:~:text=Delete%20a%20page%20from%20a,or%20choose%20Edit%20%3E%20Delete).}{Preview (on macOS)}, \href{https://www.adobe.com/acrobat/how-to/delete-pages-from-pdf.html#:~:text=Choose%20%E2%80%9CTools%E2%80%9D%20%3E%20%E2%80%9COrganize,or%20pages%20from%20the%20file.}{Adobe Acrobat} (on all OSs), as well as \href{https://superuser.com/questions/517986/is-it-possible-to-delete-some-pages-of-a-pdf-document}{command line tools}. \ No newline at end of file