pedantry

PED'ANTRY, n. Vain ostentation of learning; a boastful display of knowledge of any kind.

Horace has enticed me into this pedantry of quotation.

Pedantry is the unseasonable ostentation of learning.