I was wondering how I could change the .sty file in order to break the part name's line into two lines, since I find it too long. Writing \\ in the middle of the part's name doesn't compile. Below is a screen shot of what I get. I'd like it to be, e.g., "Generalidades de" \\ "procesos continuos".

The code to modify is the following:

    \def\ctparttext@keep{} % Thanks to Ivo
    \def\ctparttext@print{\ctparttext@keep \gdef\ctparttext@keep{}}

Thank you in advance.

enter image description here


The problem is that \\ behaves badly inside \MakeTextUppercase unless protected.





\part[Generalidades de procesos continuos]
     {Generalidades de \titlebreak procesos continuos}


You need to add the optional argument in order that the title is not broken in the table of contents.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.