There's a scene in Cyrano de Bergerac where most of Cyrano and Christian's fellow soldiers are introduced to Roxane:
"Baron de Casterac de Cahuzac.—Vidame De Malgouyre Estressac Lesbas d'Escarabiot. Chevalier d'Antignac-Juzet.—Baron Hillot De Blagnac-Salechan de Castel Crabioules..."
Roxane: But how many names have you each? Baron Hillot: Scores!
Lampshaded by Joan of Arc (La Pucelle) in Shakespeare's Henry VI, Part 1, Act 4, Scene 7:
LUCY: But where's the great Alcides of the field, Valiant Lord Talbot, Earl of Shrewsbury, Created, for his rare success in arms, Great Earl of Washford, Waterford and Valence; Lord Talbot of Goodrig and Urchinfield, Lord Strange of Blackmere, Lord Verdun of Alton, Lord Cromwell of Wingfield, Lord Furnival of Sheffield, The thrice-victorious Lord of Falconbridge; Knight of the noble order of Saint George, Worthy Saint Michael and the Golden Fleece; Great marshal to Henry the Sixth Of all his wars within the realm of France? JOAN LA PUCELLE: Here is a silly stately style indeed! The Turk, that two and fifty kingdoms hath, Writes not so tedious a style as this. Him that thou magnifiest with all these titles Stinking and fly-blown lies here at our feet.
Leon Steponovitch Tolchinsky, Sophia Irena Elynya Zubritsky and Count Gregor Mikhailovitch Breznofsky Fyodor Yousekevitch from Fools.
In Rodgers & Hammerstein's musical version of Cinderella, the three members of the royal family all have absurdly long names, the Prince being introduced as "His Royal Highness, Christopher Rupert Windemere Vandermere Karl Alexander François Reginald Lancelot Herman Gregory James, son of Her Majesty, Queen Constantina Charlotte Ermintrude Gwinyvere Maisie Marguerite Anne and His Majesty, King Maximilian Godfrey Ladislaus Leopold Sidney Frederick John."
"I've changed my name, it's Jeff Jeff Jeff Smith Smith Smithly Ghali!"
"Come on in, Jeffrey-big long-named person!"
The play "The Persecution And Assassination of Jean Paul Marat As Performed By The Inmates Of The Asylum Of Charenton Under The Direction Of The Marquis De Sade" by Peter Weiss is commonly referred to as "Marat/Sade" for obvious reasons, often times even on posters.
Greek playwright Aristophanes coined the longest word ever written in literature from a comedy called Assemblywomen, Lopadotemachoselachogaleokranioleipsaneilsmellsnodrimhypotrimmatosilphioparaomelitoyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon. No writer has ever created a longer word, and this record has been held since 390BC!
In Dorothy L. Sayers's The Emperor Constantine, Helena's servant derides the Emperor's name — he didn't have it that long when he had wooed (and abandoned) Helena.