The story
It is probable that William Shakespeare first coined this word in his play Taming of the Shrew, (See example below), as a repetition of the word 'pedant' but in Latinised form to shame the other character.
Etymology from Wiktionary, CC BY-SA 4.0.