James IV is the best-known of all the late medieval Scottish rulers. Widely praised by his contemporaries, he combined the qualities of successful medieval monarch with a wide …