Split vertical spacing in two continuity pagesVertical spacing without new linePreserve vertical spacing...

Grey hair or white hair

Offered promotion but I'm leaving. Should I tell?

How do I express some one as a black person?

PTIJ: How can I halachically kill a vampire?

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

Unreachable code, but reachable with exception

Good allowance savings plan?

What does a stand alone "T" index value do?

Aliens englobed the Solar System: will we notice?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

Do f-stop and exposure time perfectly cancel?

Reverse string, can I make it faster?

Is "history" a male-biased word ("his+story")?

A word meaning “to take something with you since it is not difficult for you anyway”

How to create a hard link to an inode (ext4)?

How could our ancestors have domesticated a solitary predator?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

They call me Inspector Morse

Rejected in 4th interview round citing insufficient years of experience

How strictly should I take "Candidates must be local"?

Extra alignment tab has been changed to cr. } using table, tabular and resizebox

Are the terms "stab" and "staccato" synonyms?

Why the color red for the Republican Party



Split vertical spacing in two continuity pages


Vertical spacing without new linePreserve vertical spacing between paragraphs in different pagesunwanted vertical spacingHow to define the default vertical distance between nodes?Vertical spacing for two consecutive figure environmentsTypesetting a vertical box with as its top anchor the baseline of the first line in the vertical boxStrange blockarray vertical spacingUnwanted negative vertical spacingDifferent vertical spacing between paragraphsVertical spacing between text and equation/split













0















I want to construct a macro named vs which typeset a constant vertical spacing, e.g. vs{40em} will get 40em height of white spacing. I know there are many ways -- vskip, vspace, etc... -- to achieve this. But, all these methods fail if encountering pagebreak, as shown in my attached figure produced by the following MWE. Anyone can help me with this?



MWE:



documentclass{article}
usepackage{geometry}
geometry{showframe}

begin{document}
some text.vskip10em
question 1...vskip40em
question 2...vskip40em
question 3...vskip40em
end{document}


enter image description here










share|improve this question





























    0















    I want to construct a macro named vs which typeset a constant vertical spacing, e.g. vs{40em} will get 40em height of white spacing. I know there are many ways -- vskip, vspace, etc... -- to achieve this. But, all these methods fail if encountering pagebreak, as shown in my attached figure produced by the following MWE. Anyone can help me with this?



    MWE:



    documentclass{article}
    usepackage{geometry}
    geometry{showframe}

    begin{document}
    some text.vskip10em
    question 1...vskip40em
    question 2...vskip40em
    question 3...vskip40em
    end{document}


    enter image description here










    share|improve this question



























      0












      0








      0








      I want to construct a macro named vs which typeset a constant vertical spacing, e.g. vs{40em} will get 40em height of white spacing. I know there are many ways -- vskip, vspace, etc... -- to achieve this. But, all these methods fail if encountering pagebreak, as shown in my attached figure produced by the following MWE. Anyone can help me with this?



      MWE:



      documentclass{article}
      usepackage{geometry}
      geometry{showframe}

      begin{document}
      some text.vskip10em
      question 1...vskip40em
      question 2...vskip40em
      question 3...vskip40em
      end{document}


      enter image description here










      share|improve this question
















      I want to construct a macro named vs which typeset a constant vertical spacing, e.g. vs{40em} will get 40em height of white spacing. I know there are many ways -- vskip, vspace, etc... -- to achieve this. But, all these methods fail if encountering pagebreak, as shown in my attached figure produced by the following MWE. Anyone can help me with this?



      MWE:



      documentclass{article}
      usepackage{geometry}
      geometry{showframe}

      begin{document}
      some text.vskip10em
      question 1...vskip40em
      question 2...vskip40em
      question 3...vskip40em
      end{document}


      enter image description here







      spacing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 23 mins ago







      lyl

















      asked 17 hours ago









      lyllyl

      70638




      70638






















          2 Answers
          2






          active

          oldest

          votes


















          2














          If you want that the space can be splitted and be in part on one page and in part on the next, you could try a loop with small chunks. E.g.



          documentclass{article}
          usepackage{geometry}
          geometry{showframe}
          usepackage{xparse}
          ExplSyntaxOn
          NewDocumentCommandmanyvspace { m }
          {
          par
          int_step_inline:nn{#1}{vspace*{1em}goodbreak}
          }
          ExplSyntaxOff
          begin{document}
          some text.vskip10em
          question 1... manyvspace{30}
          question 2... manyvspace{40}
          question 3... manyvspace{40}
          end{document}





          share|improve this answer































            2














            Simply use the * form:



            vspace*{4cm}


            This answers the question in the title, although looking at your sketch example code, I would have thought you always wanted a question title above the space in which case the space should never fall at the top of the page so dropping space at that point should not be an issue.



            Following further comments it seems you don't really want space at all but rather a white paragraph of (say) 5 lines, which may be broken over a page, for which you can do



            section*{Some title}
            mbox{}\
            mbox{}\
            mbox{}\
            mbox{}\
            mbox{}


            section*{Some other title}
            mbox{}\
            mbox{}\
            mbox{}\
            mbox{}\
            mbox{}





            share|improve this answer


























            • Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

              – lyl
              16 hours ago













            • @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

              – David Carlisle
              14 hours ago











            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%2f479030%2fsplit-vertical-spacing-in-two-continuity-pages%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            If you want that the space can be splitted and be in part on one page and in part on the next, you could try a loop with small chunks. E.g.



            documentclass{article}
            usepackage{geometry}
            geometry{showframe}
            usepackage{xparse}
            ExplSyntaxOn
            NewDocumentCommandmanyvspace { m }
            {
            par
            int_step_inline:nn{#1}{vspace*{1em}goodbreak}
            }
            ExplSyntaxOff
            begin{document}
            some text.vskip10em
            question 1... manyvspace{30}
            question 2... manyvspace{40}
            question 3... manyvspace{40}
            end{document}





            share|improve this answer




























              2














              If you want that the space can be splitted and be in part on one page and in part on the next, you could try a loop with small chunks. E.g.



              documentclass{article}
              usepackage{geometry}
              geometry{showframe}
              usepackage{xparse}
              ExplSyntaxOn
              NewDocumentCommandmanyvspace { m }
              {
              par
              int_step_inline:nn{#1}{vspace*{1em}goodbreak}
              }
              ExplSyntaxOff
              begin{document}
              some text.vskip10em
              question 1... manyvspace{30}
              question 2... manyvspace{40}
              question 3... manyvspace{40}
              end{document}





              share|improve this answer


























                2












                2








                2







                If you want that the space can be splitted and be in part on one page and in part on the next, you could try a loop with small chunks. E.g.



                documentclass{article}
                usepackage{geometry}
                geometry{showframe}
                usepackage{xparse}
                ExplSyntaxOn
                NewDocumentCommandmanyvspace { m }
                {
                par
                int_step_inline:nn{#1}{vspace*{1em}goodbreak}
                }
                ExplSyntaxOff
                begin{document}
                some text.vskip10em
                question 1... manyvspace{30}
                question 2... manyvspace{40}
                question 3... manyvspace{40}
                end{document}





                share|improve this answer













                If you want that the space can be splitted and be in part on one page and in part on the next, you could try a loop with small chunks. E.g.



                documentclass{article}
                usepackage{geometry}
                geometry{showframe}
                usepackage{xparse}
                ExplSyntaxOn
                NewDocumentCommandmanyvspace { m }
                {
                par
                int_step_inline:nn{#1}{vspace*{1em}goodbreak}
                }
                ExplSyntaxOff
                begin{document}
                some text.vskip10em
                question 1... manyvspace{30}
                question 2... manyvspace{40}
                question 3... manyvspace{40}
                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 15 hours ago









                Ulrike FischerUlrike Fischer

                195k8302688




                195k8302688























                    2














                    Simply use the * form:



                    vspace*{4cm}


                    This answers the question in the title, although looking at your sketch example code, I would have thought you always wanted a question title above the space in which case the space should never fall at the top of the page so dropping space at that point should not be an issue.



                    Following further comments it seems you don't really want space at all but rather a white paragraph of (say) 5 lines, which may be broken over a page, for which you can do



                    section*{Some title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}


                    section*{Some other title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}





                    share|improve this answer


























                    • Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

                      – lyl
                      16 hours ago













                    • @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

                      – David Carlisle
                      14 hours ago
















                    2














                    Simply use the * form:



                    vspace*{4cm}


                    This answers the question in the title, although looking at your sketch example code, I would have thought you always wanted a question title above the space in which case the space should never fall at the top of the page so dropping space at that point should not be an issue.



                    Following further comments it seems you don't really want space at all but rather a white paragraph of (say) 5 lines, which may be broken over a page, for which you can do



                    section*{Some title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}


                    section*{Some other title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}





                    share|improve this answer


























                    • Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

                      – lyl
                      16 hours ago













                    • @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

                      – David Carlisle
                      14 hours ago














                    2












                    2








                    2







                    Simply use the * form:



                    vspace*{4cm}


                    This answers the question in the title, although looking at your sketch example code, I would have thought you always wanted a question title above the space in which case the space should never fall at the top of the page so dropping space at that point should not be an issue.



                    Following further comments it seems you don't really want space at all but rather a white paragraph of (say) 5 lines, which may be broken over a page, for which you can do



                    section*{Some title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}


                    section*{Some other title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}





                    share|improve this answer















                    Simply use the * form:



                    vspace*{4cm}


                    This answers the question in the title, although looking at your sketch example code, I would have thought you always wanted a question title above the space in which case the space should never fall at the top of the page so dropping space at that point should not be an issue.



                    Following further comments it seems you don't really want space at all but rather a white paragraph of (say) 5 lines, which may be broken over a page, for which you can do



                    section*{Some title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}


                    section*{Some other title}
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}\
                    mbox{}






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 14 hours ago

























                    answered 17 hours ago









                    David CarlisleDavid Carlisle

                    494k4111381885




                    494k4111381885













                    • Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

                      – lyl
                      16 hours ago













                    • @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

                      – David Carlisle
                      14 hours ago



















                    • Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

                      – lyl
                      16 hours ago













                    • @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

                      – David Carlisle
                      14 hours ago

















                    Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

                    – lyl
                    16 hours ago







                    Following your suggest, I replace vskip40em with vspace*{40em) , but get a typeset which is not my desire. I just want the vertical spacing can cross pages, that is to say, the top position of the next page can also white blanked.

                    – lyl
                    16 hours ago















                    @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

                    – David Carlisle
                    14 hours ago





                    @lyl vspace* will make space at the top of the page if a page break happens befpre it. If you mean that you want 40em of space allows a blank in the middle then that is a different question with a different answer. mbox{}\mbox{}\mbox{}\mbox{}par will make 4 lines of "space" that can have a page break in the middle.

                    – David Carlisle
                    14 hours ago


















                    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%2f479030%2fsplit-vertical-spacing-in-two-continuity-pages%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

                    Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

                    Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

                    How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...