
Estou tentando franzir a testa algumas vezes para que se comporte como um chapéu. Eu tentei:
\stackrel{\frown}{\times}
{\frown \above 0pt \times}
\overset{\frown}{\times}
\mathrlap{\frown}\times
{\frown\atop\times}
\ooalign{$\frown$\cr$\times$}
mas a distância entre a carranca e os tempos é muito alta ou muito baixa. Acho que \ooalign
fornece uma solução, mas não consigo encontrá-la.
Editar:
\ooalign{\hidewidth\raise1ex\hbox{$\frown$}\cr$\times$}
dá um resultado muito bom, mas os símbolos não estão alinhados.
Responder1
Não \ooalign
, que sobrepõe símbolos: você precisa empilhá-los, então \ialign
é melhor.
\documentclass{article}
\usepackage{amsmath,mathtools}
\makeatletter
\DeclareRobustCommand{\frtimes}{\mathbin{\mathpalette\frtimes@@\relax}}
\newcommand{\frtimes@@}[2]{%
\vbox{\offinterlineskip
\sbox\z@{$\m@th#1\times$}%
\ialign{%
\hfil##\hfil\cr
$\m@th#1{}_{\frown}\kern-\scriptspace$\cr
\noalign{\kern-.3\ht\z@}
\box\z@\cr
}%
}%
}
\makeatother
\begin{document}
$A\frtimes B_{A\frtimes B}$
\end{document}
Responder2
Aqui estão três outras soluções: uma com stackengine
e as outras substituindo \frown
pelo \wideparen
acento matemático, de mathabx
e yhmath
respectivamente.
\documentclass[border=5pt]{standalone}
\usepackage[usestackEOL]{stackengine} %
\usepackage{accents}
\newcommand\frimes{\mathbin{\ensurestackMath{\stackon[-1pt]{\times}{\frown}}}}
\DeclareFontFamily{U}{mathx}{\hyphenchar\font45}
\DeclareFontShape{U}{mathx}{m}{n}{
<5><6><7><8><9><10>
<10.95><12><14.4><17.28><20.74><24.88>
mathx10
}{}
\DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
\DeclareFontSubstitution{U}{mathx}{m}{n}
\DeclareMathAccent{\varwideparen}{0}{mathx}{"8C}
\DeclareSymbolFont{largesymbols}{OMX}{yhex}{m}{n}
\DeclareMathAccent{\wideparen}{\mathord}{largesymbols}{"F3}
\begin{document}
$
a
\frimes
b
\quad
a
\mathbin{\varwideparen{\times}}
b
\quad
a
\mathbin{\wideparen{\times}}
b$
\end{document}
Responder3
Acho que uma maneira fácil é criar um array
, comosugerido por Werner
\documentclass[border=5pt]{standalone}
\begin{document}
$
a
\begin{array}[b]{@{}c@{}}
\frown \\ [-7pt] % adjust as needed
{} \times {} \\
\end{array}
b
$
\end{document}