I you want to match objects that ONLY have exactly those three class names and you want to be insensitive to the order of the class names or the amount of white space between them, then you can do it like this:

$('.class1.class2.class3').filter(function() {
     return(this.className.replace(/class1|class2|class3/g, "").replace(/\s*/g, "") == '');
});


If you want to only exclude a specific other class, then you can do it like this:

$('.class1.class2.class3').not('.class4')


JQuery - Select exact class structure
This is my first ever posting. I am quite new to LaTeX but have recently written a book in it. I have got the whole thing set up, including margins, page size and everything. But the title page has defeated me.

I have used the \maketitle command, and it makes quite a good page. But my book has a subtitle, which I would like to include between the title and my name. I have looked around the internet for hours, and as far as I can see, you need to be a LaTeX expert to do this. I have tried pasting in the code from the memoir title page examples here: ftp://ftp.dante.de/tex-archive/info/latex-samples/TitlePages/titlepages.pdf, but none of them seem to work.

So I wondered whether anyone could help me. All I want is a page that is very like the standard \maketitle page, but has a subtitle between the title and the author name.
