我的代码的以下部分产生了以下错误!LaTeX 错误:出现错误 — — 可能缺少 \item。,但仍会生成我想要的输出 PDF。我使用的程序 Texmaker 会将光标移动到array
我创建的第二个。
此外,我使用的部分flalign
会产生以下警告段落第 16-18 行的 \hbox 未满(badness 10000)
以下代码是我编写的第一段 LaTeX 代码的一部分。我想知道我做错了什么,导致出现这些错误和警告。请告诉我可以改进的地方。
\documentclass[fleqn,10pt,pdftex]{article}
\usepackage[margin=.75in]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\begin{document}
\section{Loads on bus structure}
\subsection{Wind Loads}
\subsubsection{Wind load from IEEE Std 605, Section 11.2}
\begin{quote}
In the case of extreme wind speed (without ice), the wind load by unit length on a conductor (or a slender structure such as support or isolator) is given as follows:
\begin{flalign} \tag{8}
F_{W} = C V^{2} D_{o} C_{f} K_{Z} G_{f} I
\end{flalign}
where \\
\begin{description}
\begin{math}
\begin{array}{ll}
F_{W} & \mbox{ is the wind load by unit length, [lbf/in]} \\
C & \mbox{ is a constant, (British: 2.132 \(\times\) 10\textsuperscript{-4})} \\
V & \mbox{ is the extreme wind speed without ice, [mi/h]} \\
D_{o} & \mbox{ is the conductor outside diameter or the height of the profile used as conductor, [in]}\\
C_{f} & \mbox{ is the force coefficient} \\
K_{Z} & \mbox{ is the height and exposure factor} \\
G_{f} & \mbox{ is the gust response factor} \\
I & \mbox{ is the importance of the structure}
\end{array}
\end{math}
\end{description}
In the case of high wind with ice, the wind load by unit length on a conductor is given as follows:
\begin{flalign} \tag{9}
F_{WI} = C V^{2}_{I} (D_{o} + 2r_{I}) C_{f} K_{Z} G_{f} I
\end{flalign}
where \\
\begin{description}
\begin{math}
\begin{array}{ll}
F_{WI} & \mbox{ is the wind load with ice by unit length, [lbf/in]} \\
V_{I} & \mbox{ is the high wind speed with ice, [mi/h]} \\
r_{I} & \mbox{ is the equivalent uniform radial thicknesses of ice due to freezing rain, [in]} \\
G_{f} & \mbox{ is the gust response factor which is equal to 1.0 for ice and concurrent wind} \\
\end{array}
\end{math}
\end{description}
\end{quote}
\end{document}
答案1
以下 MWE 包含两种不同的可能性。第一种使用tabular
并自动将第一列设置为数学模式,而第二种是普通文本。第二种变体使用环境description
。
\documentclass[fleqn,10pt]{article}
\usepackage[margin=.75in]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{array}
\begin{document}
\section{Loads on bus structure}
\subsection{Wind Loads}
\subsubsection{Wind load from IEEE Std 605, Section 11.2}
\begin{quote}
In the case of extreme wind speed (without ice), the wind load by unit length on a conductor (or a slender structure such as support or isolator) is given as follows:
\begin{flalign} \tag{8}
F_{W} = C V^{2} D_{o} C_{f} K_{Z} G_{f} I
\end{flalign}
where
\begin{tabular}{>{$}l<{$}l}
F_{W} & is the wind load by unit length, [lbf/in] \\
C & is a constant, (British: 2.132 \(\times\) 10\textsuperscript{-4}) \\
V & is the extreme wind speed without ice, [mi/h] \\
D_{o} & is the conductor outside diameter or the height of the profile used as conductor, [in]\\
C_{f} & is the force coefficient \\
K_{Z} & is the height and exposure factor \\
G_{f} & is the gust response factor \\
I & is the importance of the structure
\end{tabular}
In the case of high wind with ice, the wind load by unit length on a conductor is given as follows:
\begin{flalign} \tag{9}
F_{WI} = C V^{2}_{I} (D_{o} + 2r_{I}) C_{f} K_{Z} G_{f} I
\end{flalign}
where
\begin{description}
\item[$F_{WI}$] is the wind load with ice by unit length, [lbf/in]
\item[$V_{I}$] is the high wind speed with ice, [mi/h]
\item[$r_{I}$] is the equivalent uniform radial thicknesses of ice due to freezing rain, [in]
\item[$G_{f}$] is the gust response factor which is equal to 1.0 for ice and concurrent wind
\end{description}
\end{quote}
\end{document}