我得到了一个Underfull \hbox (badness 10000)
错误。这个错误不会影响输出,如图所示
我该如何解决这个问题?
\documentclass[11pt,a4paper,oneside]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{siunitx}
\usepackage[a4paper,left=3cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry}
\graphicspath{ {images/} }
\usepackage{tikz}
\usetikzlibrary{patterns}
\usepackage{caption}
\usetikzlibrary{arrows}
\usepackage{color}
\usepackage[colorlinks]{hyperref}
\usepackage[utf8]{inputenc}
\begin{document}
\title{Notes}
\maketitle{}
\[ \vec{\nabla} = \vec{i}\frac{\partial}{\partial x}+\vec{j}\frac{\partial}{\partial y}+ \vec{k}\frac{\partial}{\partial z} \]
\[ \vec{\nabla}f \to Gradient \quad \quad \vec{\nabla} . \vec{V}\to Diverjans \quad \quad \vec{\nabla}\times \vec{V}\to Curl \]
\[ Material \quad Derivative \longrightarrow \frac{D}{Dt}=\frac{\partial}{\partial t}+\vec{V} . \vec{\nabla} \]
\noindent
Acceleration = Local Acceleration + Advective(Convective) Acceleration \\
Example: flow passing nozzle; local accel.=0 but advective accel.$\neq$ 0\newline
\[ \vec{a_{x}}= \frac{\partial u}{\partial t} + u\frac{\partial u}{\partial x} + v\frac{\partial u}{\partial y} + w\frac{\partial u}{\partial z} \]
\end{document}
答案1
删除\newline
显示的方程式前的内容。
针对该问题的 MWE:
\documentclass{article}
\begin{document}
Hello World\newline % no line follows, causing underfull \hbox
\[ E = mc^2 \]
\end{document}