The invitation specified that guests should wear formal attire.
His formal education included a degree in engineering.
The gala was a formal event attended by dignitaries.
The wedding was a formal occasion with a black-tie dress code.
In formal language, one must adhere to strict grammar rules.