20

I'm writing up some notes that will be displayed on an overhead projector. The standard time-derivative \dot{x} produces a dot that is hard to see. Does anyone know of a package or have a macro that produces a (nice looking) larger dot? Similarly with \ddot{x}.

At the moment, I've been supplied with some ugly code that produces an ugly output:

\def\dt#1{{\buildrel  {\hbox{\LARGE . }} \over {#1}}}    % dot-over 
\def\ddt#1{{\buildrel {\hbox{\LARGE ..}} \over {#1}}}    % double dot
Simon
  • 4,262

4 Answers4

20

You could use the accents package and its command \accentset to create faked accents. Here`s an example:

\documentclass{article}
\usepackage{amsmath}
\usepackage{accents}
\newcommand*{\dt}[1]{%
  \accentset{\mbox{\large\bfseries .}}{#1}}
\newcommand*{\ddt}[1]{%
  \accentset{\mbox{\large\bfseries .\hspace{-0.25ex}.}}{#1}}
\begin{document}
$\dot{x} \neq \dt{x}$

$\ddot{x} \neq \ddt{x}$
\end{document}

Output:

alt text

Instead of a large bold period you could also choose for instance a tiny \bullet.

Stefan Kottwitz
  • 231,401
14

The amsmath package provides the commands \overset and \underset to set arbitrary things over/under other arbitrary things. So with amsmath and bm loaded you can use

\overset{\bm .}{a}

to obtain an "a" with a bold dot on it.

Caramdir
  • 89,023
  • 26
  • 255
  • 291
  • 1
    For a closer dot, with horizontal positioning appropriate to italic characters, you could try \renewcommand{\dot}[1] {\overset{\,_{\mbox{\Large .}}}{#1}} , where \Large may be replaced by another size or \bf, to taste. The effect is easily seen by commenting the \renewcommand in and out. – Gavin R. Putland Jan 07 '20 at 02:17
  • Alternatively, create a \bigdot command with: \newcommand{\bigdot}[1]{\overset{\bm .}{#1}} – Peter Jan 11 '20 at 00:50
3

The normal \dot uses the dot accent from the font, so switching font families to a font set with larger accents would be the cleanest solution.

Taco Hoekwater
  • 13,724
  • 43
  • 67
1

Maybe rather use \partial_t x or x_t? Also quite compact and much more noticeable.

  • 2
    I agree, but I'm writing the notes for someone else, so I don't get a say in the matter. – Simon Aug 17 '10 at 08:26