CLS files are latex2e format files that determine the layout of the Latex source files. The most general CLS file is our usual article.cls, which is expressed in
/documentclass{article}
This sentence inside. If the Publisher provides a CLS file, we can use the following two methods (if the CLS file is named Xxx.cls):
1) CLS files and your own latex files are placed in the same folder, in the source file with
/DOCUMENTCLASS{XXX}
Instead of
/documentclass{article}
2) Place the CLS file in
C:/ctex/localtexmf/tex/latex Next folder (you can build a folder yourself)
Then refresh the database by doing the following:
Start-All Programs--English Tex set-->miktex-->miktex Options--->refresh,
OK, okay.
In the source file, use
/DOCUMENTCLASS{XXX}
Instead of
/documentclass{article}
Transferred from: http://hi.baidu.com/vardesa/blog/item/6b69e2ed09bf204879f05510.html