Inelegantly has 2 different meanings across 1 category:
Adverb
without elegance
In an inelegant manner.