memoir and standalone package












2














My main document is based on memoir documentclass. For inclusion of figures I use standalone package. It collaborate fine. But I have problem, how to include in figures (using standalone document class), that it can use some memoir specific formatting of document? Something like:



docummentclass[12pt,tikz]{standalone}
usepackage{????} %this should somehow incorporate memoir formatting
begin{document}
begin{tikzpicture}
....
end{tikzpicture}
end{document}


For example, memoir has somehow modified enumerate environment. If I use for exmple



begin{enumerate}[1.]
item some text
end{enumerate}


gives error "item missing". Beside above example there are more cases of formatting which I like to use also in some pictures. How to do this since memoir can not be included as document style (package)?










share|improve this question




















  • 1




    that is the functionality from the enumerate package, I'd rather recommend using usepackage[shortlabels]{enumitem} as it provides more features. Why do you need the standalone for the inclusion of figures when your main doc is memoir based?
    – daleif
    Aug 8 '14 at 7:06










  • I use standalone for inclusion of pictures. With standalone package I'm able to draw picture without to compile whole document. the second reason is probably even more important: with standalone i create set of pictures, which can anyone (read: my students) included as pdf files in their document (if they liked). On the another hand, I'm quit familiar with memoir and I'm not very keen to use additional package to the memoir, which functionality are already somehow incorporated in the memoir.
    – Zarko
    Aug 8 '14 at 8:10






  • 1




    Trust me you will want to learn enumitem, there are many things regarding lists that memoir does not provide interfaces to, enumitem do
    – daleif
    Aug 8 '14 at 8:22










  • I check packages enumitem and also enumerate. Indeed, the enumitem has nice capabilities for formatting of lists. The enumerate has number of preformatted lists, which are more close tho memoir combination begin{enumerate}firmlist, so I decide to mimic memoir lists in my tikz pictures with paralist. Thank you to give me idea, how I can mimic some meoir specific formating with other more specialized packages.
    – Zarko
    Aug 8 '14 at 12:13






  • 1




    In standalone class you need to use a minipage or tabular to handle more than one line of text.
    – John Kormylo
    Aug 10 '14 at 17:05
















2














My main document is based on memoir documentclass. For inclusion of figures I use standalone package. It collaborate fine. But I have problem, how to include in figures (using standalone document class), that it can use some memoir specific formatting of document? Something like:



docummentclass[12pt,tikz]{standalone}
usepackage{????} %this should somehow incorporate memoir formatting
begin{document}
begin{tikzpicture}
....
end{tikzpicture}
end{document}


For example, memoir has somehow modified enumerate environment. If I use for exmple



begin{enumerate}[1.]
item some text
end{enumerate}


gives error "item missing". Beside above example there are more cases of formatting which I like to use also in some pictures. How to do this since memoir can not be included as document style (package)?










share|improve this question




















  • 1




    that is the functionality from the enumerate package, I'd rather recommend using usepackage[shortlabels]{enumitem} as it provides more features. Why do you need the standalone for the inclusion of figures when your main doc is memoir based?
    – daleif
    Aug 8 '14 at 7:06










  • I use standalone for inclusion of pictures. With standalone package I'm able to draw picture without to compile whole document. the second reason is probably even more important: with standalone i create set of pictures, which can anyone (read: my students) included as pdf files in their document (if they liked). On the another hand, I'm quit familiar with memoir and I'm not very keen to use additional package to the memoir, which functionality are already somehow incorporated in the memoir.
    – Zarko
    Aug 8 '14 at 8:10






  • 1




    Trust me you will want to learn enumitem, there are many things regarding lists that memoir does not provide interfaces to, enumitem do
    – daleif
    Aug 8 '14 at 8:22










  • I check packages enumitem and also enumerate. Indeed, the enumitem has nice capabilities for formatting of lists. The enumerate has number of preformatted lists, which are more close tho memoir combination begin{enumerate}firmlist, so I decide to mimic memoir lists in my tikz pictures with paralist. Thank you to give me idea, how I can mimic some meoir specific formating with other more specialized packages.
    – Zarko
    Aug 8 '14 at 12:13






  • 1




    In standalone class you need to use a minipage or tabular to handle more than one line of text.
    – John Kormylo
    Aug 10 '14 at 17:05














2












2








2







My main document is based on memoir documentclass. For inclusion of figures I use standalone package. It collaborate fine. But I have problem, how to include in figures (using standalone document class), that it can use some memoir specific formatting of document? Something like:



docummentclass[12pt,tikz]{standalone}
usepackage{????} %this should somehow incorporate memoir formatting
begin{document}
begin{tikzpicture}
....
end{tikzpicture}
end{document}


For example, memoir has somehow modified enumerate environment. If I use for exmple



begin{enumerate}[1.]
item some text
end{enumerate}


gives error "item missing". Beside above example there are more cases of formatting which I like to use also in some pictures. How to do this since memoir can not be included as document style (package)?










share|improve this question















My main document is based on memoir documentclass. For inclusion of figures I use standalone package. It collaborate fine. But I have problem, how to include in figures (using standalone document class), that it can use some memoir specific formatting of document? Something like:



docummentclass[12pt,tikz]{standalone}
usepackage{????} %this should somehow incorporate memoir formatting
begin{document}
begin{tikzpicture}
....
end{tikzpicture}
end{document}


For example, memoir has somehow modified enumerate environment. If I use for exmple



begin{enumerate}[1.]
item some text
end{enumerate}


gives error "item missing". Beside above example there are more cases of formatting which I like to use also in some pictures. How to do this since memoir can not be included as document style (package)?







memoir enumerate standalone






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 19 mins ago









Martin Scharrer

198k45632814




198k45632814










asked Aug 8 '14 at 6:53









Zarko

120k865156




120k865156








  • 1




    that is the functionality from the enumerate package, I'd rather recommend using usepackage[shortlabels]{enumitem} as it provides more features. Why do you need the standalone for the inclusion of figures when your main doc is memoir based?
    – daleif
    Aug 8 '14 at 7:06










  • I use standalone for inclusion of pictures. With standalone package I'm able to draw picture without to compile whole document. the second reason is probably even more important: with standalone i create set of pictures, which can anyone (read: my students) included as pdf files in their document (if they liked). On the another hand, I'm quit familiar with memoir and I'm not very keen to use additional package to the memoir, which functionality are already somehow incorporated in the memoir.
    – Zarko
    Aug 8 '14 at 8:10






  • 1




    Trust me you will want to learn enumitem, there are many things regarding lists that memoir does not provide interfaces to, enumitem do
    – daleif
    Aug 8 '14 at 8:22










  • I check packages enumitem and also enumerate. Indeed, the enumitem has nice capabilities for formatting of lists. The enumerate has number of preformatted lists, which are more close tho memoir combination begin{enumerate}firmlist, so I decide to mimic memoir lists in my tikz pictures with paralist. Thank you to give me idea, how I can mimic some meoir specific formating with other more specialized packages.
    – Zarko
    Aug 8 '14 at 12:13






  • 1




    In standalone class you need to use a minipage or tabular to handle more than one line of text.
    – John Kormylo
    Aug 10 '14 at 17:05














  • 1




    that is the functionality from the enumerate package, I'd rather recommend using usepackage[shortlabels]{enumitem} as it provides more features. Why do you need the standalone for the inclusion of figures when your main doc is memoir based?
    – daleif
    Aug 8 '14 at 7:06










  • I use standalone for inclusion of pictures. With standalone package I'm able to draw picture without to compile whole document. the second reason is probably even more important: with standalone i create set of pictures, which can anyone (read: my students) included as pdf files in their document (if they liked). On the another hand, I'm quit familiar with memoir and I'm not very keen to use additional package to the memoir, which functionality are already somehow incorporated in the memoir.
    – Zarko
    Aug 8 '14 at 8:10






  • 1




    Trust me you will want to learn enumitem, there are many things regarding lists that memoir does not provide interfaces to, enumitem do
    – daleif
    Aug 8 '14 at 8:22










  • I check packages enumitem and also enumerate. Indeed, the enumitem has nice capabilities for formatting of lists. The enumerate has number of preformatted lists, which are more close tho memoir combination begin{enumerate}firmlist, so I decide to mimic memoir lists in my tikz pictures with paralist. Thank you to give me idea, how I can mimic some meoir specific formating with other more specialized packages.
    – Zarko
    Aug 8 '14 at 12:13






  • 1




    In standalone class you need to use a minipage or tabular to handle more than one line of text.
    – John Kormylo
    Aug 10 '14 at 17:05








1




1




that is the functionality from the enumerate package, I'd rather recommend using usepackage[shortlabels]{enumitem} as it provides more features. Why do you need the standalone for the inclusion of figures when your main doc is memoir based?
– daleif
Aug 8 '14 at 7:06




that is the functionality from the enumerate package, I'd rather recommend using usepackage[shortlabels]{enumitem} as it provides more features. Why do you need the standalone for the inclusion of figures when your main doc is memoir based?
– daleif
Aug 8 '14 at 7:06












I use standalone for inclusion of pictures. With standalone package I'm able to draw picture without to compile whole document. the second reason is probably even more important: with standalone i create set of pictures, which can anyone (read: my students) included as pdf files in their document (if they liked). On the another hand, I'm quit familiar with memoir and I'm not very keen to use additional package to the memoir, which functionality are already somehow incorporated in the memoir.
– Zarko
Aug 8 '14 at 8:10




I use standalone for inclusion of pictures. With standalone package I'm able to draw picture without to compile whole document. the second reason is probably even more important: with standalone i create set of pictures, which can anyone (read: my students) included as pdf files in their document (if they liked). On the another hand, I'm quit familiar with memoir and I'm not very keen to use additional package to the memoir, which functionality are already somehow incorporated in the memoir.
– Zarko
Aug 8 '14 at 8:10




1




1




Trust me you will want to learn enumitem, there are many things regarding lists that memoir does not provide interfaces to, enumitem do
– daleif
Aug 8 '14 at 8:22




Trust me you will want to learn enumitem, there are many things regarding lists that memoir does not provide interfaces to, enumitem do
– daleif
Aug 8 '14 at 8:22












I check packages enumitem and also enumerate. Indeed, the enumitem has nice capabilities for formatting of lists. The enumerate has number of preformatted lists, which are more close tho memoir combination begin{enumerate}firmlist, so I decide to mimic memoir lists in my tikz pictures with paralist. Thank you to give me idea, how I can mimic some meoir specific formating with other more specialized packages.
– Zarko
Aug 8 '14 at 12:13




I check packages enumitem and also enumerate. Indeed, the enumitem has nice capabilities for formatting of lists. The enumerate has number of preformatted lists, which are more close tho memoir combination begin{enumerate}firmlist, so I decide to mimic memoir lists in my tikz pictures with paralist. Thank you to give me idea, how I can mimic some meoir specific formating with other more specialized packages.
– Zarko
Aug 8 '14 at 12:13




1




1




In standalone class you need to use a minipage or tabular to handle more than one line of text.
– John Kormylo
Aug 10 '14 at 17:05




In standalone class you need to use a minipage or tabular to handle more than one line of text.
– John Kormylo
Aug 10 '14 at 17:05










1 Answer
1






active

oldest

votes


















0














The standalone class loads by default the article class internally, which can be changed using the class=<name> option.



If you want to put your enumerate environment inside a tikzpicture node then you need also add the text width=<value> option so that the node can hold paragraph material. Otherwise you will get the same ! LaTeX Error: Something's wrong--perhaps a missing item. as when class=memoir is missing!



documentclass[12pt,tikz,class=memoir]{standalone}
begin{document}
begin{tikzpicture}
node [text width=10em] at (0,0) {%
begin{enumerate}[1.]
item some text
item some text
end{enumerate}%
};
end{tikzpicture}
end{document}





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%2f195429%2fmemoir-and-standalone-package%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









    0














    The standalone class loads by default the article class internally, which can be changed using the class=<name> option.



    If you want to put your enumerate environment inside a tikzpicture node then you need also add the text width=<value> option so that the node can hold paragraph material. Otherwise you will get the same ! LaTeX Error: Something's wrong--perhaps a missing item. as when class=memoir is missing!



    documentclass[12pt,tikz,class=memoir]{standalone}
    begin{document}
    begin{tikzpicture}
    node [text width=10em] at (0,0) {%
    begin{enumerate}[1.]
    item some text
    item some text
    end{enumerate}%
    };
    end{tikzpicture}
    end{document}





    share|improve this answer


























      0














      The standalone class loads by default the article class internally, which can be changed using the class=<name> option.



      If you want to put your enumerate environment inside a tikzpicture node then you need also add the text width=<value> option so that the node can hold paragraph material. Otherwise you will get the same ! LaTeX Error: Something's wrong--perhaps a missing item. as when class=memoir is missing!



      documentclass[12pt,tikz,class=memoir]{standalone}
      begin{document}
      begin{tikzpicture}
      node [text width=10em] at (0,0) {%
      begin{enumerate}[1.]
      item some text
      item some text
      end{enumerate}%
      };
      end{tikzpicture}
      end{document}





      share|improve this answer
























        0












        0








        0






        The standalone class loads by default the article class internally, which can be changed using the class=<name> option.



        If you want to put your enumerate environment inside a tikzpicture node then you need also add the text width=<value> option so that the node can hold paragraph material. Otherwise you will get the same ! LaTeX Error: Something's wrong--perhaps a missing item. as when class=memoir is missing!



        documentclass[12pt,tikz,class=memoir]{standalone}
        begin{document}
        begin{tikzpicture}
        node [text width=10em] at (0,0) {%
        begin{enumerate}[1.]
        item some text
        item some text
        end{enumerate}%
        };
        end{tikzpicture}
        end{document}





        share|improve this answer












        The standalone class loads by default the article class internally, which can be changed using the class=<name> option.



        If you want to put your enumerate environment inside a tikzpicture node then you need also add the text width=<value> option so that the node can hold paragraph material. Otherwise you will get the same ! LaTeX Error: Something's wrong--perhaps a missing item. as when class=memoir is missing!



        documentclass[12pt,tikz,class=memoir]{standalone}
        begin{document}
        begin{tikzpicture}
        node [text width=10em] at (0,0) {%
        begin{enumerate}[1.]
        item some text
        item some text
        end{enumerate}%
        };
        end{tikzpicture}
        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 19 mins ago









        Martin Scharrer

        198k45632814




        198k45632814






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f195429%2fmemoir-and-standalone-package%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

            サソリ

            広島県道265号伴広島線

            Setup Asymptote in Texstudio