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?\









share|improve this question
















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















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?\









share|improve this question
















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













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?\









share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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










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






share|improve this answer





















  • 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













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


}
});














draft saved

draft discarded


















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






share|improve this answer





















  • 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

















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






share|improve this answer





















  • 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















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






share|improve this answer












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







share|improve this answer












share|improve this answer



share|improve this answer










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




















  • 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




















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.





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.




draft saved


draft discarded














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





















































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

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks