I am trying to define the spacing between the section name and section title in latex to get something like this . How can I do it?

enter image description here

Also how can I define the margin and all at the first page to get the margin of the title of the paper from the top followed by the authors like this.

enter image description here

  • Welcome to TeX.SX! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. Oct 15, 2013 at 20:44
  • Perhaps \usepackage{cvpr}? I found a copy of cvpr.sty at pamitc.org/cvpr13/author_guidelines.php and it produces the style illustrated in your figure.
    – Dan
    Oct 15, 2013 at 21:50

1 Answer 1


The distance is defined (in the standard classes and so those that load them) by \@seccntformat, whose usual definition is

\newcommand{\@seccntformat}[1]{\csname the#1\endcsname\quad}

So the space is a quad (1em) in the current font. If you want a normal interword space, put the following magic in your preamble:

\makeatletter % access to internal commands
\renewcommand{\@seccntformat}[1]{\csname the#1\endcsname\ }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.