分数维:
\documentclass{article}
\usepackage{amsmath,amsthm}
\newenvironment{Equation}{\begin{equation*}}{\end{equation*}}
\begin{document}
\begin{Equation}
x = y
\end{Equation}
The first line of text which follows the equation (in the same paragraph)
is slightly indented.
\end{document}
显然我不想要缩进。
我引入这个新环境是因为它使源代码在我的 LaTeX 编辑器 (TeXmaker) 中具有更好的配色方案。基本上我不想让它识别方程式环境。
答案1
最好只配置编辑器颜色,但是:
\documentclass{article}
\usepackage{amsmath,amsthm}
\newenvironment{Equation}{\begin{equation*}}{\end{equation*}\ignorespacesafterend}
\begin{document}
\begin{Equation}
x = y
\end{Equation}
The first line of text which follows the equation (in the same paragraph)
is slightly indented.
\end{document}