LaTeX - score export
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
Comments
Maybe better use SVG?
If you're always using the same page width and a full system, then look at using the image capture tool: https://musescore.org/en/handbook/image-capture
You can save your capture frame size, so it always uses the same size. But (as mentioned by Jojo) you can also use it to save in the SVG format, making your image pretty much lossless in quality.
Btw. a more cumbersome way, there seems to exist a limited MusicXml to MusixTex converter: https://mx2mt.ulmus.cz/.
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.