fore-and-aft capped

adj.

Drunk past the point of keeping the side cap on straight, but not past the point of wearing it indoors.

Barrie was fore-and-aft capped, reclining beneath the lamp with his hat at an angle.

Source: Wiktionary