Do you know why I have this warning: underfull hbox(badness 10000), using visual studio code with Latex...
up vote
0
down vote
favorite
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?\
line-breaking warnings
bumped to the homepage by Community♦ 21 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
0
down vote
favorite
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?\
line-breaking warnings
bumped to the homepage by Community♦ 21 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Just don't force a linebreak with\` Use parnoindent instead. Also your question has nothing to do with
bibtex'. `\` is ok to be used inside tabular and similar environments but not to break text. Offtopic: Please consider about accepting the answer of your previous question
– koleygr
Sep 15 at 23:34
After replaced by parnoindent, this waring is still there. I am thinking Is this because some characters in the text @koleygr
– Erik Johnsson
Sep 15 at 23:40
Anyway, this is not an error but a warning that the most of the times is nothing to worry about. But in your case comes from this behavior. Means that tex didn't found a perfect way to break the lines
– koleygr
Sep 15 at 23:40
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?\
line-breaking warnings
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?\
line-breaking warnings
line-breaking warnings
edited Sep 16 at 0:04
koleygr
11k11038
11k11038
asked Sep 15 at 23:13
Erik Johnsson
111
111
bumped to the homepage by Community♦ 21 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 21 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Just don't force a linebreak with\` Use parnoindent instead. Also your question has nothing to do with
bibtex'. `\` is ok to be used inside tabular and similar environments but not to break text. Offtopic: Please consider about accepting the answer of your previous question
– koleygr
Sep 15 at 23:34
After replaced by parnoindent, this waring is still there. I am thinking Is this because some characters in the text @koleygr
– Erik Johnsson
Sep 15 at 23:40
Anyway, this is not an error but a warning that the most of the times is nothing to worry about. But in your case comes from this behavior. Means that tex didn't found a perfect way to break the lines
– koleygr
Sep 15 at 23:40
add a comment |
Just don't force a linebreak with\` Use parnoindent instead. Also your question has nothing to do with
bibtex'. `\` is ok to be used inside tabular and similar environments but not to break text. Offtopic: Please consider about accepting the answer of your previous question
– koleygr
Sep 15 at 23:34
After replaced by parnoindent, this waring is still there. I am thinking Is this because some characters in the text @koleygr
– Erik Johnsson
Sep 15 at 23:40
Anyway, this is not an error but a warning that the most of the times is nothing to worry about. But in your case comes from this behavior. Means that tex didn't found a perfect way to break the lines
– koleygr
Sep 15 at 23:40
Just don't force a linebreak with
\` Use parnoindent instead. Also your question has nothing to do with
bibtex'. `\` is ok to be used inside tabular and similar environments but not to break text. Offtopic: Please consider about accepting the answer of your previous question– koleygr
Sep 15 at 23:34
Just don't force a linebreak with
\` Use parnoindent instead. Also your question has nothing to do with
bibtex'. `\` is ok to be used inside tabular and similar environments but not to break text. Offtopic: Please consider about accepting the answer of your previous question– koleygr
Sep 15 at 23:34
After replaced by parnoindent, this waring is still there. I am thinking Is this because some characters in the text @koleygr
– Erik Johnsson
Sep 15 at 23:40
After replaced by parnoindent, this waring is still there. I am thinking Is this because some characters in the text @koleygr
– Erik Johnsson
Sep 15 at 23:40
Anyway, this is not an error but a warning that the most of the times is nothing to worry about. But in your case comes from this behavior. Means that tex didn't found a perfect way to break the lines
– koleygr
Sep 15 at 23:40
Anyway, this is not an error but a warning that the most of the times is nothing to worry about. But in your case comes from this behavior. Means that tex didn't found a perfect way to break the lines
– koleygr
Sep 15 at 23:40
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Please test this code:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
title{Test}
author{None}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?par
noindent Test
end{document}
Then replace par
with \
and compile again.
There is no warning in the first case in my version, but there is in second case.
\
is something you have to avoid inside paragraphs of text. It is used inside tabulars or similar environments but not inside lines of text.
For more see here:
https://tex.stackexchange.com/a/82666/120578
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
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',
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%2f451060%2fdo-you-know-why-i-have-this-warning-underfull-hbox-badness-10000-using-visu%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
up vote
0
down vote
Please test this code:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
title{Test}
author{None}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?par
noindent Test
end{document}
Then replace par
with \
and compile again.
There is no warning in the first case in my version, but there is in second case.
\
is something you have to avoid inside paragraphs of text. It is used inside tabulars or similar environments but not inside lines of text.
For more see here:
https://tex.stackexchange.com/a/82666/120578
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
add a comment |
up vote
0
down vote
Please test this code:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
title{Test}
author{None}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?par
noindent Test
end{document}
Then replace par
with \
and compile again.
There is no warning in the first case in my version, but there is in second case.
\
is something you have to avoid inside paragraphs of text. It is used inside tabulars or similar environments but not inside lines of text.
For more see here:
https://tex.stackexchange.com/a/82666/120578
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
add a comment |
up vote
0
down vote
up vote
0
down vote
Please test this code:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
title{Test}
author{None}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?par
noindent Test
end{document}
Then replace par
with \
and compile again.
There is no warning in the first case in my version, but there is in second case.
\
is something you have to avoid inside paragraphs of text. It is used inside tabulars or similar environments but not inside lines of text.
For more see here:
https://tex.stackexchange.com/a/82666/120578
Please test this code:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm} %lets us use begin{proof}
usepackage{amssymb} %gives us the character varnothing
usepackage[fleqn]{amsmath}
usepackage{amsfonts}
title{Test}
author{None}
begin{document}
maketitle
subsection*{2. P18. Exercise 3:}
Assume we have a fair eight-sided die with the numbers 1, 2, 3, 3, 4, 5, 5, 5 on its sides.
What is the probability that each of the numbers 1 through 5 will be rolled?
If we roll two of these dice, what is the range of possible totals of the values showing
on the two dice? What is the chance that each of the numbers in this range will be rolled?par
noindent Test
end{document}
Then replace par
with \
and compile again.
There is no warning in the first case in my version, but there is in second case.
\
is something you have to avoid inside paragraphs of text. It is used inside tabulars or similar environments but not inside lines of text.
For more see here:
https://tex.stackexchange.com/a/82666/120578
answered Sep 15 at 23:53
koleygr
11k11038
11k11038
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
add a comment |
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
It makes no sense to use \ at the end of a paragraph. The "underfull hbox" message is because TeX is trying to generate another line of text after the \ but there is no text to generate. Using \ inside a paragraph is valid, but it is rarely the best way to do whatever you are trying to do.
– alephzero
Sep 16 at 8:28
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.
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.
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%2f451060%2fdo-you-know-why-i-have-this-warning-underfull-hbox-badness-10000-using-visu%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
Just don't force a linebreak with
\` Use parnoindent instead. Also your question has nothing to do with
bibtex'. `\` is ok to be used inside tabular and similar environments but not to break text. Offtopic: Please consider about accepting the answer of your previous question– koleygr
Sep 15 at 23:34
After replaced by parnoindent, this waring is still there. I am thinking Is this because some characters in the text @koleygr
– Erik Johnsson
Sep 15 at 23:40
Anyway, this is not an error but a warning that the most of the times is nothing to worry about. But in your case comes from this behavior. Means that tex didn't found a perfect way to break the lines
– koleygr
Sep 15 at 23:40