summaryrefslogtreecommitdiff
path: root/macros/generic/mathdots/mdotest.tex
blob: 0e61f711dc7c16109dfbf5fc27e6bf97d1526331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
% All possible sizes of the various mathdots tested
\documentclass{article}
%\usepackage{mathptmx}
\usepackage{amsmath}
\usepackage{mathdots}
%
% \dddot and \ddddot are wider in mathptmx package.
% Since there is no way to get a measure of the actual separation
% between dots in the 2-dot accent, I have made the spacing
% commands available to the user. The following seem to work well
% for mathptmx:
%\MDodotkern=-2mu
%\MDoprekern=-1mu
%\MDopostkern=0mu
\newcommand\testdots{%
$\ddots^{\ddots^{\ddots}}$ $\iddots^{\iddots^{\iddots}}$
$\vdots^{\vdots^{\vdots}}$
\par
$\dot{X}
\ddot{X}
\dddot{X}
\ddddot{X}
X^{\dot{X}}
X^{\ddot{X}}
X^{\dddot{X}}
X^{\ddddot{X}}
X^{X^{\dot{X}}}
X^{X^{\ddot{X}}}
X^{X^{\dddot{X}}}
X^{X^{\ddddot{X}}}$
\par\smallskip\hrule\smallskip}

\setlength\textwidth{6.664in}
\setlength\oddsidemargin{-.082in}
\setlength\parindent{0pt}

\setlength{\textheight}{8.9in}
\setlength{\topmargin}{0pt}
\addtolength\headheight{3.06pt}
\addtolength\topmargin{-\headheight}
\addtolength\topmargin{-\headsep}

\begin{document}
\pagestyle{headings}
\tableofcontents
\clearpage

\section{Testing in headers and TOC:
    $\ddots$, $\vdots$, $\iddots$, $\dddot{X}$ and $\ddddot{X}$}

\tiny tiny \testdots
\scriptsize scriptsize \testdots
\footnotesize footnotesize \testdots
\small small \testdots
\normalsize normalsize \testdots
\large large \testdots
\Large Large \testdots
\huge huge \testdots
\Huge Huge \testdots

\end{document}