Underlining section titles [duplicate]Formatting section titlesIs it possible to customize only the section...

"listening to me about as much as you're listening to this pole here"

What is the meaning of "of trouble" in the following sentence?

How to deal with fear of taking dependencies

Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?

Why airport relocation isn't done gradually?

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

Email Account under attack (really) - anything I can do?

Need help identifying/translating a plaque in Tangier, Morocco

LWC and complex parameters

Finding files for which a command fails

Is ipsum/ipsa/ipse a third person pronoun, or can it serve other functions?

Is it wise to focus on putting odd beats on left when playing double bass drums?

How could a lack of term limits lead to a "dictatorship?"

Copycat chess is back

Where to refill my bottle in India?

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?

"My colleague's body is amazing"

aging parents with no investments

Unbreakable Formation vs. Cry of the Carnarium

Prime joint compound before latex paint?

What is it called when one voice type sings a 'solo'?

Is Social Media Science Fiction?

Is every set a filtered colimit of finite sets?



Underlining section titles [duplicate]


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 chapter{underline{Section 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 yesterday


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
    yesterday











  • 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
    yesterday











  • Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.

    – Samyam Shrestha
    yesterday











  • @SamyamShrestha Look at the linked question.

    – JouleV
    yesterday
















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 chapter{underline{Section 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 yesterday


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
    yesterday











  • 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
    yesterday











  • Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.

    – Samyam Shrestha
    yesterday











  • @SamyamShrestha Look at the linked question.

    – JouleV
    yesterday














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 chapter{underline{Section 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 chapter{underline{Section 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 yesterday







Samyam Shrestha

















asked yesterday









Samyam ShresthaSamyam Shrestha

495




495




marked as duplicate by JouleV, Stefan Pinnow, Phelype Oleinik, siracusa, Raaja yesterday


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 yesterday


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
    yesterday











  • 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
    yesterday











  • Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.

    – Samyam Shrestha
    yesterday











  • @SamyamShrestha Look at the linked question.

    – JouleV
    yesterday














  • 1





    That is very bad typographical practice.

    – Bernard
    yesterday











  • 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
    yesterday











  • Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.

    – Samyam Shrestha
    yesterday











  • @SamyamShrestha Look at the linked question.

    – JouleV
    yesterday








1




1





That is very bad typographical practice.

– Bernard
yesterday





That is very bad typographical practice.

– Bernard
yesterday













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
yesterday





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
yesterday













Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.

– Samyam Shrestha
yesterday





Thnks, @JouleV, but I could not find how you can underline it and middle align it. I'm new to Latex actually.

– Samyam Shrestha
yesterday













@SamyamShrestha Look at the linked question.

– JouleV
yesterday





@SamyamShrestha Look at the linked question.

– JouleV
yesterday










1 Answer
1






active

oldest

votes


















3














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}


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
    yesterday











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

    – JouleV
    yesterday


















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



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


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
    yesterday











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

    – JouleV
    yesterday
















3














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}


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
    yesterday











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

    – JouleV
    yesterday














3












3








3







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}


enter image description here






share|improve this answer













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}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









JouleVJouleV

11.7k22561




11.7k22561













  • Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?

    – Samyam Shrestha
    yesterday











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

    – JouleV
    yesterday



















  • Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?

    – Samyam Shrestha
    yesterday











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

    – JouleV
    yesterday

















Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?

– Samyam Shrestha
yesterday





Great, that's sweet! Thanks! Similar to this (sectsty), what package can edit chapter titles?

– Samyam Shrestha
yesterday













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

– JouleV
yesterday





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

– JouleV
yesterday



Popular posts from this blog

is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

How do i solve the “ No module named 'mlxtend' ” issue on Jupyter?

Pilgersdorf Inhaltsverzeichnis Geografie | Geschichte | Bevölkerungsentwicklung | Politik | Kultur...