capitalization in hyphenated compounds

Which parts of a hyphenated compound take a capital in a title.

In title case, capitalize each part of a hyphenated compound that can stand as a word on its own: Cross-Border Shipping, Self-Taught Violinist. A short prefix that cannot stand alone⁠—re-, pre-, mid-⁠—takes a capital only on its first letter; leave the stem lowercase: Pre-owned, not Pre-Owned. Keep the capital when the stem is a proper noun or a proper adjective: Mid-October. Lowercase an article, a preposition, or a coordinating conjunction that falls inside the compound: End-of-Year Review.

Examples

UseCross-Border Shipping (Both parts can stand as words.)

UsePre-owned Cars (Short prefix; stem stays lowercase.)

AvoidPre-Owned Cars (Do not capitalize the stem after a short prefix.)

UseMid-October Auction (Proper noun after the hyphen.)

UseEnd-of-Year Review (Preposition inside stays lowercase.)

AvoidCross-border Shipping (In a title that otherwise takes capitals.)