12

where one can see a big dot (and circle) over W. I am using \dot{W} and \mathring{W} but seems not big enough.

Werner
  • 603,163
Ziyuan
  • 507

4 Answers4

15
\documentclass{article}
\usepackage{accents}
\begin{document}
$\accentset{\bullet}{b}$
\end{document}
Leo Liu
  • 77,365
  • 1
    This in fact answered another question of mine: How to write a big dot as in the dot product of vectore? The word 'bullet' reminded me! – Karthik C Dec 10 '13 at 06:57
5

You can do the same with the amsmath package command \overset

\usepackage{amsmath} 

$\overset{\bullet}{W}$

see also the thread How to make a larger “\dot” to change the size of the dot.

3
\documentclass{article}
\usepackage{stackengine}
\renewcommand\useanchorwidth{T}
\newcommand\obullet[1]{\ensurestackMath{\stackon[1pt]{#1}{\mkern2mu\bullet}}}
\newcommand\ocirc[1]{\ensurestackMath{\stackon[1pt]{#1}{\mkern2mu\circ}}}
\begin{document}
$\ocirc{W}\obullet{x}$
\end{document}

enter image description here

If you need it to preserve the math style...

\documentclass{article}
\usepackage{stackengine,scalerel}
\renewcommand\useanchorwidth{T}
\newcommand\obullet[1]{\ThisStyle{\ensurestackMath{%
  \stackon[1pt]{\SavedStyle#1}{\SavedStyle\kern.6\LMpt\bullet}}}}
\newcommand\ocirc[1]{\ThisStyle{\ensurestackMath{%
  \stackon[1pt]{\SavedStyle#1}{\SavedStyle\kern.6\LMpt\circ}}}}
\begin{document}
$\ocirc{W}\obullet{x};
\scriptstyle\ocirc{W}\obullet{x};
\scriptscriptstyle\ocirc{W}\obullet{x}
$
\end{document}

enter image description here

0

I use

\usepackage{amsmath} 
\def\overbigdot#1{\overset{\hbox{\tiny$\bullet$}}{#1}}

in the preamble and then \overbigdot{x} in the document.

CampanIgnis
  • 4,624
Gpfleb
  • 9
  • Welcome to TeX.SE. I suggested a different layout of your post with syntax high-lightning. Since I am required to change a minimal numbers of chars I added some words. – CampanIgnis Jul 24 '18 at 16:03