سلام
کدهایی که بین خطوطِ درصد محصور هستند، باید به فایلتون اضافه بشن. بستهٔ graphicx
اگه دارید، نیازی به نوشتنِ مجدد آن نیست.
\documentclass[11pt]{article}
\usepackage{amsmath,latexsym}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{graphicx}
\newlength\myLeads
\settowidth{\myLeads}{$\otimes$}
\newcommand{\newleadsto}{\raise.2ex\hbox{%
\resizebox{.93\myLeads}{!}{$\mspace{1.3mu}\leadsto$}}}
\makeatletter
\newcommand{\osim}{\mathbin{\mathpalette\make@circled\sim}}
\newcommand{\oleadsto}{\mathbin{%
\mathpalette\make@circled\newleadsto}}
\newcommand{\make@circled}[2]{%
\ooalign{$\m@th#1\smallbigcirc{#1}$\cr\hidewidth$\m@th#1#2$\hidewidth\cr}%
}
\newcommand{\smallbigcirc}[1]{%
\vcenter{\hbox{\scalebox{0.77778}{$\m@th#1\bigcirc$}}}%
}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
You can write $ \leadsto $ and $ \sim $ instead of $ \times, - $ in $ \otimes $
and $ \ominus $ like $ \osim $ and $ \oleadsto $
\end{document}
خروجی:
بهکمک این پرسشوپاسخ.