I've been a happy user of MuseScore, music notation software which has a gui, is cross platform, and is open source software:
https://musescore.org/en
I gladly recommend it to others.
A Tex like approach is available via Lilypond, though I have not tried it so I have no experience to share.