When I write $\dot{A}(t)$, the dot is not aligned with the top of the letter A. is there a way to correct this?
Asked
Active
Viewed 2,667 times
5
Werner
- 603,163
1 Answers
1
Not sure if this breaks other things, but here, I redefine \dot to check if the argument is a lone A and skew the dot only if that is the case (the skew level can be adjusted, of course, for the particular font).
\documentclass{article}
\let\svdot\dot
\def\dot#1{\dothelp#1\relax}
\def\dothelp#1#2\relax{%
\if\relax#2\relax%
\ifx A#1\skew{6}\svdot#1\else\svdot#1\fi
\else
\svdot{#1#2}%
\fi%
}
\begin{document}
$\dot{A}(t)$
$\dot A(t)$
$\dot{AG}(t)$
$\dot{G}(t)$
\end{document}
The unaltered \dot, for comparison
Steven B. Segletes
- 237,551


beamerstandard font – Werner Jun 16 '16 at 22:05$\skew{6}\dot{A}(t)$or$\skew{7}\dot{A}(t)$(according to your taste). – GuM Jun 16 '16 at 22:24$\dot{\phi}$ vs $\dot{\hbox{$\phi$}}$– Henri Menke Jun 17 '16 at 08:50.over theAit's quite a blunt instrument and can not really fine tune optical effects around the small dot and the exact position of the apex of the A. – David Carlisle Jun 17 '16 at 09:02