Can anyone tell me the difference between those two commands?
Edit: Thanks for the answers, but I didn't get the clue yet. Here's an example:
test.tex
\documentclass[a4paper,oneside]{mytestclass}
...
mytestclass.cls
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{testclass}[2011/01/30 v0.1 testclass]
\LoadClass{book}
or
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{testclass}[2011/01/30 v0.1 testclass]
\LoadClassWithOptions{book}
In both examples the options a4paper and oneside are passed to book. So, I don't see any difference in the result.
\documentclass[a4paper,oneside,openany]{mytestclass}openanyis not valid with\LoadClass. Insert two\chaptercommands in the test doc – Jan 30 '11 at 13:40