How to set page number in right side in chapter title page?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
What historical events would have to change in order to make 19th century "steampunk" technology possible?
Can someone clarify Hamming's notion of important problems in relation to modern academia?
Ambiguity in the definition of entropy
Where would I need my direct neural interface to be implanted?
How to stretch the corners of this image so that it looks like a perfect rectangle?
What's the meaning of "Sollensaussagen"?
My ex-girlfriend uses my Apple ID to log in to her iPad. Do I have to give her my Apple ID password to reset it?
Can I hook these wires up to find the connection to a dead outlet?
Are British MPs missing the point, with these 'Indicative Votes'?
Knowledge-based authentication using Domain-driven Design in C#
OP Amp not amplifying audio signal
Notepad++ delete until colon for every line with replace all
Forgetting the musical notes while performing in concert
Is there a hemisphere-neutral way of specifying a season?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Does the Cone of Cold spell freeze water?
What is required to make GPS signals available indoors?
How badly should I try to prevent a user from XSSing themselves?
How could indestructible materials be used in power generation?
What is the fastest integer factorization to break RSA?
files created then deleted at every second in tmp directory
What do you call someone who asks many questions?
Was the Stack Exchange "Happy April Fools" page fitting with the '90's code?
Finitely generated matrix groups whose eigenvalues are all algebraic
How to set page number in right side in chapter title page?
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
New contributor
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
New contributor
Unrelated: do you really want to haveChapter 1
on both sides of the header?
– Bernard
2 days 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
2 days ago
Addthispagestylefancy
after ofchapter...
– skpblack
2 days ago
With your code, you obtainChapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right
– Bernard
2 days ago
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
New contributor
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
New contributor
New contributor
edited 2 days ago
Alamin
New contributor
asked 2 days ago
AlaminAlamin
1274
1274
New contributor
New contributor
Unrelated: do you really want to haveChapter 1
on both sides of the header?
– Bernard
2 days 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
2 days ago
Addthispagestylefancy
after ofchapter...
– skpblack
2 days ago
With your code, you obtainChapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right
– Bernard
2 days ago
add a comment |
Unrelated: do you really want to haveChapter 1
on both sides of the header?
– Bernard
2 days 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
2 days ago
Addthispagestylefancy
after ofchapter...
– skpblack
2 days ago
With your code, you obtainChapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right
– Bernard
2 days ago
Unrelated: do you really want to have
Chapter 1
on both sides of the header?– Bernard
2 days ago
Unrelated: do you really want to have
Chapter 1
on both sides of the header?– Bernard
2 days 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
2 days 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
2 days ago
Add
thispagestylefancy
after of chapter...
– skpblack
2 days ago
Add
thispagestylefancy
after of chapter...
– skpblack
2 days ago
With your code, you obtain
Chapter1
on the left and CHAPTER 1 INTRODUCTiON
on th right– Bernard
2 days ago
With your code, you obtain
Chapter1
on the left and CHAPTER 1 INTRODUCTiON
on th right– Bernard
2 days ago
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
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Yes. only in single page
– Alamin
2 days ago
1
Why don't you usechapterAbstract
in this case? It would use the redefined plain page style.
– Bernard
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days ago
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
2 days ago
1
@Alamin Please see my updated answer ...
– Kurt
2 days ago
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
);
);
Alamin is a new contributor. Be nice, and check out our Code of Conduct.
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
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Yes. only in single page
– Alamin
2 days ago
1
Why don't you usechapterAbstract
in this case? It would use the redefined plain page style.
– Bernard
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days ago
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
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Yes. only in single page
– Alamin
2 days ago
1
Why don't you usechapterAbstract
in this case? It would use the redefined plain page style.
– Bernard
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days ago
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 2 days ago
answered 2 days 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
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Yes. only in single page
– Alamin
2 days ago
1
Why don't you usechapterAbstract
in this case? It would use the redefined plain page style.
– Bernard
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days ago
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
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Yes. only in single page
– Alamin
2 days ago
1
Why don't you usechapterAbstract
in this case? It would use the redefined plain page style.
– Bernard
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days 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
2 days 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
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Will your real abstract fit on a single page?
– Bernard
2 days ago
Yes. only in single page
– Alamin
2 days ago
Yes. only in single page
– Alamin
2 days ago
1
1
Why don't you use
chapterAbstract
in this case? It would use the redefined plain page style.– Bernard
2 days ago
Why don't you use
chapterAbstract
in this case? It would use the redefined plain page style.– Bernard
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days ago
Thanks. It is working perfectly.
– Alamin
2 days ago
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
2 days ago
1
@Alamin Please see my updated answer ...
– Kurt
2 days ago
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
2 days ago
1
@Alamin Please see my updated answer ...
– Kurt
2 days ago
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 2 days ago
answered 2 days ago
KurtKurt
40.6k850164
40.6k850164
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
2 days ago
1
@Alamin Please see my updated answer ...
– Kurt
2 days ago
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
2 days ago
1
@Alamin Please see my updated answer ...
– Kurt
2 days 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
2 days 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
2 days ago
1
1
@Alamin Please see my updated answer ...
– Kurt
2 days ago
@Alamin Please see my updated answer ...
– Kurt
2 days ago
add a comment |
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.
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.
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
2 days 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
2 days ago
Add
thispagestylefancy
after ofchapter...
– skpblack
2 days ago
With your code, you obtain
Chapter1
on the left andCHAPTER 1 INTRODUCTiON
on th right– Bernard
2 days ago