diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/mathdots')
-rw-r--r-- | Master/texmf-dist/doc/generic/mathdots/README | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/mathdots/mathdots.pdf | bin | 0 -> 109664 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/mathdots/mathdots.tex | 106 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/mathdots/mdtest.tex | 52 |
4 files changed, 194 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/mathdots/README b/Master/texmf-dist/doc/generic/mathdots/README new file mode 100644 index 00000000000..22f4ffadc81 --- /dev/null +++ b/Master/texmf-dist/doc/generic/mathdots/README @@ -0,0 +1,36 @@ +
+This is the mathdots package, version 0.8.
+
+This package changes the basic LaTeX and plain TeX commands \ddots and
+\vdots so that they properly change size when font sizes change, and
+when they are used in superscripts and subscripts. It also adds the
+command \iddots ()for inverse diagonal dots) which slants the opposite
+way from \ddots.
+
+In addition, if it detects AMSLaTeX (or AMSTeX in plain TeX) it defines
+improved versions of the \dddot and \ddddot commands that place three
+and four dots on a math symbol (similar to the math accent commands \dot
+and \ddot). These also are arranged to change size correctly and some
+placement bugs are corrected.
+
+Other (minor) improvements: the commands \vdots, \ddots and \iddots
+select the dot from the math fonts instead of the text fonts, so they
+always match math punctuation dots. The \dddot and \ddddot commands
+select the accent dot (same one placed by \dot).
+
+File list:
+
+mathdots.dtx The code
+mathdots.pdf The manual
+mathdots.ins unpacking script
+mdtest.tex Test file
+README This file
+
+Installation:
+
+Run tex or latex on mathdots.ins to unpack the files. Copy mathdots.tex
+where tex will find it and mathdots.sty where latex will find it. Copy
+the remaining files to your documentation area.
+
+Daniel H. Luecking, \luecking \at \uark \dot \edu
+
diff --git a/Master/texmf-dist/doc/generic/mathdots/mathdots.pdf b/Master/texmf-dist/doc/generic/mathdots/mathdots.pdf Binary files differnew file mode 100644 index 00000000000..2f2caf7e421 --- /dev/null +++ b/Master/texmf-dist/doc/generic/mathdots/mathdots.pdf diff --git a/Master/texmf-dist/doc/generic/mathdots/mathdots.tex b/Master/texmf-dist/doc/generic/mathdots/mathdots.tex new file mode 100644 index 00000000000..25d1f88338d --- /dev/null +++ b/Master/texmf-dist/doc/generic/mathdots/mathdots.tex @@ -0,0 +1,106 @@ +%% +%% This is file `mathdots.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% mathdots.dtx (with options: `tex') +%% +%% ------------------------------------------------------------------- +%% +%% Copyright 2001--2006, Daniel H. Luecking +%% +%% Mathdots may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.3 of this license or (at +%% your option) any later version. The latest version of this license is in +%% <http://www.latex-project.org/lppl.txt> +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% Mathdots has maintenance status "author-maintained". The Current +%% Maintainer is Daniel H. Luecking. The Base Interpreters associated with +%% mathdots are plain TeX and LaTeX +%% +\def\mathdotsfiledate{2006/03/16}% +\def\mathdotsfileversion{0.8}% +\expandafter +\ifx\csname MathDots\mathdotsfileversion\endcsname\relax +\else + \immediate\write16{Mathdots already loaded.}\expandafter\endinput +\fi +\immediate\write16{Package mathdots, \mathdotsfiledate\space version + \mathdotsfileversion.}% +\expandafter\edef\csname MathDots\mathdotsfileversion\endcsname{% + \catcode`\noexpand\@=\the\catcode`@}% +\catcode`\@=11 +\def\@nameuse#1{\csname#1\endcsname}% +\def\MD@us#1{\@nameuse{#1style}}% +\def\MD@uf#1{\@nameuse{#1font}0}% +\def\MD@t{text}\def\MD@s{script}\def\MD@ss{scriptscript}% +\newdimen\MD@unit \MD@unit\p@ +\def\MD@changestyle#1{\relax\MD@unit0.1\fontdimen6\MD@uf{#1}% + \everymath\expandafter{\the\everymath\MD@us{#1}}}% +\def\MD@dot{$\m@th\ldotp$}% +\def\MD@palette#1{\mathchoice{#1\MD@t}{#1\MD@t}{#1\MD@s}{#1\MD@ss}}% +\def\MD@ddots#1{{\MD@changestyle{#1}% + \mkern1mu\raise7\MD@unit\vbox{\kern7\MD@unit\hbox{\MD@dot}}% + \mkern2mu\raise4\MD@unit\hbox{\MD@dot}% + \mkern2mu\raise \MD@unit\hbox{\MD@dot}\mkern1mu}}% +\def\MD@vdots#1{\vbox{\MD@changestyle{#1}% + \baselineskip4\MD@unit\lineskiplimit\z@ + \kern6\MD@unit\hbox{\MD@dot}\hbox{\MD@dot}\hbox{\MD@dot}}}% +\def\MD@iddots#1{{\MD@changestyle{#1}% + \mkern1mu\raise \MD@unit\hbox{\MD@dot}% + \mkern2mu\raise4\MD@unit\hbox{\MD@dot}% + \mkern2mu\raise7\MD@unit\vbox{\kern7\MD@unit\hbox{\MD@dot}}}}% +\def\fixedvdots{% + \vbox{\baselineskip4\p@ \lineskiplimit\z@ + \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}% +\def\fixedddots{% + \mathinner{\mkern1mu + \raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu + \raise4\p@\hbox{.}\mkern2mu + \raise\p@\hbox{.}\mkern1mu}}% +\def\fixediddots{% + \mathinner{\mkern1mu + \raise\p@\hbox{.}\mkern2mu + \raise4\p@\hbox{.}\mkern2mu + \raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern1mu}}% +\let\originalddots=\ddots +\let\originalvdots=\vdots +\let\originaliddots=\iddots +\def\ddots{% + \mathinner{\MD@palette\MD@ddots}}% +\def\iddots{% + \mathinner{\MD@palette\MD@iddots}}% +\def\vdots{% + \mathinner{\MD@palette\MD@vdots}}% +\wlog{Mathdots Info: Redefining \string\ddots.}% +\wlog{Mathdots Info: Redefining \string\vdots.}% +\newbox\MD@dotsbox +\newmuskip\MD@prekern +\newmuskip\MD@postkern +\newmuskip\MD@dotkern +\MD@prekern 0mu +\MD@postkern -1mu +\MD@dotkern -1.3mu +\def\MD@dotsaccent#1{\mathpalette{\MD@@dotsaccent{#1}}}% +\def\MD@@dotsaccent#1#2#3{% + {\setbox\MD@dotsbox\hbox{$#2\mkern\MD@prekern#1\mkern\MD@postkern$}% + \mathop{#3\kern\z@}\limits^{% + \text{\vbox to-1.4\ex@{\kern-1.8\ex@\copy\MD@dotsbox\vss}}}}% +}% +\let\originaldddot \dddot +\let\originalddddot\ddddot +\def\amstexfmtname{AmS-TeX}% +\ifx\amstexfmtname\fmtname + \def\MD@D{\mathchar"5F\mkern\MD@dotkern}% + \wlog{Mathdots Info: Redefining \string\dddot.}% + \wlog{Mathdots Info: Redefining \string\ddddot.}% + \def\dddot {\MD@dotsaccent{\MD@D\MD@D\MD@D}}% + \def\ddddot{\MD@dotsaccent{\MD@D\MD@D\MD@D\MD@D}}% +\fi +\csname MathDots\mathdotsfileversion\endcsname +\endinput +%% +%% End of file `mathdots.tex'. diff --git a/Master/texmf-dist/doc/generic/mathdots/mdtest.tex b/Master/texmf-dist/doc/generic/mathdots/mdtest.tex new file mode 100644 index 00000000000..2bb93dd61e7 --- /dev/null +++ b/Master/texmf-dist/doc/generic/mathdots/mdtest.tex @@ -0,0 +1,52 @@ +% All possible sizes of the various mathdots tested +\documentclass{article} +\usepackage{amsmath} +\usepackage{mathdots} + +\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} |