4

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

migrated from stackoverflow.com Oct 15 '13 at 20:26

This question came from our site for professional and enthusiast programmers.

  • 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. – Torbjørn T. Oct 15 '13 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 '13 at 21:50
13

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\ }
\makeatother

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.