LaTeX - score export

• Jan 20, 2021 - 08:18

Hi

I would like to write a music book with latex including text and music.

Latex -> for the style of the text and the ease of use
Musescore -> for the scores

However, currently, i am exporting the score as a PNG file and then cut it in photoshop as Musescore exports all the page and not only the score.

It results that I never have the same width and I loose lot of time to adjust the width of each samples.

What should I do ?

Cheers

Attachment Size
GAP.pdf 3.28 MB
008.mscz 9.18 KB
008-1.png 110.1 KB

Comments

Another option is to use ImageMagick to trim the white space from your images, that's what I have done in the past. We also implemented at one time a command line option for MuseScore to do this, but I'm not sure how well that works currently - I'm guessing it hasn't been tested in years.

Since I only need small bits of music at a time, I use "EasyABC" to make them and then the "abc package" in LaTeX to include them. Having both EasyABC and TexShop running at the same time, I can get the music the way I want it in EasyABC, save it as a "xxx.abc" file, and then use "\abcinput{xxx}" to bring it into my LaTeX document. If I wanted to have whole pages of music in my LaTeX document, I'd just make a PDF of them and then use the "pdfpages package" to put them in where I wanted them.

Do you still have an unanswered question? Please log in first to post your question.