유형: Badbox , 텍스트용 Overfull \hbox

유형: Badbox , 텍스트용 Overfull \hbox

나는 외부 파일에서 ... xtras/intro.tex에서 다음과 같은 badbox 경고를 얻습니다.

line 1   Overfull/hbox (54,60191 pt too wide) in paragraph at lines 1---1

단어에서 텍스트를 복사하여 붙여넣었습니다. 또한 약 5줄 길이의 텍스트가 1줄 안에 포함되어 있다는 것을 방금 알아차렸습니다.

이렇게 생겼네요....

    \documentclass[12pt,a4paper]{report}


\usepackage[top=3cm,bottom=3cm,left=3cm=,right=3cm]{geometry}
\usepackage[english]{babel}

\usepackage{setspace}           %   used for fine control spacing over line
\usepackage[]{hyphenat}
\usepackage{graphicx}
\usepackage[nottoc,notlot]{tocbibind}
\usepackage[T1]{fontenc}
\usepackage{textcomp,gensymb}
\usepackage{hyperref,appendix}
\usepackage{fancyhdr}
\usepackage{todonotes}

\pagestyle{fancy}
\fancyhf{}
\parindent=0cm
\sloppy
\hyphenation{}
\hyphenpenalty=10000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\begin{document}



\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here

\center % Center everything on the page

%----------------------------------------------------------------------------------------
%   HEADING SECTIONS
%----------------------------------------------------------------------------------------

\textsc{\LARGE University Name}\\[1.5cm] % Name of your university/college
\textsc{\Large Major Heading}\\[0.5cm] % Major heading such as course name
\textsc{\large Minor Heading}\\[0.5cm] % Minor heading such as course title

%----------------------------------------------------------------------------------------
%   TITLE SECTION
%----------------------------------------------------------------------------------------

\HRule \\[0.4cm]
{ \huge \bfseries Title}\\[0.4cm] % Title of your document
\HRule \\[1.5cm]

%----------------------------------------------------------------------------------------
%   AUTHOR SECTION
%----------------------------------------------------------------------------------------

\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
John \textsc{Smith} % Your name
\end{flushleft}
\end{minipage}
~
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
Dr. James \textsc{Smith} % Supervisor's Name
\end{flushright}
\end{minipage}\\[4cm]

% If you don't want a supervisor, uncomment the two lines below and remove the section above
%\Large \emph{Author:}\\
%John \textsc{Smith}\\[3cm] % Your name

%----------------------------------------------------------------------------------------
%   DATE SECTION
%----------------------------------------------------------------------------------------

{\large \today}\\[3cm] % Date, change the \today to a set date if you want to be precise

%----------------------------------------------------------------------------------------
%   LOGO SECTION
%----------------------------------------------------------------------------------------

%\includegraphics{Logo}\\[1cm] % Include a department/university logo - this will require the graphicx package

%----------------------------------------------------------------------------------------

\vfill % Fill the rest of the page with whitespace
\end{titlepage}

\clearpage



\chapter*{abstract}

\addcontentsline{toc}{chapter}{\numberline[]abstract}
\pagenumbering{roman}
\pagestyle{fancy}
%\fancyhf{}



\clearpage
\tableofcontents
%\thispagestyle{empty}
\newpage
\listoftodos
\newpage

\chapter{Intro}

Commercial Near infrared spectrometers are expensive due to components such as diode array 
which can cost up to 13000 euro \todo{currencysymbol}. In this report,a designed Near infrared 
\todo{dash} spectrometer with a control system that will allow the users to do measurements in 
their desired near infrared \todo{dash} region and the device will be made user friendly. The 
following research questions will be covered:


\end{document}

이 문제를 어떻게 해결하나요?

답변1

자동 하이픈 넣기를 비활성화했으며 아주 작은 상자에 긴 단어를 넣고 있습니다.

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

아마도 초안의 할 일 메모이므로 무시하거나 무시할 수 있습니다.

\todo{cur\-rency\-sym\-bol}

생산하다

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

여전히 몇 가지 경고가 있지만.

관련 정보