One should always capitalize the main words and the first and last words of a title. But one should never capitalize articles, or prepositions and conjunctions with fewer than five letters, when they occur in the middle of a title.
If a word is neither a main word nor a first or last word of a title, then it should not be capitalized can be properly inferred from the statements above.