How to set page number in right side in chapter title page? 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
Estimate capacitor parameters
When is phishing education going too far?
If A makes B more likely then B makes A more likely"
Unexpected result with right shift after bitwise negation
Using "nakedly" instead of "with nothing on"
Can I throw a longsword at someone?
Is it possible to ask for a hotel room without minibar/extra services?
How to market an anarchic city as a tourism spot to people living in civilized areas?
Should you tell Jews they are breaking a commandment?
What did Darwin mean by 'squib' here?
3 doors, three guards, one stone
What items from the Roman-age tech-level could be used to deter all creatures from entering a small area?
New Order #5: where Fibonacci and Beatty meet at Wythoff
Stars Make Stars
What are the performance impacts of 'functional' Rust?
Classification of bundles, Postnikov towers, obstruction theory, local coefficients
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
What computer would be fastest for Mathematica Home Edition?
What would be Julian Assange's expected punishment, on the current English criminal law?
Area of a 2D convex hull
Why use gamma over alpha radiation?
Do working physicists consider Newtonian mechanics to be "falsified"?
Passing functions in C++
Fishing simulator
How to set page number in right side in chapter title page?
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
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
add a comment |
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
Unrelated: do you really want to haveChapter 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
Addthispagestylefancy
after ofchapter...
– skpblack
Mar 31 at 17:00
With your code, you obtainChapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right
– Bernard
Mar 31 at 17:07
add a comment |
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
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
page-numbering fancyhdr footer
edited Mar 31 at 17:43
Alamin
asked Mar 31 at 16:44


AlaminAlamin
1274
1274
Unrelated: do you really want to haveChapter 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
Addthispagestylefancy
after ofchapter...
– skpblack
Mar 31 at 17:00
With your code, you obtainChapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right
– Bernard
Mar 31 at 17:07
add a comment |
Unrelated: do you really want to haveChapter 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
Addthispagestylefancy
after ofchapter...
– skpblack
Mar 31 at 17:00
With your code, you obtainChapter1
on the left andCHAPTER 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
add a comment |
2 Answers
2
active
oldest
votes
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
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 usechapterAbstract
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
add a comment |
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:
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:
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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 usechapterAbstract
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
add a comment |
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
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 usechapterAbstract
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
add a comment |
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
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
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 usechapterAbstract
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
add a comment |
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 usechapterAbstract
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
add a comment |
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:
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:
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
add a comment |
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:
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:
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
add a comment |
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:
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:
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:
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:
edited Mar 31 at 18:47
answered Mar 31 at 17:02


KurtKurt
41.2k950164
41.2k950164
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 ofchapter...
– skpblack
Mar 31 at 17:00
With your code, you obtain
Chapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right– Bernard
Mar 31 at 17:07