Inserting LilyPond files into ShareLatex












0















I've created a couple LilyPond .ly files, with some music I want to insert into a Latex document I have on ShareLatex, but I don't know which packages to use etc.



Does anyone know how I can get this done?










share|improve this question























  • Welcome to TeX.SX! Have you read Lilypond's documentation? If yes, could you please add a minimal working example (MWE) that illustrates where exactly is your problem? You can also browse lilypond related questions to help you.

    – ebosi
    May 19 '17 at 20:21











  • IN general, to insert lilypond music into LaTeX, you can either create images (e.g. in .png format) from Lilypond and includegraphics in LaTeX, or use Lilypond-book. The "best" choice depends what you want to do - for example, if the music needs two systems, do you want one at the bottom of a page and the second at the top of the next page, or both on the same page? I don't know anything about ShareLatex, so this is a comment not an answer.

    – alephzero
    May 19 '17 at 20:30













  • If you're restricted to working with ShareLatex, I recommend creating the individual LilyPond images (I recommend .pdf because they're smaller and higher quality) and using includegraphics. Going the lilypond-book route requires some command-line work that, if it's even possible on ShareLatex, seems needlessly complex.

    – Richard
    May 19 '17 at 20:56
















0















I've created a couple LilyPond .ly files, with some music I want to insert into a Latex document I have on ShareLatex, but I don't know which packages to use etc.



Does anyone know how I can get this done?










share|improve this question























  • Welcome to TeX.SX! Have you read Lilypond's documentation? If yes, could you please add a minimal working example (MWE) that illustrates where exactly is your problem? You can also browse lilypond related questions to help you.

    – ebosi
    May 19 '17 at 20:21











  • IN general, to insert lilypond music into LaTeX, you can either create images (e.g. in .png format) from Lilypond and includegraphics in LaTeX, or use Lilypond-book. The "best" choice depends what you want to do - for example, if the music needs two systems, do you want one at the bottom of a page and the second at the top of the next page, or both on the same page? I don't know anything about ShareLatex, so this is a comment not an answer.

    – alephzero
    May 19 '17 at 20:30













  • If you're restricted to working with ShareLatex, I recommend creating the individual LilyPond images (I recommend .pdf because they're smaller and higher quality) and using includegraphics. Going the lilypond-book route requires some command-line work that, if it's even possible on ShareLatex, seems needlessly complex.

    – Richard
    May 19 '17 at 20:56














0












0








0


0






I've created a couple LilyPond .ly files, with some music I want to insert into a Latex document I have on ShareLatex, but I don't know which packages to use etc.



Does anyone know how I can get this done?










share|improve this question














I've created a couple LilyPond .ly files, with some music I want to insert into a Latex document I have on ShareLatex, but I don't know which packages to use etc.



Does anyone know how I can get this done?







external-files sharelatex music lilypond






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 19 '17 at 20:16









PeiffapPeiffap

1239




1239













  • Welcome to TeX.SX! Have you read Lilypond's documentation? If yes, could you please add a minimal working example (MWE) that illustrates where exactly is your problem? You can also browse lilypond related questions to help you.

    – ebosi
    May 19 '17 at 20:21











  • IN general, to insert lilypond music into LaTeX, you can either create images (e.g. in .png format) from Lilypond and includegraphics in LaTeX, or use Lilypond-book. The "best" choice depends what you want to do - for example, if the music needs two systems, do you want one at the bottom of a page and the second at the top of the next page, or both on the same page? I don't know anything about ShareLatex, so this is a comment not an answer.

    – alephzero
    May 19 '17 at 20:30













  • If you're restricted to working with ShareLatex, I recommend creating the individual LilyPond images (I recommend .pdf because they're smaller and higher quality) and using includegraphics. Going the lilypond-book route requires some command-line work that, if it's even possible on ShareLatex, seems needlessly complex.

    – Richard
    May 19 '17 at 20:56



















  • Welcome to TeX.SX! Have you read Lilypond's documentation? If yes, could you please add a minimal working example (MWE) that illustrates where exactly is your problem? You can also browse lilypond related questions to help you.

    – ebosi
    May 19 '17 at 20:21











  • IN general, to insert lilypond music into LaTeX, you can either create images (e.g. in .png format) from Lilypond and includegraphics in LaTeX, or use Lilypond-book. The "best" choice depends what you want to do - for example, if the music needs two systems, do you want one at the bottom of a page and the second at the top of the next page, or both on the same page? I don't know anything about ShareLatex, so this is a comment not an answer.

    – alephzero
    May 19 '17 at 20:30













  • If you're restricted to working with ShareLatex, I recommend creating the individual LilyPond images (I recommend .pdf because they're smaller and higher quality) and using includegraphics. Going the lilypond-book route requires some command-line work that, if it's even possible on ShareLatex, seems needlessly complex.

    – Richard
    May 19 '17 at 20:56

















Welcome to TeX.SX! Have you read Lilypond's documentation? If yes, could you please add a minimal working example (MWE) that illustrates where exactly is your problem? You can also browse lilypond related questions to help you.

– ebosi
May 19 '17 at 20:21





Welcome to TeX.SX! Have you read Lilypond's documentation? If yes, could you please add a minimal working example (MWE) that illustrates where exactly is your problem? You can also browse lilypond related questions to help you.

– ebosi
May 19 '17 at 20:21













IN general, to insert lilypond music into LaTeX, you can either create images (e.g. in .png format) from Lilypond and includegraphics in LaTeX, or use Lilypond-book. The "best" choice depends what you want to do - for example, if the music needs two systems, do you want one at the bottom of a page and the second at the top of the next page, or both on the same page? I don't know anything about ShareLatex, so this is a comment not an answer.

– alephzero
May 19 '17 at 20:30







IN general, to insert lilypond music into LaTeX, you can either create images (e.g. in .png format) from Lilypond and includegraphics in LaTeX, or use Lilypond-book. The "best" choice depends what you want to do - for example, if the music needs two systems, do you want one at the bottom of a page and the second at the top of the next page, or both on the same page? I don't know anything about ShareLatex, so this is a comment not an answer.

– alephzero
May 19 '17 at 20:30















If you're restricted to working with ShareLatex, I recommend creating the individual LilyPond images (I recommend .pdf because they're smaller and higher quality) and using includegraphics. Going the lilypond-book route requires some command-line work that, if it's even possible on ShareLatex, seems needlessly complex.

– Richard
May 19 '17 at 20:56





If you're restricted to working with ShareLatex, I recommend creating the individual LilyPond images (I recommend .pdf because they're smaller and higher quality) and using includegraphics. Going the lilypond-book route requires some command-line work that, if it's even possible on ShareLatex, seems needlessly complex.

– Richard
May 19 '17 at 20:56










1 Answer
1






active

oldest

votes


















1














I ended up going with just creating individual images (.pdf, with the highest quality option, as @Richard suggested) and inserting them into the .tex with includegraphics. It's not a perfect solution, but it was definitely good enough for my purposes.



As an aside, using ShareLaTeX (now Overleaf) is a good solution when you're relatively new to LaTeX, but situations like this where it forces you to use suboptimal workarounds do arise quite often. I now use TeXStudio and don't think I'll ever need another LaTeX editor again.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f370643%2finserting-lilypond-files-into-sharelatex%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    I ended up going with just creating individual images (.pdf, with the highest quality option, as @Richard suggested) and inserting them into the .tex with includegraphics. It's not a perfect solution, but it was definitely good enough for my purposes.



    As an aside, using ShareLaTeX (now Overleaf) is a good solution when you're relatively new to LaTeX, but situations like this where it forces you to use suboptimal workarounds do arise quite often. I now use TeXStudio and don't think I'll ever need another LaTeX editor again.






    share|improve this answer






























      1














      I ended up going with just creating individual images (.pdf, with the highest quality option, as @Richard suggested) and inserting them into the .tex with includegraphics. It's not a perfect solution, but it was definitely good enough for my purposes.



      As an aside, using ShareLaTeX (now Overleaf) is a good solution when you're relatively new to LaTeX, but situations like this where it forces you to use suboptimal workarounds do arise quite often. I now use TeXStudio and don't think I'll ever need another LaTeX editor again.






      share|improve this answer




























        1












        1








        1







        I ended up going with just creating individual images (.pdf, with the highest quality option, as @Richard suggested) and inserting them into the .tex with includegraphics. It's not a perfect solution, but it was definitely good enough for my purposes.



        As an aside, using ShareLaTeX (now Overleaf) is a good solution when you're relatively new to LaTeX, but situations like this where it forces you to use suboptimal workarounds do arise quite often. I now use TeXStudio and don't think I'll ever need another LaTeX editor again.






        share|improve this answer















        I ended up going with just creating individual images (.pdf, with the highest quality option, as @Richard suggested) and inserting them into the .tex with includegraphics. It's not a perfect solution, but it was definitely good enough for my purposes.



        As an aside, using ShareLaTeX (now Overleaf) is a good solution when you're relatively new to LaTeX, but situations like this where it forces you to use suboptimal workarounds do arise quite often. I now use TeXStudio and don't think I'll ever need another LaTeX editor again.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 18 at 9:21









        Andrew Swann

        77.7k9130332




        77.7k9130332










        answered Mar 18 at 8:54









        PeiffapPeiffap

        1239




        1239






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f370643%2finserting-lilypond-files-into-sharelatex%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?