我理解这种错误是由于线条超出区域而导致的。修复它的最佳方法是什么?
LaTeX 文件(行)
75 A \emph{trajectory} is a representation of a portion of spatio-temporal
positions [${t_{begin},t_{end}}$] of a moving object within time
interval ${t_{begin}}$ (the begin time) and ${t_{end}}$ (the end time)
constituting respectively the beginning and end movement of the object
to Space
76
添加\newline
命令将拉伸的部分移至下一行,但仍然报告此错误:
75 A \emph{trajectory} is a representation of a portion of spatio-temporal
positions \newline [${t_{begin},t_{end}}$] of a moving object within time
interval ${t_{begin}}$ (the begin time) and ${t_{end}}$ (the end time)
constituting respectively the beginning and end movement of the object
to Space
76
我如何解决它?
编辑
这是一个很大的文档,但我提取了上面的行来显示内容。我实际上有很多过满/不足警告,但看到生成的 pdf 文件,我认为这不会有什么问题,但现在决定修复它,以便打印输出不受影响。
\documentclass[a4paper, 10pt]{report}
\usepackage{biblatex}
\addbibresource{references.bib}
\usepackage{graphicx}
\usepackage[top=25mm, bottom=20mm, left=20mm, right=20mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{array}
\usepackage[nopostdot,toc,acronym,nomain,nonumberlist]{glossaries-extra}
\makeglossaries
\loadglsentries[acronym]{myglossaries}
\pagenumbering{roman}
\begin{document}
\setlength{\parindent}{0pt}
\input{titlepage}
%Abstract page
\newpage
\Large
\begin{center}
\addcontentsline{toc}{section}{Abstract}
\textbf{\textit Abstract}
\end{center}
\hspace{10pt}
%\normalsize
This is a simple one-page abstract template. Please keep your abstract length at one page. The abstract should be in English.
%Table of content
\tableofcontents
\newpage
%\addcontentsline{toc}{section}{List of Abbreviations}
\printglossary[title={Abbreviations},type=acronym,style=long]
%\newpage
%begin main document
\chapter{Introduction}
\pagenumbering{arabic}
\section{Statement of Problem}
This is the beginning of the introduction section.
%\subsection{Research Questions}
\section{Motivation}
\section{Research Objectives}
\section{Pre-Thesis Structure}
%===CHAPTER TWO ===
\chapter{Machine Learning Concepts}
\section{Machine Learning Overview}
Machine learning is an evolving fields from intersection of statistics, artificial intelligence(\gls{ai}) and computer science \cite{muller2016}, that essentially involves extracting knowledge from data, and to deliver systems that learn from data without being explicitly programmed \cite{ElNaqa2015}. In contrast to traditional software development processes in which case algorithms consist of explicit instructions to process data and output results, machine learning applications are presented with data to learn from, and provide output based on learned features from data. Machine learning algorithms generally look for patterns in data by learning features from examples data given and make better decisions in the future based on learned features in the examples provided. The overall goal of machine learning is to enable computers learn automatically without human intervention and adjust action accordingly. \\
\section{Machine Learning Problems}
Machine learning problems are generally classified to two major categories, \emph{supervised learning} and \emph{unsupervised learning} \cite{muller2016}. In supervised learning, the learning algorithm is provided with a pair of input and required output, and the algorithm figure out a way to obtained the required output based on observed patterns in input/output pairs. That way, supervised learning algorithms are able of decision-making by generalising from previously seen examples, thus is able to produce output from input data it has never seen before without human intervention.\\
In unsupervised learning problems on the other hand, only the input data is known, therefore no examples output are given, e.g. identifying customers with similar buying behaviour from customer records. As the focus of this PhD study is mainly a supervised machine learning problem, our discussion is centred to supervised learning methodologies only.
\subsection{Classification Problem}
\subsection{Artificial Neural Networks}
describe some deep learning lcassification algorithms here!
\subsubsection{Convolutional Neural Network}
%=== CHAPTER THREE ===
\chapter{State of the Art}
This chapter covers state-of-the-art definition of terminologies in Global Positioning System(\gls{gps}) trajectories, specifically focusing our discussions on \gls{gps} trajectory reconstruction and transportation mode identification. First, we provide an overview of previous research related to transportation problem and mode detection methods utilized, and then present our approach compared to previous work.
\section{Terminology}
A \emph{trajectory} is a representation of a portion of spatio-temporal positions \newline [${t_{begin},t_{end}}$] of a moving object within time interval ${t_{begin}}$ (the begin time) and ${t_{end}}$ (the end time) constituting respectively the beginning and end movement of the object to Space \cite{spaccapietra2013}. It is worth noting that trajectory determination is largely application specific (e.g. tourist movement). Trajectories are essentially represented in one of three forms: (\Rn{1}) \emph{continuous trajectory}, (\Rn{2}) \emph{discrete trajectory}, and (\Rn{3}) \emph{step-wise}.\\
Whereas a \emph{continuous trajectory} representation relates to the continuous movement of an object over time interval [${t_{begin}, t_{end}}$] for which the trajectory constitutes a finite sequence of spatial positions, and an interpolation function that computationally determines object’s position at given time ${t}$. A \emph{discrete trajectory} representation is a non-continuous (not showing continuous movement) list of spatial positions over the time interval [${t_{begin}, t_{end}}$].
%=== Reference Lists ====
\printbibliography
\end{document}
答案1
粘在边缘的文本与框未满警告无关(这是由于\\
命令使用不当造成的),超出范围的文本是带有警告的框过满
Overfull \hbox (15.81268pt too wide) in paragraph at lines 75--76
\OT1/cmr/m/n/14.4 A \OT1/cmr/m/it/14.4 tra-jec-tory \OT1/cmr/m/n/14.4 is a rep-
re-sen-ta-tion of a por-tion of spatio-temporal po-si-tions [$[]$]
您可以使用sloppypar
该段落来避免框过满。如果您删除错误,则所有框未满警告都会消失,\\
从而导致以下文档:
\documentclass[a4paper, 10pt]{report}
\usepackage{biblatex}
\addbibresource{references.bib}
\usepackage{graphicx}
\usepackage[top=25mm, bottom=20mm, left=20mm, right=20mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{array}
\usepackage[nopostdot,toc,acronym,nomain,nonumberlist]{glossaries-extra}
\makeglossaries
%NOT PROVIDED \loadglsentries[acronym]{myglossaries}
\pagenumbering{roman}
% if you have 0parindent you want non zero parskip \setlength{\parindent}{0pt}
\usepackage{parskip}
\begin{document}
%NOT PROVIDED \input{titlepage}
%Abstract page
\newpage
\Large
\begin{center}
\addcontentsline{toc}{section}{Abstract}
\textbf{\textit Abstract}
\end{center}
\hspace{10pt}
%\normalsize
This is a simple one-page abstract template. Please keep your abstract length at one page. The abstract should be in English.
%Table of content
\tableofcontents
\newpage
%\addcontentsline{toc}{section}{List of Abbreviations}
\printglossary[title={Abbreviations},type=acronym,style=long]
%\newpage
%begin main document
\chapter{Introduction}
\pagenumbering{arabic}
\section{Statement of Problem}
This is the beginning of the introduction section.
%\subsection{Research Questions}
\section{Motivation}
\section{Research Objectives}
\section{Pre-Thesis Structure}
%===CHAPTER TWO ===
\chapter{Machine Learning Concepts}
\section{Machine Learning Overview}
Machine learning is an evolving fields from intersection of statistics, artificial intelligence(\gls{ai}) and computer science \cite{muller2016}, that essentially involves extracting knowledge from data, and to deliver systems that learn from data without being explicitly programmed \cite{ElNaqa2015}. In contrast to traditional software development processes in which case algorithms consist of explicit instructions to process data and output results, machine learning applications are presented with data to learn from, and provide output based on learned features from data. Machine learning algorithms generally look for patterns in data by learning features from examples data given and make better decisions in the future based on learned features in the examples provided. The overall goal of machine learning is to enable computers learn automatically without human intervention and adjust action accordingly.
\section{Machine Learning Problems}
Machine learning problems are generally classified to two major categories, \emph{supervised learning} and \emph{unsupervised learning} \cite{muller2016}. In supervised learning, the learning algorithm is provided with a pair of input and required output, and the algorithm figure out a way to obtained the required output based on observed patterns in input/output pairs. That way, supervised learning algorithms are able of decision-making by generalising from previously seen examples, thus is able to produce output from input data it has never seen before without human intervention.
In unsupervised learning problems on the other hand, only the input data is known, therefore no examples output are given, e.g. identifying customers with similar buying behaviour from customer records. As the focus of this PhD study is mainly a supervised machine learning problem, our discussion is centred to supervised learning methodologies only.
\subsection{Classification Problem}
\subsection{Artificial Neural Networks}
describe some deep learning lcassification algorithms here!
\subsubsection{Convolutional Neural Network}
%=== CHAPTER THREE ===
\chapter{State of the Art}
This chapter covers state-of-the-art definition of terminologies in Global Positioning System(\gls{gps}) trajectories, specifically focusing our discussions on \gls{gps} trajectory reconstruction and transportation mode identification. First, we provide an overview of previous research related to transportation problem and mode detection methods utilized, and then present our approach compared to previous work.
\section{Terminology}
\begin{sloppypar}
A \emph{trajectory} is a representation of a portion of spatio-temporal positions [$t_{\mathrm{begin}},t_{\mathrm{end}}$] of a moving object within time interval ${t_{begin}}$ (the begin time) and ${t_{end}}$ (the end time) constituting respectively the beginning and end movement of the object to Space \cite{spaccapietra2013}. It is worth noting that trajectory determination is largely application specific (e.g. tourist movement). Trajectories are essentially represented in one of three forms: (\Rn{1}) \emph{continuous trajectory}, (\Rn{2}) \emph{discrete trajectory}, and (\Rn{3}) \emph{step-wise}.
\end{sloppypar}
Whereas a \emph{continuous trajectory} representation relates to the continuous movement of an object over time interval [${t_{begin}, t_{end}}$] for which the trajectory constitutes a finite sequence of spatial positions, and an interpolation function that computationally determines object’s position at given time ${t}$. A \emph{discrete trajectory} representation is a non-continuous (not showing continuous movement) list of spatial positions over the time interval [${t_{begin}, t_{end}}$].
%=== Reference Lists ====
\printbibliography
\end{document}