Text Formattinghow to avoid section hypenation

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

how to avoid section hypenation

Post by gmedina »

localghost wrote:...I hope I could answer your question. And I assume the package maintainer may answers: »Write the section title in capitals directly«...
Yes, question answered! And I agree, the maintainer's answer will be surely that one, so perhaps I won't include this "uc" feature request in my note to him, if that's OK with you.

As I said before, I will post here any answer from Javier Bezos.
1,1,2,3,5,8,13,21,34,55,89,144,233,...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: how to avoid section hypenation

Post by localghost »

Please submit this idea. Writing the sectioning titles in capitals by hand would mean that also their ToC entry would appear in capitals. But that should be avoided without using the optional short form for headings. I'm interested in his opinion concerning this point. Many thanks for your effort.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: how to avoid section hypenation

Post by gmedina »

OK. I'll ask for this feature too.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: how to avoid section hypenation

Post by localghost »

Thanks again. I'm looking forward to the author's reaction.
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

Re: how to avoid section hypenation

Post by dmuthu_cse »

hello friends,

i am really sorry for the delayed response...

i have been out today.. I want the section to be justified. And i normally use \uppercase command in titlesec definition

and titlecase section title in the document, so that it will not create the needed ToC for me.

i will check the solutions and let you know as soon as possible..

Thanks and regards,
Muthu
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

Re: how to avoid section hypenation

Post by dmuthu_cse »

Hello friends,

I think i can go by gmedina solution. But as she mentioned, i have to be consious when i prepare table of contents of chapter.

I want the section to be justified. And so i am taking gmedinas solution.

Thanks and regards,
Muthu
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

how to avoid section hypenation

Post by gmedina »

dmuthu_cse wrote:...I think i can go by gmedina solution. But as she mentioned,...
It's "he", but that's OK. You are welcome!
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

how to avoid section hypenation

Post by gmedina »

Javier Bezos, the author of titlesec has kindly provided an answer to the two questions I asked him. Since we wrote our messages in our native language (Spanish), I will post here the translations:

1) Regarding the raggedright/sffamily issue: it's not a bug; the "easy setup" adjustments described in section 2.1 of the package documentation will only affect titles that won't be redefined in some other way; perhaps this remark should be included in the documentation.

2) Regarding the "real" uppercase feature suggested by localghost: the author gives his thanks for the suggestion; he will study the possibility of implementing this useful option, if no back compatibility issues arise.

Thanks to Javier Bezos for his quick and useful replies.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

how to avoid section hypenation

Post by localghost »

gmedina wrote:[…] Regarding the raggedright/sffamily issue: it's not a bug; the "easy setup" adjustments described in section 2.1 of the package documentation will only affect titles that won't be redefined in some other way; perhaps this remark should be included in the documentation. […]
I already thought something like this. Since I have always been satisfied with this feature as is, it will not bother me.
gmedina wrote:[…] Regarding the "real" uppercase feature suggested by localghost: the author gives his thanks for the suggestion; he will study the possibility of implementing this useful option, if no back compatibility issues arise. […]
Really good news. I'm looking forward to the result of this research.

Again, many thanks for your effort.
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

Re: how to avoid section hypenation

Post by dmuthu_cse »

Hello thorsten,

Thanks for the suggestion, its quite interesting to know it. I am trying study the manual.

Regards,
Muthu
Post Reply