
数式をテキストとともに完全に左揃えにしようとしています。\mathindent を 0pt に設定しても、インデントが残っています。
何が間違っているのでしょうか?
\documentclass[fleqn]{amsart}
\setlength{\parindent}{0pt}
\setlength{\mathindent}{0pt}
\begin{document}
\underline{Impedance Z Parameters:}
\[V_1 = z_{11}I_1 + z_{12}I_2\]
\[V_2 = z_{21}I_1 + z_{22}I_2\]
\end{document}
答え1
\setlength{\mathindent}{0pt}
回避策としては、の後の行を移動します\begin{document}
。ここでは、デモンストレーションの目的でのみパッケージ ジオメトリを追加します。
\documentclass[fleqn]{amsart}
\usepackage[showframe]{geometry} % for showing actual frame in this example; uncomment this line for your real paper
\setlength{\parindent}{0pt}
\begin{document}
\setlength{\mathindent}{0pt}
\underline{Impedance Z Parameters:}
\[V_1 = z_{11}I_1 + z_{12}I_2\]
\[V_2 = z_{21}I_1 + z_{22}I_2\]
\end{document}
答え2
の代わりにamsmath
と を使用することをお勧めします。以下のタグを参照してください。\@mathmargin
\mathindent
\documentclass[fleqn]{amsart}
\usepackage{amsmath}
\makeatletter
\def\@mathmargin{0pt}
\makeatother
\begin{document}
\underline{Impedance Z Parameters:}
\[V_1 = z_{11}I_1 + z_{12}I_2\]
\[V_2 = z_{21}I_1 + z_{22}I_2\]
\end{document}