TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a class file to help document my thesis. I need to make some basic changes and I therefore go and edit my class file.

I save it and then in Texnic Center when I do shift+ctrl+f5 I do not get the updated information.

Is there another way to compile or something? I am not sure why changes do not get reflected.

share|improve this question
What exactly is your "class" file? Is it a custom .cls file that you are using through \documentclass? – Gonzalo Medina Jun 21 '11 at 20:23
Why are you editing the style file directly rather than doing your modifications in the preamble to your document? – Seamus Jun 21 '11 at 20:24
@Seamus : because I was asked to shift everything on my title page 1 in downward and my thesis tex file just has \maketitle command.If there is another way to do this I'd be more than glad to try. – rty Jun 21 '11 at 20:34
@rty: You could use a titlepage environment. Furthermore, you could provide a link to the class file which would make it easier to help. – Stefan Kottwitz Jun 21 '11 at 21:29
@Stefan : Here is the link to the website wiki.engr.illinois.edu/display/ECEThesisReview/LaTeX+Resources .It is the first download on this page -uiucecethesis09.cls – rty Jun 21 '11 at 22:52
up vote 5 down vote accepted

Modifying directly a .cls file is not a good practice. Instead you can make the modification(s) in your .tex file (redefining what you need, and using \makeatletter, \makeatother if necessary). Another option is to use the etoolbox package; in this case, we only have to patch the \maketitle command, so you can use


in the preamble of your .tex document. A complete example:




\title{Title Goes Here and Will Be Automatically Set in ALL CAPS}
\author{Your Name Goes Here}
\department{Electrical and Computer Engineering}

\advisor{Your Adviser Here}


share|improve this answer
Perfect Gonzalo! Thanks for being such a sport and going through the actual cls document :) – rty Jun 22 '11 at 2:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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