Latex, force 2 images apart












1















I have a problem with latex. There is a simple rule i have to follow. No single page can contain ONLY an image. It has to be image + text. Period. My latex keeps putting only an image to a page. What is worse, my sharelatex even forces 2 images to be on the same page which is an even worse no go. How can i tell him to not do that ?










share|improve this question









New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What documentclass do you use? If you put images in figures, the amount of page that has to be filled with text is set with textfraction, which should be 0.2 by default, unless you implicitly or explicitly changed it.

    – bodqhrohro
    5 hours ago
















1















I have a problem with latex. There is a simple rule i have to follow. No single page can contain ONLY an image. It has to be image + text. Period. My latex keeps putting only an image to a page. What is worse, my sharelatex even forces 2 images to be on the same page which is an even worse no go. How can i tell him to not do that ?










share|improve this question









New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What documentclass do you use? If you put images in figures, the amount of page that has to be filled with text is set with textfraction, which should be 0.2 by default, unless you implicitly or explicitly changed it.

    – bodqhrohro
    5 hours ago














1












1








1








I have a problem with latex. There is a simple rule i have to follow. No single page can contain ONLY an image. It has to be image + text. Period. My latex keeps putting only an image to a page. What is worse, my sharelatex even forces 2 images to be on the same page which is an even worse no go. How can i tell him to not do that ?










share|improve this question









New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have a problem with latex. There is a simple rule i have to follow. No single page can contain ONLY an image. It has to be image + text. Period. My latex keeps putting only an image to a page. What is worse, my sharelatex even forces 2 images to be on the same page which is an even worse no go. How can i tell him to not do that ?







floats






share|improve this question









New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 5 hours ago









David Carlisle

492k4111371885




492k4111371885






New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 5 hours ago









JessicaJessica

61




61




New contributor




Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jessica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What documentclass do you use? If you put images in figures, the amount of page that has to be filled with text is set with textfraction, which should be 0.2 by default, unless you implicitly or explicitly changed it.

    – bodqhrohro
    5 hours ago



















  • What documentclass do you use? If you put images in figures, the amount of page that has to be filled with text is set with textfraction, which should be 0.2 by default, unless you implicitly or explicitly changed it.

    – bodqhrohro
    5 hours ago

















What documentclass do you use? If you put images in figures, the amount of page that has to be filled with text is set with textfraction, which should be 0.2 by default, unless you implicitly or explicitly changed it.

– bodqhrohro
5 hours ago





What documentclass do you use? If you put images in figures, the amount of page that has to be filled with text is set with textfraction, which should be 0.2 by default, unless you implicitly or explicitly changed it.

– bodqhrohro
5 hours ago










1 Answer
1






active

oldest

votes


















3














If you do not want float pages (with only images) then do not include p in the float placement (or change the default not to include p) If you want at most one image per page set



setcounter{totalnumber}{1}


Note that if the floats can not be placed according to that constraint and a forced clearpage is reached then all pending floats will be forced on to float pages as an emergency measure.






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
    });


    }
    });






    Jessica is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476498%2flatex-force-2-images-apart%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









    3














    If you do not want float pages (with only images) then do not include p in the float placement (or change the default not to include p) If you want at most one image per page set



    setcounter{totalnumber}{1}


    Note that if the floats can not be placed according to that constraint and a forced clearpage is reached then all pending floats will be forced on to float pages as an emergency measure.






    share|improve this answer




























      3














      If you do not want float pages (with only images) then do not include p in the float placement (or change the default not to include p) If you want at most one image per page set



      setcounter{totalnumber}{1}


      Note that if the floats can not be placed according to that constraint and a forced clearpage is reached then all pending floats will be forced on to float pages as an emergency measure.






      share|improve this answer


























        3












        3








        3







        If you do not want float pages (with only images) then do not include p in the float placement (or change the default not to include p) If you want at most one image per page set



        setcounter{totalnumber}{1}


        Note that if the floats can not be placed according to that constraint and a forced clearpage is reached then all pending floats will be forced on to float pages as an emergency measure.






        share|improve this answer













        If you do not want float pages (with only images) then do not include p in the float placement (or change the default not to include p) If you want at most one image per page set



        setcounter{totalnumber}{1}


        Note that if the floats can not be placed according to that constraint and a forced clearpage is reached then all pending floats will be forced on to float pages as an emergency measure.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 5 hours ago









        David CarlisleDavid Carlisle

        492k4111371885




        492k4111371885






















            Jessica is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Jessica is a new contributor. Be nice, and check out our Code of Conduct.













            Jessica is a new contributor. Be nice, and check out our Code of Conduct.












            Jessica is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f476498%2flatex-force-2-images-apart%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

            CARDNET

            Boot-repair Failure: Unable to locate package grub-common:i386

            濃尾地震