Latex, force 2 images apart
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
New contributor
add a comment |
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
New contributor
Whatdocumentclass
do you use? If you put images in figures, the amount of page that has to be filled with text is set withtextfraction
, which should be 0.2 by default, unless you implicitly or explicitly changed it.
– bodqhrohro
6 hours ago
add a comment |
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
New contributor
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
floats
New contributor
New contributor
edited 7 hours ago
David Carlisle
492k4111371885
492k4111371885
New contributor
asked 7 hours ago
JessicaJessica
61
61
New contributor
New contributor
Whatdocumentclass
do you use? If you put images in figures, the amount of page that has to be filled with text is set withtextfraction
, which should be 0.2 by default, unless you implicitly or explicitly changed it.
– bodqhrohro
6 hours ago
add a comment |
Whatdocumentclass
do you use? If you put images in figures, the amount of page that has to be filled with text is set withtextfraction
, which should be 0.2 by default, unless you implicitly or explicitly changed it.
– bodqhrohro
6 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
6 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
6 hours ago
add a comment |
1 Answer
1
active
oldest
votes
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.
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
});
}
});
Jessica is a new contributor. Be nice, and check out our Code of Conduct.
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%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
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.
add a comment |
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.
add a comment |
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.
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.
answered 6 hours ago
David CarlisleDavid Carlisle
492k4111371885
492k4111371885
add a comment |
add a comment |
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.
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.
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%2f476498%2flatex-force-2-images-apart%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
What
documentclass
do you use? If you put images in figures, the amount of page that has to be filled with text is set withtextfraction
, which should be 0.2 by default, unless you implicitly or explicitly changed it.– bodqhrohro
6 hours ago