How to set page number in right side in chapter title page? The Next CEO of Stack OverflowTop...

Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?

Prepend last line of stdin to entire stdin

Why doesn't UK go for the same deal Japan has with EU to resolve Brexit?

Strength of face-nailed connection for stair steps

How to delete every two lines after 3rd lines in a file contains very large number of lines?

Decide between Polyglossia and Babel for LuaLaTeX in 2019

What connection does MS Office have to Netscape Navigator?

Which one is the true statement?

How to avoid supervisors with prejudiced views?

What can the phrase “is embedded in a whale of a bill” mean?

Define command that accepts \ in arguments

Calculator final project in Python

New carbon wheel brake pads after use on aluminum wheel?

Purpose of level-shifter with same in and out voltages

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Yu-Gi-Oh cards in Python 3

How to use ReplaceAll on an expression that contains a rule

Why the last AS PATH item always is `I` or `?`?

Can someone explain this formula for calculating Manhattan distance?

Is it convenient to ask the journal's editor for two additional days to complete a review?

Bartok - Syncopation (1): Meaning of notes in between Grand Staff

Domestic-to-international connection at Orlando (MCO)

How to penalize for empty fields in a DataFrame?

What flight has the highest ratio of timezone difference to flight time?



How to set page number in right side in chapter title page?



The Next CEO of Stack OverflowTop right side page numberingInitial page numbers wrongRemove page number from chapter title pageAlternate fancy page header? left page = page number + chapter, right page = page number + section?How can I make pages after the first come out correctly with fancyhdr?Remove footer on title pagefooter hiding page numberFooter and Page Number at the right side and left sideMacros to show page number on the right side of the footerDisplay page number on chapter title page












2















I need to setup page number right side of the footer. It's ok in the second page of a chapter.



But in chapter title page, page number showing in the center of that page.



This is my MWE:



documentclass[a4paper,12pt]{report}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in,includefoot,heightrounded]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

begin{document}
begin{center}
{huge textbf{ Abstract}}
end{center}
addcontentsline{toc}{section}{Abstract}
lipsum[2-4]
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


Please tell me the solution.










share|improve this question









New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Unrelated: do you really want to have Chapter 1 on both sides of the header?

    – Bernard
    1 hour ago











  • No. I don't need that . Acutally i need chapter 1 in left and chapter name such as Introduction on right. But this is not the problem for me.

    – Alamin
    1 hour ago











  • Add thispagestyle{fancy} after of chapter{...}

    – skpblack
    1 hour ago











  • With your code, you obtain Chapter1 on the left and CHAPTER 1 INTRODUCTiON on th right

    – Bernard
    1 hour ago
















2















I need to setup page number right side of the footer. It's ok in the second page of a chapter.



But in chapter title page, page number showing in the center of that page.



This is my MWE:



documentclass[a4paper,12pt]{report}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in,includefoot,heightrounded]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

begin{document}
begin{center}
{huge textbf{ Abstract}}
end{center}
addcontentsline{toc}{section}{Abstract}
lipsum[2-4]
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


Please tell me the solution.










share|improve this question









New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Unrelated: do you really want to have Chapter 1 on both sides of the header?

    – Bernard
    1 hour ago











  • No. I don't need that . Acutally i need chapter 1 in left and chapter name such as Introduction on right. But this is not the problem for me.

    – Alamin
    1 hour ago











  • Add thispagestyle{fancy} after of chapter{...}

    – skpblack
    1 hour ago











  • With your code, you obtain Chapter1 on the left and CHAPTER 1 INTRODUCTiON on th right

    – Bernard
    1 hour ago














2












2








2








I need to setup page number right side of the footer. It's ok in the second page of a chapter.



But in chapter title page, page number showing in the center of that page.



This is my MWE:



documentclass[a4paper,12pt]{report}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in,includefoot,heightrounded]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

begin{document}
begin{center}
{huge textbf{ Abstract}}
end{center}
addcontentsline{toc}{section}{Abstract}
lipsum[2-4]
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


Please tell me the solution.










share|improve this question









New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I need to setup page number right side of the footer. It's ok in the second page of a chapter.



But in chapter title page, page number showing in the center of that page.



This is my MWE:



documentclass[a4paper,12pt]{report}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in,includefoot,heightrounded]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

begin{document}
begin{center}
{huge textbf{ Abstract}}
end{center}
addcontentsline{toc}{section}{Abstract}
lipsum[2-4]
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


Please tell me the solution.







page-numbering fancyhdr footer






share|improve this question









New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 33 mins ago







Alamin













New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









AlaminAlamin

1134




1134




New contributor




Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Alamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Unrelated: do you really want to have Chapter 1 on both sides of the header?

    – Bernard
    1 hour ago











  • No. I don't need that . Acutally i need chapter 1 in left and chapter name such as Introduction on right. But this is not the problem for me.

    – Alamin
    1 hour ago











  • Add thispagestyle{fancy} after of chapter{...}

    – skpblack
    1 hour ago











  • With your code, you obtain Chapter1 on the left and CHAPTER 1 INTRODUCTiON on th right

    – Bernard
    1 hour ago



















  • Unrelated: do you really want to have Chapter 1 on both sides of the header?

    – Bernard
    1 hour ago











  • No. I don't need that . Acutally i need chapter 1 in left and chapter name such as Introduction on right. But this is not the problem for me.

    – Alamin
    1 hour ago











  • Add thispagestyle{fancy} after of chapter{...}

    – skpblack
    1 hour ago











  • With your code, you obtain Chapter1 on the left and CHAPTER 1 INTRODUCTiON on th right

    – Bernard
    1 hour ago

















Unrelated: do you really want to have Chapter 1 on both sides of the header?

– Bernard
1 hour ago





Unrelated: do you really want to have Chapter 1 on both sides of the header?

– Bernard
1 hour ago













No. I don't need that . Acutally i need chapter 1 in left and chapter name such as Introduction on right. But this is not the problem for me.

– Alamin
1 hour ago





No. I don't need that . Acutally i need chapter 1 in left and chapter name such as Introduction on right. But this is not the problem for me.

– Alamin
1 hour ago













Add thispagestyle{fancy} after of chapter{...}

– skpblack
1 hour ago





Add thispagestyle{fancy} after of chapter{...}

– skpblack
1 hour ago













With your code, you obtain Chapter1 on the left and CHAPTER 1 INTRODUCTiON on th right

– Bernard
1 hour ago





With your code, you obtain Chapter1 on the left and CHAPTER 1 INTRODUCTiON on th right

– Bernard
1 hour ago










2 Answers
2






active

oldest

votes


















3














You need to redefine the page style plain used on the chapter title page like:



fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}

begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get:



enter image description here



Update:



To add an chapter/abstract before chapter 1 please change your used code to:



%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get then:



abstract






share|improve this answer


























  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

    – Alamin
    15 mins ago











  • @Alamin Please see my updated answer ...

    – Kurt
    6 mins ago



















2














Since you load titlesec, it's much simpler to load it with option pagestyles and use titleps. You have to redefine the plain page style, which is used in the first page of a chapter. Redefining a page style is particularly easy with titleps:



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

renewcommand{baselinestretch}{1.3}
usepackage[pagestyles]{titlesec}
newpagestyle{mine}{%
headrule
sethead{itshapechapternamethechapter}{}{itshapechaptertitle}
setfoot{}{}{thepage}}%

renewpagestyle{plain}{%
setfoot{}{}{thepage}}%

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}
pagenumbering{roman}
pagestyle{mine}
begin{document}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-10]

end{document}


enter image description here






share|improve this answer


























  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

    – Alamin
    34 mins ago











  • Will your real abstract fit on a single page?

    – Bernard
    21 mins ago













  • Yes. only in single page

    – Alamin
    16 mins ago











  • Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

    – Bernard
    42 secs ago












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
});


}
});






Alamin is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482464%2fhow-to-set-page-number-in-right-side-in-chapter-title-page%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














You need to redefine the page style plain used on the chapter title page like:



fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}

begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get:



enter image description here



Update:



To add an chapter/abstract before chapter 1 please change your used code to:



%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get then:



abstract






share|improve this answer


























  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

    – Alamin
    15 mins ago











  • @Alamin Please see my updated answer ...

    – Kurt
    6 mins ago
















3














You need to redefine the page style plain used on the chapter title page like:



fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}

begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get:



enter image description here



Update:



To add an chapter/abstract before chapter 1 please change your used code to:



%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get then:



abstract






share|improve this answer


























  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

    – Alamin
    15 mins ago











  • @Alamin Please see my updated answer ...

    – Kurt
    6 mins ago














3












3








3







You need to redefine the page style plain used on the chapter title page like:



fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}

begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get:



enter image description here



Update:



To add an chapter/abstract before chapter 1 please change your used code to:



%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get then:



abstract






share|improve this answer















You need to redefine the page style plain used on the chapter title page like:



fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}

begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get:



enter image description here



Update:



To add an chapter/abstract before chapter 1 please change your used code to:



%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]{report}

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]{geometry}
usepackage{lipsum}
usepackage{fancyhdr}
renewcommand{baselinestretch}{1.3}
usepackage{titlesec}

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}

fancypagestyle{plain}{% <==============================================
fancyhf{}
fancyfoot[R]{thepage}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}%
}


begin{document}
pagenumbering{roman}
pagestyle{fancy}
fancyfoot{}
fancyfoot[R]{thepage}

fancyhead[L]{textit{chapternamethechapter}}

%begin{center} % <======================================================
chapter*{Abstract}
%end{center}
%addcontentsline{toc}{section}{Abstract}
lipsum[2-4] % <========================================================

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-4]
lipsum[2-4]
end{document}


you get then:



abstract







share|improve this answer














share|improve this answer



share|improve this answer








edited 7 mins ago

























answered 1 hour ago









KurtKurt

40.2k850164




40.2k850164













  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

    – Alamin
    15 mins ago











  • @Alamin Please see my updated answer ...

    – Kurt
    6 mins ago



















  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

    – Alamin
    15 mins ago











  • @Alamin Please see my updated answer ...

    – Kurt
    6 mins ago

















It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

– Alamin
15 mins ago





It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check

– Alamin
15 mins ago













@Alamin Please see my updated answer ...

– Kurt
6 mins ago





@Alamin Please see my updated answer ...

– Kurt
6 mins ago











2














Since you load titlesec, it's much simpler to load it with option pagestyles and use titleps. You have to redefine the plain page style, which is used in the first page of a chapter. Redefining a page style is particularly easy with titleps:



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

renewcommand{baselinestretch}{1.3}
usepackage[pagestyles]{titlesec}
newpagestyle{mine}{%
headrule
sethead{itshapechapternamethechapter}{}{itshapechaptertitle}
setfoot{}{}{thepage}}%

renewpagestyle{plain}{%
setfoot{}{}{thepage}}%

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}
pagenumbering{roman}
pagestyle{mine}
begin{document}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-10]

end{document}


enter image description here






share|improve this answer


























  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

    – Alamin
    34 mins ago











  • Will your real abstract fit on a single page?

    – Bernard
    21 mins ago













  • Yes. only in single page

    – Alamin
    16 mins ago











  • Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

    – Bernard
    42 secs ago
















2














Since you load titlesec, it's much simpler to load it with option pagestyles and use titleps. You have to redefine the plain page style, which is used in the first page of a chapter. Redefining a page style is particularly easy with titleps:



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

renewcommand{baselinestretch}{1.3}
usepackage[pagestyles]{titlesec}
newpagestyle{mine}{%
headrule
sethead{itshapechapternamethechapter}{}{itshapechaptertitle}
setfoot{}{}{thepage}}%

renewpagestyle{plain}{%
setfoot{}{}{thepage}}%

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}
pagenumbering{roman}
pagestyle{mine}
begin{document}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-10]

end{document}


enter image description here






share|improve this answer


























  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

    – Alamin
    34 mins ago











  • Will your real abstract fit on a single page?

    – Bernard
    21 mins ago













  • Yes. only in single page

    – Alamin
    16 mins ago











  • Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

    – Bernard
    42 secs ago














2












2








2







Since you load titlesec, it's much simpler to load it with option pagestyles and use titleps. You have to redefine the plain page style, which is used in the first page of a chapter. Redefining a page style is particularly easy with titleps:



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

renewcommand{baselinestretch}{1.3}
usepackage[pagestyles]{titlesec}
newpagestyle{mine}{%
headrule
sethead{itshapechapternamethechapter}{}{itshapechaptertitle}
setfoot{}{}{thepage}}%

renewpagestyle{plain}{%
setfoot{}{}{thepage}}%

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}
pagenumbering{roman}
pagestyle{mine}
begin{document}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-10]

end{document}


enter image description here






share|improve this answer















Since you load titlesec, it's much simpler to load it with option pagestyles and use titleps. You have to redefine the plain page style, which is used in the first page of a chapter. Redefining a page style is particularly easy with titleps:



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

renewcommand{baselinestretch}{1.3}
usepackage[pagestyles]{titlesec}
newpagestyle{mine}{%
headrule
sethead{itshapechapternamethechapter}{}{itshapechaptertitle}
setfoot{}{}{thepage}}%

renewpagestyle{plain}{%
setfoot{}{}{thepage}}%

titleformat{chapter}[display]{normalfonthugebfseriescentering}{chaptertitlename thechapter}{20pt}{Huge}
titlespacing{chapter}{0pt}{0pt}{1cm}
pagenumbering{roman}
pagestyle{mine}
begin{document}

chapter{Introduction}

pagenumbering{arabic}
setcounter{page}{1}
lipsum[2-10]

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 47 mins ago

























answered 1 hour ago









BernardBernard

175k776207




175k776207













  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

    – Alamin
    34 mins ago











  • Will your real abstract fit on a single page?

    – Bernard
    21 mins ago













  • Yes. only in single page

    – Alamin
    16 mins ago











  • Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

    – Bernard
    42 secs ago



















  • It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

    – Alamin
    34 mins ago











  • Will your real abstract fit on a single page?

    – Bernard
    21 mins ago













  • Yes. only in single page

    – Alamin
    16 mins ago











  • Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

    – Bernard
    42 secs ago

















It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

– Alamin
34 mins ago





It works fine. But facing another problem when i add another page before chapter such as Abstract page, it is showing chapter 0 in the heading. I don't need that. I have update MWE please check.

– Alamin
34 mins ago













Will your real abstract fit on a single page?

– Bernard
21 mins ago







Will your real abstract fit on a single page?

– Bernard
21 mins ago















Yes. only in single page

– Alamin
16 mins ago





Yes. only in single page

– Alamin
16 mins ago













Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

– Bernard
42 secs ago





Why don't you use chapter{Abstract} in this case? It would use the redefined plain page style.

– Bernard
42 secs ago










Alamin is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Alamin is a new contributor. Be nice, and check out our Code of Conduct.













Alamin is a new contributor. Be nice, and check out our Code of Conduct.












Alamin is a new contributor. Be nice, and check out our Code of Conduct.
















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%2f482464%2fhow-to-set-page-number-in-right-side-in-chapter-title-page%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

Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

Kvitkval Innhaldsliste Taksonomi og utvikling | Utsjånad og levevis | Utbreiing | Åtferd |...

What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...