Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

MWE:

\documentclass[12pt,a4paper,twoside]{report} 
\usepackage[top=2.5cm,inner=3cm,outer=2cm,bottom=2.5cm]{geometry}   
\usepackage[belowskip=-10pt,aboveskip=6pt]{caption} 
\usepackage{fancyhdr}
\pagestyle{fancy} 
\fancyhead[LO,LE]{\nouppercase\leftmark} 
\fancyhead[RO,RE]{\nouppercase\rightmark} 
%\fancyfoot[LO,LE]{\textsc{\uff}} 
%\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

1 Answer 1

up vote 4 down vote accepted
\documentclass[12pt,a4paper,twoside]{report}    
\usepackage[top=2.5cm,inner=3cm,outer=2cm,bottom=2.5cm]{geometry} 
\usepackage[belowskip=-10pt,aboveskip=6pt]{caption} 
\usepackage{fancyhdr}
\pagestyle{fancy} 
\fancyhead[LO,LE]{\fontsize{10}{12}\selectfont\nouppercase\leftmark} 
\fancyhead[RO,RE]{\fontsize{10}{12}\selectfont\nouppercase\rightmark}
 %\fancyfoot[LO,LE]{\textsc{\uff}} %\fancyfoot[RO,RE]{\pet} %\fancyfoot[CO,CE]{\thepage} %\renewcommand{\footrulewidth}{0.4pt} \renewcommand{\headrulewidth}{0.4pt}
\usepackage{blindtext}
\begin{document}
 \Blinddocument
\end{document}

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
1  
@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

 
discard

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.