I'm using a latex template to format my dissertation. The template has been provided as a .cls file and accompanying tex file. One of the requirements is that the table of contents, list of figures and list of tables not be full-left justified, but rather just left justified (ragged right). I'm still relatively new to latex, but I can usually figure out how to troubleshoot issues. But I really don't know how to work with a .cls file. I would really appreciate it if someone could take a look at the .cls file, and give me advice on how to modify it to remove the full-left justification found in the table of contents, list of tables and list of figures.

You can download here a simplified version of my dissertation that shows the issue. You have to execute the "PTitle_thesis.tex" file more than once to get the content to fully appear.

Thanks! I really appreciate any help anyone can provide!

1 Answer 1


You can try to change \@tocrmarg:

\renewcommand\@tocrmarg{1in plus 1fil}%adapt the 1in to you liking

But imho it sounds rather odd that a class given to you doesn't fulfil the requirements.

  • thanks! I agree with you, it is odd, seems like an oversight or something.
    – Pascal
    Sep 4, 2012 at 15:02

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.