2

Right now I am getting my chapter title in the following font that is big-sized and bold:

enter image description here

However, I want to change it to the following format, which is regular size, normal text, with regular font type, and is centered: enter image description here

I just mean the "Introduction" text in the above figures. Here is my general code:

\documentclass[12pt]{report}
\usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
...
\begin{document}
...
\pagenumbering{arabic}
\setcounter{page}{1}
\begin{center}
INTRODUCTION
\end{center}
Hi there! I want my chapter text and the section text to be the same default font
...
\end{document}

Edit: Now that I have used the code recommended by Hafid Boukhoulda, I am able to change the font, but I am facing a different problem, that my page number starts on a blank page, and the introduction text starts in the next page. If it is clear. My code is:

\fancyhf{}
\fancyhead[C]{\thepage}
\pagestyle{fancy}

\titleformat{\chapter}{\normalfont\centering}{}{0pt}{}
\titlelabel{}

\titlespacing*{\chapter}{0pt}{-50pt}{10pt}


\begin{document}
\setlength{\headheight}{50pt} %to note where the header lies.
\setlength{\headsep}{15pt} %to set the distance between header and the first line after it.

....

\pagenumbering{arabic}
\setcounter{page}{1}

\begin{center}
\chapter{INTRODUCTION}
\end{center}

Thanks a lot!

6
  • 1
    Take a look to this may be related question and its answer. Feb 28, 2019 at 6:47
  • @HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?
    – Jerry
    Feb 28, 2019 at 6:52
  • If you can enclose the modifications for a particular chapter inside a group e.g {} the original format will be restored automatically. In that sens the two questions may be somehow similar Feb 28, 2019 at 7:06
  • Your question is not very clear. Are you asking how to change the format or how to go back. Where is the "unnecessary format change." (In intro or in toc) ? As usual, please help us to help you by editing your question to add a complete compilable MWE, even if it is not completly "working".
    – Jhor
    Feb 28, 2019 at 9:14
  • Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632
    – Sveinung
    Feb 28, 2019 at 9:52

1 Answer 1

3
\documentclass[12pt]{report}
\usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}

\usepackage[rm,tiny]{titlesec}

\titleformat{\chapter}{\normalfont\centering}{}{0pt}{}

\titlelabel{}

\begin{document}

%\pagenumbering{arabic}
%\setcounter{page}{1}

\chapter{The chapter title in normal font}
\section{The section title in normal font}

The paragraph in normal font

\end{document}

enter image description here

3
  • Hi Hafid, thanks so much, that works. But I had two minor problems. First, it skipped a whole page (page number 1 set above in the code is in first page which is blank, and the introduction started from the next page). And, second, the vertical space was too much both above and below "Introduction." Could you fix this please? Thanks :)
    – Jerry
    Mar 1, 2019 at 5:15
  • I guess I kind of realized that I can change vertical space by playing around with those -50, 40 numbers. But the page number starting in the previous page is still there. My code is given in the editted question details.
    – Jerry
    Mar 1, 2019 at 5:21
  • Also, I realize that the page number in the Intro page is in the bottom, but I set it on top for the entire document (all page but intro page has it at the bottom, the intro page starts at 2)
    – Jerry
    Mar 1, 2019 at 5:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .