How to set page number in right side in chapter title page? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Top 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

How to grep and cut numbers from a file and sum them

How is simplicity better than precision and clarity in prose?

Can undead you have reanimated wait inside a portable hole?

how can a perfect fourth interval be considered either consonant or dissonant?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Simulating Exploding Dice

How to test the equality of two Pearson correlation coefficients computed from the same sample?

Who or what is the being for whom Being is a question for Heidegger?

Would it be possible to rearrange a dragon's flight muscle to somewhat circumvent the square-cube law?

Didn't get enough time to take a Coding Test - what to do now?

Scientific Reports - Significant Figures

How to delete random line from file using Unix command?

What information about me do stores get via my credit card?

system() function string length limit

Semisimplicity of the category of coherent sheaves?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Did the new image of black hole confirm the general theory of relativity?

Do working physicists consider Newtonian mechanics to be "falsified"?

Was credit for the black hole image misattributed?

Problems with Ubuntu mount /tmp

Road tyres vs "Street" tyres for charity ride on MTB Tandem

Match Roman Numerals

Am I ethically obligated to go into work on an off day if the reason is sudden?

Difference between "generating set" and free product?



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



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Top 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
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

begindocument
begincenter
huge textbf Abstract
endcenter
addcontentslinetocsectionAbstract
lipsum[2-4]
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


Please tell me the solution.










share|improve this question
























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

    – Bernard
    Mar 31 at 16:51











  • 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
    Mar 31 at 16:56











  • Add thispagestylefancy after of chapter...

    – skpblack
    Mar 31 at 17:00











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

    – Bernard
    Mar 31 at 17:07















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
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

begindocument
begincenter
huge textbf Abstract
endcenter
addcontentslinetocsectionAbstract
lipsum[2-4]
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


Please tell me the solution.










share|improve this question
























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

    – Bernard
    Mar 31 at 16:51











  • 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
    Mar 31 at 16:56











  • Add thispagestylefancy after of chapter...

    – skpblack
    Mar 31 at 17:00











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

    – Bernard
    Mar 31 at 17:07













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
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

begindocument
begincenter
huge textbf Abstract
endcenter
addcontentslinetocsectionAbstract
lipsum[2-4]
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


Please tell me the solution.










share|improve this question
















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
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

begindocument
begincenter
huge textbf Abstract
endcenter
addcontentslinetocsectionAbstract
lipsum[2-4]
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


Please tell me the solution.







page-numbering fancyhdr footer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 31 at 17:43







Alamin

















asked Mar 31 at 16:44









AlaminAlamin

1274




1274












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

    – Bernard
    Mar 31 at 16:51











  • 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
    Mar 31 at 16:56











  • Add thispagestylefancy after of chapter...

    – skpblack
    Mar 31 at 17:00











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

    – Bernard
    Mar 31 at 17:07

















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

    – Bernard
    Mar 31 at 16:51











  • 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
    Mar 31 at 16:56











  • Add thispagestylefancy after of chapter...

    – skpblack
    Mar 31 at 17:00











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

    – Bernard
    Mar 31 at 17:07
















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

– Bernard
Mar 31 at 16:51





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

– Bernard
Mar 31 at 16:51













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
Mar 31 at 16:56





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
Mar 31 at 16:56













Add thispagestylefancy after of chapter...

– skpblack
Mar 31 at 17:00





Add thispagestylefancy after of chapter...

– skpblack
Mar 31 at 17:00













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

– Bernard
Mar 31 at 17:07





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

– Bernard
Mar 31 at 17:07










2 Answers
2






active

oldest

votes


















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
usepackagelipsum

renewcommandbaselinestretch1.3
usepackage[pagestyles]titlesec
newpagestylemine%
headrule
setheaditshapechapternamethechapteritshapechaptertitle
setfootthepage%

renewpagestyleplain%
setfootthepage%

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm
pagenumberingroman
pagestylemine
begindocument

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-10]

enddocument


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
    Mar 31 at 17:42











  • Will your real abstract fit on a single page?

    – Bernard
    Mar 31 at 17:55












  • Yes. only in single page

    – Alamin
    Mar 31 at 18:00






  • 1





    Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

    – Bernard
    Mar 31 at 18:16











  • Thanks. It is working perfectly.

    – Alamin
    Mar 31 at 18:42


















3














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



fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%


begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get:



enter image description here



Update:



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



%begincenter % <======================================================
chapter*Abstract % <============================= usualy not numbered!
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

%begincenter % <======================================================
chapter*Abstract
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


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
    Mar 31 at 18:02






  • 1





    @Alamin Please see my updated answer ...

    – Kurt
    Mar 31 at 18:10











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%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









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
usepackagelipsum

renewcommandbaselinestretch1.3
usepackage[pagestyles]titlesec
newpagestylemine%
headrule
setheaditshapechapternamethechapteritshapechaptertitle
setfootthepage%

renewpagestyleplain%
setfootthepage%

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm
pagenumberingroman
pagestylemine
begindocument

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-10]

enddocument


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
    Mar 31 at 17:42











  • Will your real abstract fit on a single page?

    – Bernard
    Mar 31 at 17:55












  • Yes. only in single page

    – Alamin
    Mar 31 at 18:00






  • 1





    Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

    – Bernard
    Mar 31 at 18:16











  • Thanks. It is working perfectly.

    – Alamin
    Mar 31 at 18:42















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
usepackagelipsum

renewcommandbaselinestretch1.3
usepackage[pagestyles]titlesec
newpagestylemine%
headrule
setheaditshapechapternamethechapteritshapechaptertitle
setfootthepage%

renewpagestyleplain%
setfootthepage%

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm
pagenumberingroman
pagestylemine
begindocument

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-10]

enddocument


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
    Mar 31 at 17:42











  • Will your real abstract fit on a single page?

    – Bernard
    Mar 31 at 17:55












  • Yes. only in single page

    – Alamin
    Mar 31 at 18:00






  • 1





    Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

    – Bernard
    Mar 31 at 18:16











  • Thanks. It is working perfectly.

    – Alamin
    Mar 31 at 18:42













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
usepackagelipsum

renewcommandbaselinestretch1.3
usepackage[pagestyles]titlesec
newpagestylemine%
headrule
setheaditshapechapternamethechapteritshapechaptertitle
setfootthepage%

renewpagestyleplain%
setfootthepage%

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm
pagenumberingroman
pagestylemine
begindocument

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-10]

enddocument


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
usepackagelipsum

renewcommandbaselinestretch1.3
usepackage[pagestyles]titlesec
newpagestylemine%
headrule
setheaditshapechapternamethechapteritshapechaptertitle
setfootthepage%

renewpagestyleplain%
setfootthepage%

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm
pagenumberingroman
pagestylemine
begindocument

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-10]

enddocument


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 31 at 17:29

























answered Mar 31 at 17:15









BernardBernard

176k778210




176k778210












  • 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
    Mar 31 at 17:42











  • Will your real abstract fit on a single page?

    – Bernard
    Mar 31 at 17:55












  • Yes. only in single page

    – Alamin
    Mar 31 at 18:00






  • 1





    Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

    – Bernard
    Mar 31 at 18:16











  • Thanks. It is working perfectly.

    – Alamin
    Mar 31 at 18:42

















  • 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
    Mar 31 at 17:42











  • Will your real abstract fit on a single page?

    – Bernard
    Mar 31 at 17:55












  • Yes. only in single page

    – Alamin
    Mar 31 at 18:00






  • 1





    Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

    – Bernard
    Mar 31 at 18:16











  • Thanks. It is working perfectly.

    – Alamin
    Mar 31 at 18:42
















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
Mar 31 at 17:42





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
Mar 31 at 17:42













Will your real abstract fit on a single page?

– Bernard
Mar 31 at 17:55






Will your real abstract fit on a single page?

– Bernard
Mar 31 at 17:55














Yes. only in single page

– Alamin
Mar 31 at 18:00





Yes. only in single page

– Alamin
Mar 31 at 18:00




1




1





Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

– Bernard
Mar 31 at 18:16





Why don't you use chapterAbstract in this case? It would use the redefined plain page style.

– Bernard
Mar 31 at 18:16













Thanks. It is working perfectly.

– Alamin
Mar 31 at 18:42





Thanks. It is working perfectly.

– Alamin
Mar 31 at 18:42











3














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



fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%


begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get:



enter image description here



Update:



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



%begincenter % <======================================================
chapter*Abstract % <============================= usualy not numbered!
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

%begincenter % <======================================================
chapter*Abstract
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


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
    Mar 31 at 18:02






  • 1





    @Alamin Please see my updated answer ...

    – Kurt
    Mar 31 at 18:10















3














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



fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%


begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get:



enter image description here



Update:



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



%begincenter % <======================================================
chapter*Abstract % <============================= usualy not numbered!
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

%begincenter % <======================================================
chapter*Abstract
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


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
    Mar 31 at 18:02






  • 1





    @Alamin Please see my updated answer ...

    – Kurt
    Mar 31 at 18:10













3












3








3







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



fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%


begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get:



enter image description here



Update:



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



%begincenter % <======================================================
chapter*Abstract % <============================= usualy not numbered!
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

%begincenter % <======================================================
chapter*Abstract
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get then:



abstract






share|improve this answer















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



fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%


begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get:



enter image description here



Update:



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



%begincenter % <======================================================
chapter*Abstract % <============================= usualy not numbered!
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================


With the complete code



documentclass[a4paper,12pt]report

usepackage[%
left=1.5in,right=1in,top=1in,bottom=1in,
includefoot,heightrounded
]geometry
usepackagelipsum
usepackagefancyhdr
renewcommandbaselinestretch1.3
usepackagetitlesec

titleformatchapter[display]normalfonthugebfseriescenteringchaptertitlename thechapter20ptHuge
titlespacingchapter0pt0pt1cm

fancypagestyleplain% <==============================================
fancyhf
fancyfoot[R]thepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt%



begindocument
pagenumberingroman
pagestylefancy
fancyfoot
fancyfoot[R]thepage

fancyhead[L]textitchapternamethechapter

%begincenter % <======================================================
chapter*Abstract
%endcenter
%addcontentslinetocsectionAbstract
lipsum[2-4] % <========================================================

chapterIntroduction

pagenumberingarabic
setcounterpage1
lipsum[2-4]
lipsum[2-4]
enddocument


you get then:



abstract







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 31 at 18:47

























answered Mar 31 at 17:02









KurtKurt

41.1k950164




41.1k950164












  • 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
    Mar 31 at 18:02






  • 1





    @Alamin Please see my updated answer ...

    – Kurt
    Mar 31 at 18:10

















  • 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
    Mar 31 at 18:02






  • 1





    @Alamin Please see my updated answer ...

    – Kurt
    Mar 31 at 18:10
















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
Mar 31 at 18:02





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
Mar 31 at 18:02




1




1





@Alamin Please see my updated answer ...

– Kurt
Mar 31 at 18:10





@Alamin Please see my updated answer ...

– Kurt
Mar 31 at 18:10

















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%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

Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High