Skip to content

Commit

Permalink
Fix horizontal text centering (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
cr333 committed Sep 11, 2024
1 parent 3dbd193 commit f6b97e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cvpr.sty
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@
\setlength{\headheight}{0in}
\setlength{\headsep}{0in}
\setlength{\parindent}{1pc}
\setlength{\oddsidemargin}{-.304in}
\setlength{\evensidemargin}{-.304in}
\setlength{\oddsidemargin}{-0.1875in}
\setlength{\evensidemargin}{-0.1875in}


% Suppress page numbers when the appropriate option is given
Expand Down Expand Up @@ -419,10 +419,10 @@
}{
\color[rgb]{.5,.5,1}

\def\pid{\parbox{1in}{\begin{center}\bf\sf{\small \confName}\\\#\paperID\end{center}}}
\def\pid{\parbox{1in}{\begin{center}\bf\sf{\small \confName}\\\small \#\paperID\end{center}}}
\AtTextUpperLeft{%paperID in corners
\put(\LenToUnit{-65pt},\LenToUnit{45pt}){\pid}
\put(\LenToUnit{\textwidth\kern-8pt},\LenToUnit{45pt}){\pid}
\put(\LenToUnit{\textwidth-12pt},\LenToUnit{45pt}){\pid}
}
\AtTextUpperLeft{%confidential
\put(0,\LenToUnit{1cm}){\parbox{\textwidth}{\centering\cvprtenhv
Expand Down

0 comments on commit f6b97e4

Please sign in to comment.