0

I want to set these properties in my thesis.

  • Chapter heading :All Capital—14 Font size, Bold
  • Section heading:Title case-12 Font size, Bold
  • Sub-section heading :Sentence case-12 Font size, Bold Body
  • text :Sentence case - 12 Font size

Is this correct?

\usepackage{titlesec}
\titleformat{\chapter}{\normalfont\large\bfseries}{\thechapter}{14pt}{\large}
\titleformat{\section}
{\normalfont\bfseries}{\thesection}{12pt}{}
\titleformat{\subsection}
{\normalfont\bfseries}{\thesubsection}{12pt}{}
\titleformat{\subsubsection}
{\normalfont\bfseries}{\thesubsubsection}{12pt}{}
  • I think a full example also showing which class you use would be very helpful – MostlyHarmless Mar 23 '15 at 9:34
1

the answer is like this answer

for text you need

 \documentclass[12pt]{report}

for other titles

\documentclass[12pt]{report}
\usepackage{blindtext} % just for test text
\usepackage{titlesec}


\newcommand{\chapfnt}{\fontsize{14}{17}}
\newcommand{\secfnt}{\fontsize{12}{14}}
\newcommand{\ssecfnt}{\fontsize{12}{14}}

\titleformat{\chapter}%[display]
{\normalfont\chapfnt\scshape}{\thechapter}{20pt}{\chapfnt}

\titleformat{\section}
{\normalfont\secfnt\bfseries}{\thesection}{1em}{}

\titleformat{\subsection}
{\normalfont\ssecfnt\bfseries}{\thesubsection}{1em}{}

\titlespacing*{\chapter} {0pt}{50pt}{40pt}
\titlespacing*{\section} {0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
\titlespacing*{\subsection} {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}

\begin{document}
\blinddocument
\blinddocument

\end{document}
  • Thank you very much for your answer, but I want chapter heading as "1 INTRODUCTION"? – Nilani Algiriyage Mar 23 '15 at 9:49
  • @NilaniAlgiriyage ok i will edit my answer – touhami Mar 23 '15 at 9:51
  • @NilaniAlgiriyage answer edited – touhami Mar 23 '15 at 9:54
  • Thanks again..Just one question..How to bold chapter heading? Using "\bfseries" doesn't work? – Nilani Algiriyage Mar 23 '15 at 10:02
  • you shoud add \usepackage[T1]{fontenc} – touhami Mar 23 '15 at 10:10

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.