Skip to content

Instantly share code, notes, and snippets.

@wtsnjp
Created February 25, 2018 14:22
Show Gist options
  • Select an option

  • Save wtsnjp/65740a80eb21c59742496efa5eaa2a22 to your computer and use it in GitHub Desktop.

Select an option

Save wtsnjp/65740a80eb21c59742496efa5eaa2a22 to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage{amsmath}
\usepackage[active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\makeatletter
\newcommand{\oopen}{%
\bgroup\hskip-.4em
\mathop{(}\limits^{\vbox to -1.2\ex@{\kern-\tw@\ex@
\hbox{\hskip.4em\scriptsize\ensuremath{\circ}}\vss}}%
\egroup}
\newcommand{\oclose}{%
\bgroup\hskip.3em
\mathop{)}\limits^{\vbox to -1.2\ex@{\kern-\tw@\ex@
\hbox{\hskip-.4em\scriptsize\ensuremath{\circ}}\vss}}%
\egroup}
\makeatother
\begin{document}
\begin{preview}
$\oopen a, b\oclose$
\end{preview}
\end{document}
@wtsnjp
Copy link
Author

wtsnjp commented Feb 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment