Math & Science\dot inside \bigcup

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Lumy
Posts: 24
Joined: Tue Jan 06, 2009 2:41 pm

\dot inside \bigcup

Post by Lumy »

Hello,

exists \cup and \bigcup command that includes a dot centered in it? Not, MnSymbol package.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

\dot inside \bigcup

Post by phi »

Here is a method to fake this symbol when using the CM fonts:

Code: Select all

\documentclass{article}

\usepackage{etoolbox}

\makeatletter
\providerobustcmd*{\bigcupdot}{%
  \mathop{%
    \mathpalette\bigop@dot\bigcup
  }%
}
\newrobustcmd*{\bigop@dot}[2]{%
  \setbox0=\hbox{$\m@th#1#2$}%
  \vbox{%
    \lineskiplimit=\maxdimen
    \lineskip=-0.7\dimexpr\ht0+\dp0\relax
    \ialign{%
      \hfil##\hfil\cr
      $\m@th\cdot$\cr
      \box0\cr
    }%
  }%
}
\makeatother

\begin{document}

$a \bigcupdot a \bigcup a$

\[ \bigcupdot a \bigcup a \]

\[ T_{a \bigcupdot a \bigcup a} \]

\end{document}
Lumy
Posts: 24
Joined: Tue Jan 06, 2009 2:41 pm

Re: \dot inside \bigcup

Post by Lumy »

Thank you for your answer.
Post Reply