4

First a minimal working sample is as following:

\documentclass{amsart}
\usepackage{txfonts}

\begin{document}

\end{document}

Goal: I want a math symbol which is like a circle but misses a left part as in the following picture. Any help is welcome. I hope it has the same line weight and size as \medcirc in the txfonts package.

enter image description here

Davislor
  • 44,045
M. Logic
  • 4,214

3 Answers3

7

Here is a solution that uses \ooalign to overlay a white rectangle on part of a \medcirc.

enter image description here

\mathchoice is used to allow your symbol to appear in script or scriptscript styles. You can edit the \rule arguments to adjust height and thickness of the opening in each style.

\documentclass{amsart}
\usepackage{txfonts,color}

\newcommand{\arcl}{\mathchoice%
{\mathbin{\ooalign{\hfil$\medcirc$\hfil\cr\textcolor{white}{\rule[.25ex]{.2em}{.65ex}}\hfil\cr}}}
{\mathbin{\ooalign{\hfil$\medcirc$\hfil\cr\textcolor{white}{\rule[.25ex]{.2em}{.65ex}}\hfil\cr}}}
{\mathbin{\ooalign{\hfil$\scriptstyle\medcirc$\hfil\cr\textcolor{white}{\rule[.2ex]{.2em}{.4ex}}\hfil\cr}}}
{\mathbin{\ooalign{\hfil$\scriptscriptstyle\medcirc$\hfil\cr\textcolor{white}{\rule[.15ex]{.2em}{.25ex}}\hfil\cr}}}
}

\begin{document}

$a\medcirc b_{a\medcirc b_{a\medcirc b}}$

$a\arcl b_{a\arcl b_{a\arcl b}}$

\end{document}
Sandy G
  • 42,558
1

Is this what you need?

\documentclass{article}
\usepackage{amsmath}
\usepackage{tipa}
\newcommand{\yoursymbol}{\text{\textopeno}}
\begin{document}
$a^2+\yoursymbol^2+\frac{2}{\yoursymbol}=0$
\end{document}

enter image description here

I get this from Detexify. Therefore, your question is possibly a duplicate of How to look up a symbol or identify a math symbol or character?.

1

With an improvement of @Kpym 's answer and the help of pict2e and scalerel packages, I got a suitable way:

\documentclass{amsart}
\usepackage{pict2e}
\usepackage{scalerel}
\newcommand{\peanoall}{\mathbin{%
\scalerel*{%
\begin{picture}(5,5.5)%
\put(2.5,2.75){\circle{5.5}}
\textcolor{white}{\linethickness{1.25mm}\put(2.5,2.75){\line(-1,0){3}}}
\end{picture}
}{\forall}%
}}
\begin{document}

$\phi\peanoall x,y\cdots\psi$

\end{document}

It could change the size with its location (normal texts or footnotes or scripts).

enter image description here

M. Logic
  • 4,214