\mathindent를 0pt로 설정할 수 없습니다.

\mathindent를 0pt로 설정할 수 없습니다.

나는 방정식을 텍스트와 함께 왼쪽으로 완전히 플러시하려고 노력하고 있습니다. \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}

관련 정보