实现这样的效果可以使用\mathrlap命令来实现。\mathrlap命令可以将其参数水平放置,并且不占据任何水平空间。使用\mathrlap命令可以将\in符号翻转,并且将其与集合A放在一起。

以下是使用\mathrlap命令的示例代码:

\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}

\newcommand{\newin}{\mathrel{\mathrlap{\reflectbox{$\in$}}}{\in}}

\begin{document}

In the equation environment:
\begin{equation*}
A \newin a
\end{equation*}

In inline math:
$A \newin a$

\end{document}

这将在公式环境中实现A在a内的效果,并且也可以在行内数学中使用。

latexain A表示a在集合A内 但我想要in的符号左右翻转 从而实现 Anewin a我想在公式环境内使用 而newcommandnewinreflectbox$in$不能

原文地址: http://www.cveoy.top/t/topic/h8hH 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录