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 wrote a text in LaTeX with the font size as 12 pt. Now, when I create a headline the size is also 12pt.

How can I change only the size of the headline? I need a 10 pt size for headlines.


%\fancyfoot[RO,RE]{\pet} %\fancyfoot[CO,CE]{\thepage} 
%\renewcommand{\footrulewidth}{0.4pt} \renewcommand{\headrulewidth}{0.4pt}

ps: sorry about the bad english

share|improve this question
ok. Like o can see i´m new around here. sorry – feedback Nov 8 '12 at 1:04
Please add a minimal working example (MWE) that illustrates your problem. It is considered a lot better to put in some code that will compile, as it makes it a lot easier for us to copy it into our text editor and work with it, and see exactly what it is you are trying to do. In your case: which documentclass do you use? Did you special configuration in your preamble for paper layout? – Kurt Nov 8 '12 at 1:04
The code is very extensive and i dont how to put in here in same that same guys do. – feedback Nov 8 '12 at 1:07
sorry but when i press enter it begins a news post – feedback Nov 8 '12 at 1:08
up vote 5 down vote accepted
 %\fancyfoot[LO,LE]{\textsc{\uff}} %\fancyfoot[RO,RE]{\pet} %\fancyfoot[CO,CE]{\thepage} %\renewcommand{\footrulewidth}{0.4pt} \renewcommand{\headrulewidth}{0.4pt}

Since you want the font size of 10pt, you may also use \footnotesize instead of \fontsize{10}{12}\selectfont as noted by Enrico.

share|improve this answer
Harish Kumar what is the meaning of the 12 that you include on the fontsize? – feedback Nov 8 '12 at 1:20
Harish Kumar, your solution works fine. Thanks – feedback Nov 8 '12 at 1:22
@HarishKumar: Isn’t the inter line space the space between the lines? I’d say the 12 give the baseline skip/the space between two baselines … – Tobi Nov 8 '12 at 1:29
Sorry Wiki says inter line spacing is synonym … – Tobi Nov 8 '12 at 1:30
You might want to say \footnotesize instead of \fontsize{10}{12}\selectfont. – egreg Nov 8 '12 at 7:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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