# the problem of using “~\\” and blank line

Recently,I found the code that cotains the"~\\" and blank line always shows the warning imformation "Underfull \hbox (badness 10000) in paragraph at lines"

\documentclass{ctexart}
\usepackage{color}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{epstopdf}
\hfuzz=\maxdimen

$(A \pm B)^{-1} \neq A^{-1} \pm B^{-1}$,$(A \pm B)^* \neq A^* \pm B^*$~\\

$|(A^*)^*|=|A|^{n^2-2 n+1}$~\\

\end {document}


I add the code:

\tolerance=10000
\begin{document}


However,fail to solve it!

-
This is an exact duplicate of your question a few hours earlier. Please do not do that. If you need to clarify a question edit the question. –  David Carlisle Dec 18 '13 at 9:33
I've duped the older question to this one: as David says, please don't simply repeat the same question. –  Joseph Wright Dec 18 '13 at 11:16
@Joseph Wright♦ ,Oh thanks for your suggestion,I see! –  auto Dec 20 '13 at 4:43
@David Carlisle,Ok,I see and thanks sincerely! –  auto Dec 20 '13 at 4:43

A paragraph should be ended by leaving a blank line in the input, not with ~\\. What happens is that an empty line is produced and it's underfull by construction, because it has nothing in it.

If you really need a blank line between two paragraph, use \bigskip (better yet \medskip) between them:

... this is the end of a paragraph.

\bigskip % or \medskip

Here a new one starts ...


If you want a vertical space between all paragraphs, consider loading instead the parskip package (look at its documentation). Note that “leaving blank lines” here and there is a practice coming from the usage of word processors, where it's very easy to do it (and thus spoil the document's appearance).

For your formulas, you should use an alignment environment; if you want (almost) flush left equations, there's the option fleqn:

\documentclass[fleqn]{article}
\usepackage{amsmath}
\usepackage{lipsum} % just for the example
\begin{document}

\lipsum*[2]
\begin{gather*}
(A \pm  B)^{-1} \neq A^{-1} \pm B^{-1},\quad
(A \pm  B)^* \neq A^* \pm B^*\\
|(A^*)^*|=|A|^{n^2-2 n+1}
\end{gather*}
\lipsum*[3]

\end{document}


### Warning

Use none of the following commands:

\hfuzz=\maxdimen
\tolerance=10000

The definition of ~ is \penalty \@M \. This means that there is a space printed, and a penalty of \@M, or 10000, is assessed for breaking the line after the space. But you have forced TeX to break the line at that point with \\, so you are guaranteeing a warning.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9541714787483215, "perplexity": 3491.681042762919}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-49/segments/1416931013466.18/warc/CC-MAIN-20141125155653-00134-ip-10-235-23-156.ec2.internal.warc.gz"}