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 in the middle of a title should be capitalized, then that word is neither an article nor a conjunction shorter than five letters can be properly inferred from the statements above.