TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing a paper that requires the section titles to be in 12pt font, I can get the title to be in 12pt using:

\section{\fontsize{12}{15}\selectfont Introduction}

but the section number does not change size, is there a way to do this?

I've also tried looking at titlesec but have not been able to find any suitable examples.

share|improve this question

marked as duplicate by Werner, Kurt, Thorsten, Gonzalo Medina, Martin Schröder Mar 19 '13 at 17:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.sx! You should look up the titlesec package, which makes it easy to customise the formatting of section-unit titles. – Jubobs Mar 19 '13 at 16:56
Thanks Werner, couldn't find that when searching. – andy mcevoy Mar 19 '13 at 17:53
up vote 21 down vote accepted

Here's one possibility using the sectsty package:




\section{Test Section}


The titlesec package could also be used:




\section{Test Section}


enter image description here

share|improve this answer
This is helpful to see how to set the font size to a specified pt size. – stvn66 Jun 2 '15 at 13:38

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