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
Avoiding the "not like other girls" trope?
What is required to make GPS signals available indoors?
How to prevent "they're falling in love" trope
Placement of More Information/Help Icon button for Radio Buttons
How could indestructible materials be used in power generation?
In the UK, is it possible to get a referendum by a court decision?
How dangerous is XSS
Do creatures with a listed speed of "0 ft., fly 30 ft. (hover)" ever touch the ground?
What Exploit Are These User Agents Trying to Use?
In Bayesian inference, why are some terms dropped from the posterior predictive?
How to install cross-compiler on Ubuntu 18.04?
Do Iron Man suits sport waste management systems?
Notepad++ delete until colon for every line with replace all
How to show a landlord what we have in savings?
How do I exit BASH while loop using modulus operator?
Expand and Contract
Finitely generated matrix groups whose eigenvalues are all algebraic
Mathematica command that allows it to read my intentions
What is the opposite of "eschatology"?
What is the fastest integer factorization to break RSA?
Where would I need my direct neural interface to be implanted?
Getting extremely large arrows with tikzcd
What is the most common color to indicate the input-field is disabled?
How to remove border from elements in the last row?
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