Underlining section titles [duplicate] The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Formatting section titlesIs it possible to customize only the section and subsection numbers or titles in memoir?Formatting section titlesLaTeX Underlined section titles with note to right without underlineDifferent format styles for section and appendix titlesBroken automatic line breaking in section titles when ulem and hyperref are usedhrule underlining of subsection titlesTitlesec & titles extending into marginSimple Way to Format Section TitlesInserting section titles on the chapter title pageProblems with the table of contents

When did F become S? Why?

How to delete random line from file using Unix command?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Can the DM override racial traits?

Am I ethically obligated to go into work on an off day if the reason is sudden?

How did passengers keep warm on sail ships?

Didn't get enough time to take a Coding Test - what to do now?

Why did all the guest students take carriages to the Yule Ball?

Is a pteranodon too powerful as a beast companion for a beast master?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Can a novice safely splice in wire to lengthen 5V charging cable?

Would an alien lifeform be able to achieve space travel if lacking in vision?

Does Parliament hold absolute power in the UK?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

"... to apply for a visa" or "... and applied for a visa"?

A pet rabbit called Belle

Button changing its text & action. Good or terrible?

Why not take a picture of a closer black hole?

Does the AirPods case need to be around while listening via an iOS Device?

Was credit for the black hole image misattributed?

Take groceries in checked luggage

Single author papers against my advisor's will?

Is there a writing software that you can sort scenes like slides in PowerPoint?

What was the last x86 CPU that did not have the x87 floating-point unit built in?



Underlining section titles [duplicate]



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Formatting section titlesIs it possible to customize only the section and subsection numbers or titles in memoir?Formatting section titlesLaTeX Underlined section titles with note to right without underlineDifferent format styles for section and appendix titlesBroken automatic line breaking in section titles when ulem and hyperref are usedhrule underlining of subsection titlesTitlesec & titles extending into marginSimple Way to Format Section TitlesInserting section titles on the chapter title pageProblems with the table of contents










2
















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 chapterunderlineSection Title for all chapter titles in the body?



I would like it as something like in this picture below:



enter image description here



Thanks!










share|improve this 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















2
















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 chapterunderlineSection Title for all chapter titles in the body?



I would like it as something like in this picture below:



enter image description here



Thanks!










share|improve this 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













2












2








2









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 chapterunderlineSection Title for all chapter titles in the body?



I would like it as something like in this picture below:



enter image description here



Thanks!










share|improve this question

















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 chapterunderlineSection Title for all chapter titles in the body?



I would like it as something like in this picture below:



enter image description here



Thanks!





This question already has an answer here:



  • Formatting section titles

    2 answers







sectioning formatting






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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










1 Answer
1






active

oldest

votes


















3














This is a quick way using sectsty



documentclassbook
usepackagesectsty
sectionfontunderlinenormalfontnormalsizecentering
usepackagelipsum
begindocument
chapterThis is a chapter
sectionThis is your section
lipsum[1]
enddocument


enter image description here






share|improve this answer























  • 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

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














This is a quick way using sectsty



documentclassbook
usepackagesectsty
sectionfontunderlinenormalfontnormalsizecentering
usepackagelipsum
begindocument
chapterThis is a chapter
sectionThis is your section
lipsum[1]
enddocument


enter image description here






share|improve this answer























  • 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















3














This is a quick way using sectsty



documentclassbook
usepackagesectsty
sectionfontunderlinenormalfontnormalsizecentering
usepackagelipsum
begindocument
chapterThis is a chapter
sectionThis is your section
lipsum[1]
enddocument


enter image description here






share|improve this answer























  • 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













3












3








3







This is a quick way using sectsty



documentclassbook
usepackagesectsty
sectionfontunderlinenormalfontnormalsizecentering
usepackagelipsum
begindocument
chapterThis is a chapter
sectionThis is your section
lipsum[1]
enddocument


enter image description here






share|improve this answer













This is a quick way using sectsty



documentclassbook
usepackagesectsty
sectionfontunderlinenormalfontnormalsizecentering
usepackagelipsum
begindocument
chapterThis is a chapter
sectionThis is your section
lipsum[1]
enddocument


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










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 redefining chapter.

    – 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











  • titlesec, or you can even edit it manually by redefining chapter.

    – 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