我使用以下代码将等式放在左侧。但如您所见,它并不完全在左侧,而数字 (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}