Underfull \hbox badness 10000 \textbf

Underfull \hbox badness 10000 \textbf

간단한 코드(LaTeX의 새로운 기능). 다음 오류 수신:

Underfull \hbox (badness 10000) in paragraph at lines 13--14
Underfull \hbox (badness 10000) in paragraph at lines 15--26
Underfull \hbox (badness 10000) in paragraph at lines 15--26
Underfull \hbox (badness 10000) in paragraph at lines 15--26
Underfull \hbox (badness 10000) in paragraph at lines 27--28

여기 코드가 있습니다

\documentclass[11pt]{article}

\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{verbatim}

\begin{document}

\title{Homework 1}
\author{Joshua Hazel}
\date{\today}
\maketitle

\textbf{2.3 Suppose that the values for a given set of data are grouped into intervals.  The intervals and corresponding frequencies are as follows:} \\ 

\indent
\begin{tabular}
{|l r|} \hline
age & frequency \\ \hline
1-5 & 200 \\
6-15 & 450 \\
16-20 & 300 \\
21-50 & 1500 \\
51-80 & 700 \\
81-110 & 44 \\ \hline
\end{tabular} \\ \\ \\

\textbf{Compute an \textit{approximate median} value for the data.}\\

My answer here.

\end{document}

줄 번호는 내가 \textbf를 사용한 2개의 섹션을 가리키고 다른 하나는 표의 시작/끝을 가리킵니다.

코드에 어떤 문제가 있나요?

답변1

문서 내에서 명시적인 공백을 피하고 문서 구조를 마크업한 다음 구조 요소가 올바른 레이아웃을 만들도록 전역적으로 정렬해야 합니다.

이와 유사한 것이 더 가까울 수 있습니다(경고가 발생하지 않음).

여기에 이미지 설명을 입력하세요

\documentclass[11pt]{article}

\usepackage[margin=1in]{geometry}
\usepackage{verbatim}
\usepackage{parskip}
\setlength\parskip{\baselineskip}
\setlength\parindent{0pt}

\begin{document}

\title{Homework 1}
\author{Joshua Hazel}
\date{\today}
\maketitle
\setcounter{section}{2}
\setcounter{subsection}{2}

\subsection{Suppose that the values for a given set of data are grouped into intervals.  The intervals and corresponding frequencies are as follows:}


\begin{tabular}
{|l r|} \hline
age & frequency \\ \hline
1-5 & 200 \\
6-15 & 450 \\
16-20 & 300 \\
21-50 & 1500 \\
51-80 & 700 \\
81-110 & 44 \\ \hline
\end{tabular}

\textbf{Compute an \textit{approximate median} value for the data.}

My answer here.

\end{document}

관련 정보