A style in which a writer makes a display of his knowledge

Pedantic
Verbose
Pompous
Ornate

The correct answer is: Pedantic.

Pedantic is an adjective that means excessively concerned with minor details or rules. It can also mean showing off one’s learning in a tiresome way.

Verbose is an adjective that means using more words than necessary. It can also mean using long, complex words when simpler words would do.

Pompous is an adjective that means having or showing an exaggerated sense of one’s own importance or dignity.

Ornate is an adjective that means decorated in an elaborate and often showy way.

In the context of the question, the correct answer is pedantic because it is the only option that describes a style of writing that is characterized by the use of excessive detail or by the display of one’s knowledge in a tiresome way. The other options, verbose, pompous, and ornate, do not accurately describe the style of writing in question.