Underlining section titles [duplicate]
This question already has an answer here:
Formatting section titles
2 answers
Is there a good way by specifying it in the preamble, to underline my section titles (not chapter titles), instead of having to do chapter{underline{Section Title}} for all chapter titles in the body?
I would like it as something like in this picture below:

Thanks!
sectioning formatting
marked as duplicate by JouleV, Stefan Pinnow, Phelype Oleinik, siracusa, Raaja Apr 8 at 2:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Formatting section titles
2 answers
Is there a good way by specifying it in the preamble, to underline my section titles (not chapter titles), instead of having to do chapter{underline{Section Title}} for all chapter titles in the body?
I would like it as something like in this picture below:

Thanks!
sectioning formatting
marked as duplicate by JouleV, Stefan Pinnow, Phelype Oleinik, siracusa, Raaja Apr 8 at 2:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
That is very bad typographical practice.
– Bernard
Apr 7 at 15:56
Oo, sorry, I totally switched chapter and section. I meant this one is for the section title, not chapter title. I need to make it that way because of the thesis formatting requirements.
– Samyam Shrestha
Apr 7 at 16:13
Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.
– Samyam Shrestha
Apr 7 at 16:13
@SamyamShrestha Look at the linked question.
– JouleV
Apr 7 at 16:14
add a comment |
This question already has an answer here:
Formatting section titles
2 answers
Is there a good way by specifying it in the preamble, to underline my section titles (not chapter titles), instead of having to do chapter{underline{Section Title}} for all chapter titles in the body?
I would like it as something like in this picture below:

Thanks!
sectioning formatting
This question already has an answer here:
Formatting section titles
2 answers
Is there a good way by specifying it in the preamble, to underline my section titles (not chapter titles), instead of having to do chapter{underline{Section Title}} for all chapter titles in the body?
I would like it as something like in this picture below:

Thanks!
This question already has an answer here:
Formatting section titles
2 answers
sectioning formatting
sectioning formatting
edited Apr 7 at 16:12
Samyam Shrestha
asked Apr 7 at 15:47
Samyam ShresthaSamyam Shrestha
496
496
marked as duplicate by JouleV, Stefan Pinnow, Phelype Oleinik, siracusa, Raaja Apr 8 at 2:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by JouleV, Stefan Pinnow, Phelype Oleinik, siracusa, Raaja Apr 8 at 2:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
That is very bad typographical practice.
– Bernard
Apr 7 at 15:56
Oo, sorry, I totally switched chapter and section. I meant this one is for the section title, not chapter title. I need to make it that way because of the thesis formatting requirements.
– Samyam Shrestha
Apr 7 at 16:13
Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.
– Samyam Shrestha
Apr 7 at 16:13
@SamyamShrestha Look at the linked question.
– JouleV
Apr 7 at 16:14
add a comment |
1
That is very bad typographical practice.
– Bernard
Apr 7 at 15:56
Oo, sorry, I totally switched chapter and section. I meant this one is for the section title, not chapter title. I need to make it that way because of the thesis formatting requirements.
– Samyam Shrestha
Apr 7 at 16:13
Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.
– Samyam Shrestha
Apr 7 at 16:13
@SamyamShrestha Look at the linked question.
– JouleV
Apr 7 at 16:14
1
1
That is very bad typographical practice.
– Bernard
Apr 7 at 15:56
That is very bad typographical practice.
– Bernard
Apr 7 at 15:56
Oo, sorry, I totally switched chapter and section. I meant this one is for the section title, not chapter title. I need to make it that way because of the thesis formatting requirements.
– Samyam Shrestha
Apr 7 at 16:13
Oo, sorry, I totally switched chapter and section. I meant this one is for the section title, not chapter title. I need to make it that way because of the thesis formatting requirements.
– Samyam Shrestha
Apr 7 at 16:13
Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.
– Samyam Shrestha
Apr 7 at 16:13
Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.
– Samyam Shrestha
Apr 7 at 16:13
@SamyamShrestha Look at the linked question.
– JouleV
Apr 7 at 16:14
@SamyamShrestha Look at the linked question.
– JouleV
Apr 7 at 16:14
add a comment |
1 Answer
1
active
oldest
votes
This is a quick way using sectsty
documentclass{book}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
usepackage{lipsum}
begin{document}
chapter{This is a chapter}
section{This is your section}
lipsum[1]
end{document}

Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
titlesec, or you can even edit it manually by redefiningchapter.
– JouleV
Apr 7 at 16:51
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is a quick way using sectsty
documentclass{book}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
usepackage{lipsum}
begin{document}
chapter{This is a chapter}
section{This is your section}
lipsum[1]
end{document}

Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
titlesec, or you can even edit it manually by redefiningchapter.
– JouleV
Apr 7 at 16:51
add a comment |
This is a quick way using sectsty
documentclass{book}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
usepackage{lipsum}
begin{document}
chapter{This is a chapter}
section{This is your section}
lipsum[1]
end{document}

Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
titlesec, or you can even edit it manually by redefiningchapter.
– JouleV
Apr 7 at 16:51
add a comment |
This is a quick way using sectsty
documentclass{book}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
usepackage{lipsum}
begin{document}
chapter{This is a chapter}
section{This is your section}
lipsum[1]
end{document}

This is a quick way using sectsty
documentclass{book}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
usepackage{lipsum}
begin{document}
chapter{This is a chapter}
section{This is your section}
lipsum[1]
end{document}

answered Apr 7 at 16:41
JouleVJouleV
13.1k22663
13.1k22663
Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
titlesec, or you can even edit it manually by redefiningchapter.
– JouleV
Apr 7 at 16:51
add a comment |
Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
titlesec, or you can even edit it manually by redefiningchapter.
– JouleV
Apr 7 at 16:51
Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?
– Samyam Shrestha
Apr 7 at 16:50
titlesec, or you can even edit it manually by redefining chapter.– JouleV
Apr 7 at 16:51
titlesec, or you can even edit it manually by redefining chapter.– JouleV
Apr 7 at 16:51
add a comment |
1
That is very bad typographical practice.
– Bernard
Apr 7 at 15:56
Oo, sorry, I totally switched chapter and section. I meant this one is for the section title, not chapter title. I need to make it that way because of the thesis formatting requirements.
– Samyam Shrestha
Apr 7 at 16:13
Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.
– Samyam Shrestha
Apr 7 at 16:13
@SamyamShrestha Look at the linked question.
– JouleV
Apr 7 at 16:14