如何修复水平盒子未满警告?

如何修复水平盒子未满警告?

我正在尝试用 Latex 写我的论文提案。这是总结的代码,因为其中大部分都是关于我写的论文的:

\documentclass[a4paper,12pt]{report}
\usepackage{indentfirst}
    \setlength{\parindent}{2.30em}
    
\usepackage[utf8]{inputenc}

\usepackage[hidelinks]{hyperref}
\usepackage{bookmark}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}

\usepackage{pdflscape}
\usepackage{lscape}
\usepackage{booktabs, tabularx}
\usepackage{mathptmx}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{bm}
\usepackage{cleveref}
\usepackage{xfrac}

\usepackage[titles]{tocloft}

\usepackage{subfig}
\usepackage{rotating}
\usepackage{wrapfig}

\usepackage[top=1.8in, bottom=1.25in, left=1.75in, right=1.25in, headheight=1.25in]{geometry}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\sloppy
\microtypecontext{spacing=nonfrench}
\emergencystretch=\maxdimen

% Fonts
\usepackage{sectsty} 
    \allsectionsfont{\normalsize}

% References
\usepackage[style=apa, backend=biber]{biblatex} % for APA 7
\addbibresource{References.bib}

%Pagination
\usepackage{fancyhdr}
    \pagestyle{fancyplain}% <- use fancyplain instead fancy
    \fancyhf{}
    \fancyhead[R]{\thepage}
    \renewcommand{\headrulewidth}{0pt}

% Caption
\usepackage{caption}
\captionsetup{format=hang, font=normalsize, labelfont=bf, justification=justified, labelsep=period}

% Graphics
\usepackage{graphicx}
    \graphicspath{{./Figure/}}
    \DeclareGraphicsExtensions{.pdf,.jpeg,.jpg,.png}

% Spacing
\usepackage{setspace} % control linespacing
    \setstretch{1.5}
    
\makeatletter 
    \patchcmd{\@makechapterhead}{\vspace*{50\p@}}{}{}{}         % Removes space above \chapter head
    \patchcmd{\@makeschapterhead}{\vspace*{50\p@}}{}{}{}        % Removes space above \chapter* head
    \chapterfont{\normalsize \centering \MakeUppercase}
    \partfont{\normalsize \centering \MakeUppercase}


% Renew commands
\renewcommand{\contentsname}{\MakeUppercase{Table of Contents}}

\renewcommand{\cftpartfont}{\normalfont\bfseries} % titles
\renewcommand{\cftpartpagefont}{\normalfont\bfseries} % page
\renewcommand{\cftdotsep}{1}
\renewcommand{\cftpartleader}{\bfseries\cftdotfill{\cftsecdotsep}}
\setlength{\cftbeforepartskip}{1pt}

\renewcommand{\chaptername}{CHAPTER}
\renewcommand{\thechapter}{\Roman{chapter}}

\clearpage

\begin{document}
    \renewcommand{\thechapter}{\Roman{chapter}}
    \chapter{Methodology}
    \renewcommand{\thechapter}{\arabic{chapter}}
    \label{ch:Methodology}
    \thispagestyle{empty}

    \begin{figure}[hbt!]
        \centering
        \includegraphics[scale = 0.45]{4.8_LabelImg_Interface.png}
        \caption{
            LabelImg Interface
        }
        \label{fig:LabelImg Interface}
    \end{figure}

    The second phase involves image pre-processing and augmentation. Roboflow, a developer framework for computer vision procedures, will be used for image pre-processing and annotation. The annotated images will be uploaded to a dataset and Roboflow will apply the pre-processing and augmentation processes to the dataset. Also, Roboflow will apply annotation corrections to ensure that the annotations were correctly made. 

\end{document}

相关图片:4.8_LabelImg_Interface.png 4.8 标签图像界面.png

然而,此行有一个Underfull \hbox (badness 1199)警告:

The second phase involves image pre-processing and augmentation. Roboflow, a developer framework for computer vision procedures, will be used for image

PDF 输出: 输出

我尝试使用 microtype 和 emergencystretch,但它们无法消除 underfull 错误。我该如何消除此警告?非常感谢您的帮助。谢谢!

相关内容