How to change the font type and size of chapter title?












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}{normalfontcentering}{}{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!










share|improve this question




















  • 1





    Take a look to this may be related question and its answer.

    – Hafid Boukhoulda
    Feb 28 at 6:47













  • @HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?

    – Samyam Shrestha
    Feb 28 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

    – Hafid Boukhoulda
    Feb 28 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 at 9:14











  • Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632

    – Sveinung
    Feb 28 at 9:52
















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}{normalfontcentering}{}{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!










share|improve this question




















  • 1





    Take a look to this may be related question and its answer.

    – Hafid Boukhoulda
    Feb 28 at 6:47













  • @HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?

    – Samyam Shrestha
    Feb 28 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

    – Hafid Boukhoulda
    Feb 28 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 at 9:14











  • Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632

    – Sveinung
    Feb 28 at 9:52














2












2








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}{normalfontcentering}{}{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!










share|improve this question
















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}{normalfontcentering}{}{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!







fonts table-of-contents sectioning chapters fontsize






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 1 at 5:24







Samyam Shrestha

















asked Feb 28 at 6:31









Samyam ShresthaSamyam Shrestha

374




374








  • 1





    Take a look to this may be related question and its answer.

    – Hafid Boukhoulda
    Feb 28 at 6:47













  • @HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?

    – Samyam Shrestha
    Feb 28 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

    – Hafid Boukhoulda
    Feb 28 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 at 9:14











  • Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632

    – Sveinung
    Feb 28 at 9:52














  • 1





    Take a look to this may be related question and its answer.

    – Hafid Boukhoulda
    Feb 28 at 6:47













  • @HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?

    – Samyam Shrestha
    Feb 28 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

    – Hafid Boukhoulda
    Feb 28 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 at 9:14











  • Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632

    – Sveinung
    Feb 28 at 9:52








1




1





Take a look to this may be related question and its answer.

– Hafid Boukhoulda
Feb 28 at 6:47







Take a look to this may be related question and its answer.

– Hafid Boukhoulda
Feb 28 at 6:47















@HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?

– Samyam Shrestha
Feb 28 at 6:52





@HafidBoukhoulda Naah, that code only changed the vertical space. Did it change the font type and size?

– Samyam Shrestha
Feb 28 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

– Hafid Boukhoulda
Feb 28 at 7:06







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

– Hafid Boukhoulda
Feb 28 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 at 9:14





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 at 9:14













Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632

– Sveinung
Feb 28 at 9:52





Take a look at this answer to another question. tex.stackexchange.com/a/62711/9632

– Sveinung
Feb 28 at 9:52










1 Answer
1






active

oldest

votes


















3














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

usepackage[rm,tiny]{titlesec}

titleformat{chapter}{normalfontcentering}{}{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






share|improve this answer


























  • 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 :)

    – Samyam Shrestha
    Mar 1 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.

    – Samyam Shrestha
    Mar 1 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)

    – Samyam Shrestha
    Mar 1 at 5:26











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477095%2fhow-to-change-the-font-type-and-size-of-chapter-title%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














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

usepackage[rm,tiny]{titlesec}

titleformat{chapter}{normalfontcentering}{}{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






share|improve this answer


























  • 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 :)

    – Samyam Shrestha
    Mar 1 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.

    – Samyam Shrestha
    Mar 1 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)

    – Samyam Shrestha
    Mar 1 at 5:26
















3














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

usepackage[rm,tiny]{titlesec}

titleformat{chapter}{normalfontcentering}{}{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






share|improve this answer


























  • 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 :)

    – Samyam Shrestha
    Mar 1 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.

    – Samyam Shrestha
    Mar 1 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)

    – Samyam Shrestha
    Mar 1 at 5:26














3












3








3







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

usepackage[rm,tiny]{titlesec}

titleformat{chapter}{normalfontcentering}{}{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






share|improve this answer















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

usepackage[rm,tiny]{titlesec}

titleformat{chapter}{normalfontcentering}{}{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







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 28 at 19:56

























answered Feb 28 at 19:30









Hafid BoukhouldaHafid Boukhoulda

4,5441625




4,5441625













  • 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 :)

    – Samyam Shrestha
    Mar 1 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.

    – Samyam Shrestha
    Mar 1 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)

    – Samyam Shrestha
    Mar 1 at 5:26



















  • 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 :)

    – Samyam Shrestha
    Mar 1 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.

    – Samyam Shrestha
    Mar 1 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)

    – Samyam Shrestha
    Mar 1 at 5:26

















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 :)

– Samyam Shrestha
Mar 1 at 5:15





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 :)

– Samyam Shrestha
Mar 1 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.

– Samyam Shrestha
Mar 1 at 5:21







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.

– Samyam Shrestha
Mar 1 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)

– Samyam Shrestha
Mar 1 at 5:26





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)

– Samyam Shrestha
Mar 1 at 5:26


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477095%2fhow-to-change-the-font-type-and-size-of-chapter-title%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?