I want to have different font size for chapter 1 and its name . means chapter 1 lets suppose in font size 17 and its name lets say Introduction in size 25. I can not do the by


Here is some code

\usepackage{xtocinc} %Include Table of Contents as the first entry in TOC
\pagestyle{fancy} \lhead{} \chead{} \rhead{} \lfoot{}
\cfoot{\thepage} \rfoot{}
\DeclareFieldFormat[article]{title}{\mkbibquote{#1}} % make article titles in quotes
\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}} % make theses italics

%\newcommand{\red}[1] {\textcolor{red}{#1}}
%\newcommand{\blue}[1] {\textcolor{blue}{#1}}


\def\insert{\mbox{\rm insert}}
\def\rotate{\mbox{\rm rotate}}
\def\op{\mbox{\rm op}}
\def\Proof{\noindent {\bf Proof.\ \ }}
\def\Remark{{\bf Remark.\ \ }}\def\ex{{\rm ex}}

\unskip\nobreak\hfill\vrule height5pt width4pt depth2pt\medskip\fi
\ifmmode\eqno{\vrule height5pt width4pt depth2pt}\fi}



\title{ }

%\{Thesis Document}
\dedicate{ }

\author{ }


\typeout{:?000000000} % Don't bother with over/under-full boxes
\typeout{:?111111111} % Process All Errors from Here on
% ------------------------------------------------------------------------

% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------

thats the complete code

  • 3
    Can you provide the community with a minimal working example (MWE)? Your request depends heavily on the document class you're using, so it would be helpful if you could supply that as well (in the form of a MWE, of course). – Werner Jul 14 '14 at 17:09
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – user31729 Jul 14 '14 at 17:16
  • @Werner I am using the following – user59079 Jul 14 '14 at 17:40
  • 1
    Please add that code in your post window, not as a comment. And it should be MWE ( (meta.tex.stackexchange.com/q/228)) – user31729 Jul 14 '14 at 17:51
  • 1
    @user59079: A minimal example gets rid of unnecessary packages and % comments in front of \setlength commands basically not used – user31729 Jul 14 '14 at 18:40

A redefinition of the internal \@makechapterhead:

\usepackage{mathptmx}%% Instead of times which is obsolete
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
         Chapter~\thechapter\quad%%%%  Or \par instead of \quad
    \vskip 40\p@


enter image description here

| improve this answer | |
  • yes this much is achieved but i want Chapter 1 written in font size 17 and Foo (name of chapter) in font size 25. i mean instead of writing 1 for chapter i need chapter 1 – user59079 Jul 16 '14 at 7:22
  • Replace \Huge with \fontsize{25}{26}\selectfont. Similiar for \large. That's all – user2478 Jul 16 '14 at 7:24
  • that will still show 1 foo i need chapter 1 instead of 1 then in next line foo – user59079 Jul 16 '14 at 7:30
  • Instead of \thechapter write Chapter \thechapter – user2478 Jul 16 '14 at 7:32
  • its not working – user59079 Jul 16 '14 at 7:39

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.