Modify the header and footer
up vote
2
down vote
favorite
I want to obtain in the header like the following

And in the footer

documentclass[12pt,a4paper]{report}
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page
newcommand{clearemptydoublepage}{%
newpage{pagestyle{plain}cleardoublepage}}
setlength{headheight}{14.5pt}
fancyhead[L,R]{bfseriesthepage}% Left Even, Right Odd
fancyhead[L]{bfseriesrightmark} % Left Odd
fancyhead[R]{bfseriesleftmark} % Right Even
rhead{textbf{thepage}} %{textsl{rightmark}}
lhead{textsl{nouppercase{leftmark}}}%{textbf{thepage}}
begin{document}
chapter{Semigroup theory and sesquilinear forms}
newpage
cc
begin{thebibliography}{999}
newpage
bibitem{ax}{O. Rhandi,} {...,} ....
end{thebibliography}
end{document}
I don't understand how to add footer. Also after compilation I get in the header

header-footer
add a comment |
up vote
2
down vote
favorite
I want to obtain in the header like the following

And in the footer

documentclass[12pt,a4paper]{report}
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page
newcommand{clearemptydoublepage}{%
newpage{pagestyle{plain}cleardoublepage}}
setlength{headheight}{14.5pt}
fancyhead[L,R]{bfseriesthepage}% Left Even, Right Odd
fancyhead[L]{bfseriesrightmark} % Left Odd
fancyhead[R]{bfseriesleftmark} % Right Even
rhead{textbf{thepage}} %{textsl{rightmark}}
lhead{textsl{nouppercase{leftmark}}}%{textbf{thepage}}
begin{document}
chapter{Semigroup theory and sesquilinear forms}
newpage
cc
begin{thebibliography}{999}
newpage
bibitem{ax}{O. Rhandi,} {...,} ....
end{thebibliography}
end{document}
I don't understand how to add footer. Also after compilation I get in the header

header-footer
Where is the problem right now?
– Johannes_B
Dec 9 at 8:23
Is en.wikibooks.org/wiki/LaTeX/… helping?
– Johannes_B
Dec 9 at 8:24
I don't know how to add footer. Also I want to omit chpater and include only the name of the chapter.
– Schüler
Dec 9 at 8:24
@Johannes_B Please see my edit.
– Schüler
Dec 9 at 8:28
fancyfoot{}?
– JouleV
Dec 9 at 8:30
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I want to obtain in the header like the following

And in the footer

documentclass[12pt,a4paper]{report}
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page
newcommand{clearemptydoublepage}{%
newpage{pagestyle{plain}cleardoublepage}}
setlength{headheight}{14.5pt}
fancyhead[L,R]{bfseriesthepage}% Left Even, Right Odd
fancyhead[L]{bfseriesrightmark} % Left Odd
fancyhead[R]{bfseriesleftmark} % Right Even
rhead{textbf{thepage}} %{textsl{rightmark}}
lhead{textsl{nouppercase{leftmark}}}%{textbf{thepage}}
begin{document}
chapter{Semigroup theory and sesquilinear forms}
newpage
cc
begin{thebibliography}{999}
newpage
bibitem{ax}{O. Rhandi,} {...,} ....
end{thebibliography}
end{document}
I don't understand how to add footer. Also after compilation I get in the header

header-footer
I want to obtain in the header like the following

And in the footer

documentclass[12pt,a4paper]{report}
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page
newcommand{clearemptydoublepage}{%
newpage{pagestyle{plain}cleardoublepage}}
setlength{headheight}{14.5pt}
fancyhead[L,R]{bfseriesthepage}% Left Even, Right Odd
fancyhead[L]{bfseriesrightmark} % Left Odd
fancyhead[R]{bfseriesleftmark} % Right Even
rhead{textbf{thepage}} %{textsl{rightmark}}
lhead{textsl{nouppercase{leftmark}}}%{textbf{thepage}}
begin{document}
chapter{Semigroup theory and sesquilinear forms}
newpage
cc
begin{thebibliography}{999}
newpage
bibitem{ax}{O. Rhandi,} {...,} ....
end{thebibliography}
end{document}
I don't understand how to add footer. Also after compilation I get in the header

header-footer
header-footer
edited Dec 9 at 8:28
asked Dec 9 at 8:22
Schüler
24018
24018
Where is the problem right now?
– Johannes_B
Dec 9 at 8:23
Is en.wikibooks.org/wiki/LaTeX/… helping?
– Johannes_B
Dec 9 at 8:24
I don't know how to add footer. Also I want to omit chpater and include only the name of the chapter.
– Schüler
Dec 9 at 8:24
@Johannes_B Please see my edit.
– Schüler
Dec 9 at 8:28
fancyfoot{}?
– JouleV
Dec 9 at 8:30
add a comment |
Where is the problem right now?
– Johannes_B
Dec 9 at 8:23
Is en.wikibooks.org/wiki/LaTeX/… helping?
– Johannes_B
Dec 9 at 8:24
I don't know how to add footer. Also I want to omit chpater and include only the name of the chapter.
– Schüler
Dec 9 at 8:24
@Johannes_B Please see my edit.
– Schüler
Dec 9 at 8:28
fancyfoot{}?
– JouleV
Dec 9 at 8:30
Where is the problem right now?
– Johannes_B
Dec 9 at 8:23
Where is the problem right now?
– Johannes_B
Dec 9 at 8:23
Is en.wikibooks.org/wiki/LaTeX/… helping?
– Johannes_B
Dec 9 at 8:24
Is en.wikibooks.org/wiki/LaTeX/… helping?
– Johannes_B
Dec 9 at 8:24
I don't know how to add footer. Also I want to omit chpater and include only the name of the chapter.
– Schüler
Dec 9 at 8:24
I don't know how to add footer. Also I want to omit chpater and include only the name of the chapter.
– Schüler
Dec 9 at 8:24
@Johannes_B Please see my edit.
– Schüler
Dec 9 at 8:28
@Johannes_B Please see my edit.
– Schüler
Dec 9 at 8:28
fancyfoot{}?– JouleV
Dec 9 at 8:30
fancyfoot{}?– JouleV
Dec 9 at 8:30
add a comment |
2 Answers
2
active
oldest
votes
up vote
3
down vote
accepted
With fancyhdr:

documentclass[12pt,a4paper]{report}
usepackage{mwe}% Just for the example
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page% A line of zero width in invisible
%newcommand{clearemptydoublepage}{%
%newpage{pagestyle{plain}cleardoublepage}}%That doesn't make any sense at all in a oneside document
setlength{headheight}{14.5pt}
renewcommand{chaptermark}[1]{markboth{#1}{}}
rhead{thepage}
lhead{leftmark}
lfoot{The title of the work}
rfoot{Carl Capybara}
cfoot{}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
Thank you. Does we use thisnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}intwoside? Also I think I should addrenewcommand{footrulewidth}{1.pt}. Thank you.
– Schüler
Dec 9 at 9:24
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
My question when exactely we addnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.
– Schüler
Dec 9 at 10:19
|
show 1 more comment
up vote
1
down vote
With scrlayer-scrpage as shown in the Wikibook.

documentclass[headsepline,footsepline]{report}
usepackage{mwe}% just for the example
usepackage[markcase=noupper,% remove the uppercasing
automark
]{scrlayer-scrpage}
addtokomafont{pagehead}{sffamily}
addtokomafont{pagefoot}{sffamily}
ifoot*{Is life on Mars possible?}
ofoot*{Walter Wombat}
cfoot*{}
ohead*{pagemark}
ihead{leftmark}
renewcommand{chaptermarkformat}{}
setlength{footheight}{24.0pt}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I addrenewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}}the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.
– Schüler
Dec 9 at 8:49
@Schülerrfoot{Name}?
– Johannes_B
Dec 9 at 8:54
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
With fancyhdr:

documentclass[12pt,a4paper]{report}
usepackage{mwe}% Just for the example
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page% A line of zero width in invisible
%newcommand{clearemptydoublepage}{%
%newpage{pagestyle{plain}cleardoublepage}}%That doesn't make any sense at all in a oneside document
setlength{headheight}{14.5pt}
renewcommand{chaptermark}[1]{markboth{#1}{}}
rhead{thepage}
lhead{leftmark}
lfoot{The title of the work}
rfoot{Carl Capybara}
cfoot{}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
Thank you. Does we use thisnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}intwoside? Also I think I should addrenewcommand{footrulewidth}{1.pt}. Thank you.
– Schüler
Dec 9 at 9:24
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
My question when exactely we addnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.
– Schüler
Dec 9 at 10:19
|
show 1 more comment
up vote
3
down vote
accepted
With fancyhdr:

documentclass[12pt,a4paper]{report}
usepackage{mwe}% Just for the example
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page% A line of zero width in invisible
%newcommand{clearemptydoublepage}{%
%newpage{pagestyle{plain}cleardoublepage}}%That doesn't make any sense at all in a oneside document
setlength{headheight}{14.5pt}
renewcommand{chaptermark}[1]{markboth{#1}{}}
rhead{thepage}
lhead{leftmark}
lfoot{The title of the work}
rfoot{Carl Capybara}
cfoot{}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
Thank you. Does we use thisnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}intwoside? Also I think I should addrenewcommand{footrulewidth}{1.pt}. Thank you.
– Schüler
Dec 9 at 9:24
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
My question when exactely we addnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.
– Schüler
Dec 9 at 10:19
|
show 1 more comment
up vote
3
down vote
accepted
up vote
3
down vote
accepted
With fancyhdr:

documentclass[12pt,a4paper]{report}
usepackage{mwe}% Just for the example
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page% A line of zero width in invisible
%newcommand{clearemptydoublepage}{%
%newpage{pagestyle{plain}cleardoublepage}}%That doesn't make any sense at all in a oneside document
setlength{headheight}{14.5pt}
renewcommand{chaptermark}[1]{markboth{#1}{}}
rhead{thepage}
lhead{leftmark}
lfoot{The title of the work}
rfoot{Carl Capybara}
cfoot{}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
With fancyhdr:

documentclass[12pt,a4paper]{report}
usepackage{mwe}% Just for the example
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{1.pt}% filet en haut de page
renewcommand{footrulewidth}{0.pt}% filet en bas de page% A line of zero width in invisible
%newcommand{clearemptydoublepage}{%
%newpage{pagestyle{plain}cleardoublepage}}%That doesn't make any sense at all in a oneside document
setlength{headheight}{14.5pt}
renewcommand{chaptermark}[1]{markboth{#1}{}}
rhead{thepage}
lhead{leftmark}
lfoot{The title of the work}
rfoot{Carl Capybara}
cfoot{}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
answered Dec 9 at 9:06
community wiki
Johannes_B
Thank you. Does we use thisnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}intwoside? Also I think I should addrenewcommand{footrulewidth}{1.pt}. Thank you.
– Schüler
Dec 9 at 9:24
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
My question when exactely we addnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.
– Schüler
Dec 9 at 10:19
|
show 1 more comment
Thank you. Does we use thisnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}intwoside? Also I think I should addrenewcommand{footrulewidth}{1.pt}. Thank you.
– Schüler
Dec 9 at 9:24
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
My question when exactely we addnewcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.
– Schüler
Dec 9 at 10:19
Thank you. Does we use this
newcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}} in twoside? Also I think I should add renewcommand{footrulewidth}{1.pt}. Thank you.– Schüler
Dec 9 at 9:24
Thank you. Does we use this
newcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}} in twoside? Also I think I should add renewcommand{footrulewidth}{1.pt}. Thank you.– Schüler
Dec 9 at 9:24
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
@Schüler I wouldn't use it.
– Johannes_B
Dec 9 at 9:35
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
Yes I mean in what case one should use it? Thanks.
– Schüler
Dec 9 at 9:38
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
@Schüler Never. It is nonsense.
– Johannes_B
Dec 9 at 10:01
My question when exactely we add
newcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.– Schüler
Dec 9 at 10:19
My question when exactely we add
newcommand{clearemptydoublepage}{% newpage{pagestyle{plain}cleardoublepage}}? Is it in twoside document ? Or in other case? Thanks a lot for your help.– Schüler
Dec 9 at 10:19
|
show 1 more comment
up vote
1
down vote
With scrlayer-scrpage as shown in the Wikibook.

documentclass[headsepline,footsepline]{report}
usepackage{mwe}% just for the example
usepackage[markcase=noupper,% remove the uppercasing
automark
]{scrlayer-scrpage}
addtokomafont{pagehead}{sffamily}
addtokomafont{pagefoot}{sffamily}
ifoot*{Is life on Mars possible?}
ofoot*{Walter Wombat}
cfoot*{}
ohead*{pagemark}
ihead{leftmark}
renewcommand{chaptermarkformat}{}
setlength{footheight}{24.0pt}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I addrenewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}}the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.
– Schüler
Dec 9 at 8:49
@Schülerrfoot{Name}?
– Johannes_B
Dec 9 at 8:54
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
add a comment |
up vote
1
down vote
With scrlayer-scrpage as shown in the Wikibook.

documentclass[headsepline,footsepline]{report}
usepackage{mwe}% just for the example
usepackage[markcase=noupper,% remove the uppercasing
automark
]{scrlayer-scrpage}
addtokomafont{pagehead}{sffamily}
addtokomafont{pagefoot}{sffamily}
ifoot*{Is life on Mars possible?}
ofoot*{Walter Wombat}
cfoot*{}
ohead*{pagemark}
ihead{leftmark}
renewcommand{chaptermarkformat}{}
setlength{footheight}{24.0pt}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I addrenewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}}the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.
– Schüler
Dec 9 at 8:49
@Schülerrfoot{Name}?
– Johannes_B
Dec 9 at 8:54
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
add a comment |
up vote
1
down vote
up vote
1
down vote
With scrlayer-scrpage as shown in the Wikibook.

documentclass[headsepline,footsepline]{report}
usepackage{mwe}% just for the example
usepackage[markcase=noupper,% remove the uppercasing
automark
]{scrlayer-scrpage}
addtokomafont{pagehead}{sffamily}
addtokomafont{pagefoot}{sffamily}
ifoot*{Is life on Mars possible?}
ofoot*{Walter Wombat}
cfoot*{}
ohead*{pagemark}
ihead{leftmark}
renewcommand{chaptermarkformat}{}
setlength{footheight}{24.0pt}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
With scrlayer-scrpage as shown in the Wikibook.

documentclass[headsepline,footsepline]{report}
usepackage{mwe}% just for the example
usepackage[markcase=noupper,% remove the uppercasing
automark
]{scrlayer-scrpage}
addtokomafont{pagehead}{sffamily}
addtokomafont{pagefoot}{sffamily}
ifoot*{Is life on Mars possible?}
ofoot*{Walter Wombat}
cfoot*{}
ohead*{pagemark}
ihead{leftmark}
renewcommand{chaptermarkformat}{}
setlength{footheight}{24.0pt}
begin{document}
chapter{Manta Ray}
blindtext
section{Taxonomy}
blindtext[10]
chapter{Mobula}
blindtext
section{Life style}
blindtext[10]
end{document}
edited Dec 9 at 8:44
community wiki
2 revs, 2 users 77%
Johannes_B
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I addrenewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}}the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.
– Schüler
Dec 9 at 8:49
@Schülerrfoot{Name}?
– Johannes_B
Dec 9 at 8:54
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
add a comment |
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I addrenewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}}the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.
– Schüler
Dec 9 at 8:49
@Schülerrfoot{Name}?
– Johannes_B
Dec 9 at 8:54
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
@moewe Yes, sure. I forgot about that. Thanks
– Johannes_B
Dec 9 at 8:46
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
Good, I just wanted to make sure I hadn't missed anything really obvious.
– moewe
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I add
renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.– Schüler
Dec 9 at 8:49
@Johannes_B I want to use my codes. If I add
renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, could you please help me in footer with my codes? Thanks a lot.– Schüler
Dec 9 at 8:49
@Schüler
rfoot{Name}?– Johannes_B
Dec 9 at 8:54
@Schüler
rfoot{Name}?– Johannes_B
Dec 9 at 8:54
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
Please copy my codes and add renewcommand{chaptermark}[1]{markboth{#1}{}} renewcommand{sectionmark}[1]{markright{thesection #1}} the problem of header is solved. However, even with rfoot{Name} I don't get what I hope. Thank you for your help.
– Schüler
Dec 9 at 8:57
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f463909%2fmodify-the-header-and-footer%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
Where is the problem right now?
– Johannes_B
Dec 9 at 8:23
Is en.wikibooks.org/wiki/LaTeX/… helping?
– Johannes_B
Dec 9 at 8:24
I don't know how to add footer. Also I want to omit chpater and include only the name of the chapter.
– Schüler
Dec 9 at 8:24
@Johannes_B Please see my edit.
– Schüler
Dec 9 at 8:28
fancyfoot{}?– JouleV
Dec 9 at 8:30