The following video demonstrates how to create a musical graphic in MuseScore, crop it on a Mac, and import it into a word processing document using Pages. The process is similar for other applications and platforms.
You can also use the Snippet creator plugin for MuseScore to create these graphics directly from the application.