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
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}
spacing
add a comment |
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}
spacing
add a comment |
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}
spacing
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}
spacing
spacing
edited 23 mins ago
lyl
asked 17 hours ago
lyllyl
70638
70638
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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}
add a comment |
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{}
Following your suggest, I replacevskip40em
withvspace*{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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
add a comment |
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}
add a comment |
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}
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}
answered 15 hours ago
Ulrike FischerUlrike Fischer
195k8302688
195k8302688
add a comment |
add a comment |
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{}
Following your suggest, I replacevskip40em
withvspace*{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
add a comment |
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{}
Following your suggest, I replacevskip40em
withvspace*{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
add a comment |
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{}
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{}
edited 14 hours ago
answered 17 hours ago
David CarlisleDavid Carlisle
494k4111381885
494k4111381885
Following your suggest, I replacevskip40em
withvspace*{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
add a comment |
Following your suggest, I replacevskip40em
withvspace*{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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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