![等式未完全位于 flalign 的左侧](https://linux22.com/image/457904/%E7%AD%89%E5%BC%8F%E6%9C%AA%E5%AE%8C%E5%85%A8%E4%BD%8D%E4%BA%8E%20flalign%20%E7%9A%84%E5%B7%A6%E4%BE%A7%20.png)
我使用以下代码将等式放在左侧。但如您所见,它并不完全在左侧,而数字 (1) 位于列的右侧。
\documentclass[conference]{IEEEtran}
\usepackage[fleqn]{amsmath}
\begin{document}
This is the text. This is the text. This is the text. This is the text. This is the text.
\begin{flalign}
\label{c}
C = \frac{X}{Y}
\end{flalign}
This is the text. This is the text. This is the text. This is the text. This is the text.
\end{document}
我该如何修复它?
答案1
\documentclass[conference]{IEEEtran}
\usepackage[fleqn]{amsmath}
\setlength{\mathindent}{0pt}% ADDED
\begin{document}
This is the text. This is the text. This is the text. This is the text. This is the text.
\begin{flalign}
\label{c}
C = \frac{X}{Y}
\end{flalign}
This is the text. This is the text. This is the text. This is the text. This is the text.
\end{document}