From b7107e5924c67d251214ec24e021f79dc8aeaa88 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Jan 2019 23:18:53 +0000 Subject: mathfont (20jan19) git-svn-id: svn://tug.org/texlive/trunk@49773 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mathfont/README.txt | 13 ++-- Master/texmf-dist/doc/latex/mathfont/mathfont.pdf | Bin 237484 -> 291212 bytes .../doc/latex/mathfont/mathfont_example.pdf | Bin 0 -> 86277 bytes .../doc/latex/mathfont/mathfont_example.tex | 80 +++++++++++++++++++++ .../doc/latex/mathfont/mathfont_greek.tex | 8 +-- 5 files changed, 90 insertions(+), 11 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/mathfont/mathfont_example.pdf create mode 100644 Master/texmf-dist/doc/latex/mathfont/mathfont_example.tex (limited to 'Master/texmf-dist/doc/latex/mathfont') diff --git a/Master/texmf-dist/doc/latex/mathfont/README.txt b/Master/texmf-dist/doc/latex/mathfont/README.txt index 928b71d928f..d1d100782f0 100644 --- a/Master/texmf-dist/doc/latex/mathfont/README.txt +++ b/Master/texmf-dist/doc/latex/mathfont/README.txt @@ -7,12 +7,11 @@ the corresponding .sty file and complete the installation. 2. mathfont.pdf: the package documentation. -3. mathfont.ind: the index file. Include this file in the same -directory as mathfont.dtx when compiling to generate a code index. - -4. mathfont_greek.pdf: a table of Greek characters provided by +3. mathfont_greek.pdf: a table of Greek characters provided by mathfont. +4. mathfont_example.pdf: an example of mathfont in action. + The mathfont package is Copyright 2018 by Conrad Kosowsky. This work may be distributed and modified under the terms @@ -24,9 +23,9 @@ The most recent version of this license is available online at This work has the LPPL status "maintained," and the current maintainer is the package author, Conrad Kosowsky. He can be reached at kosowsky.latex@gmail.com. The work consists of the file mathfont.dtx, -the derived files mathfont.sty and mathfont_greek.tex, and -all other files created through the configuration process such as -mathfont.pdf, mathfont.idx, and mathfont.ind. +the derived files mathfont.sty, mathfont_greek.tex, and +mathfont_example.tex, and all other files created through the configuration +process such as mathfont.pdf, mathfont.idx, and mathfont.ind. To install mathfont, run mathfont.dtx through LaTeX and move the generated file mathfont.sty into a directory searchable by TeX. diff --git a/Master/texmf-dist/doc/latex/mathfont/mathfont.pdf b/Master/texmf-dist/doc/latex/mathfont/mathfont.pdf index b509bd2b0c4..27194280adf 100644 Binary files a/Master/texmf-dist/doc/latex/mathfont/mathfont.pdf and b/Master/texmf-dist/doc/latex/mathfont/mathfont.pdf differ diff --git a/Master/texmf-dist/doc/latex/mathfont/mathfont_example.pdf b/Master/texmf-dist/doc/latex/mathfont/mathfont_example.pdf new file mode 100644 index 00000000000..17c70c713f2 Binary files /dev/null and b/Master/texmf-dist/doc/latex/mathfont/mathfont_example.pdf differ diff --git a/Master/texmf-dist/doc/latex/mathfont/mathfont_example.tex b/Master/texmf-dist/doc/latex/mathfont/mathfont_example.tex new file mode 100644 index 00000000000..efb26fe250c --- /dev/null +++ b/Master/texmf-dist/doc/latex/mathfont/mathfont_example.tex @@ -0,0 +1,80 @@ +%% +%% This is file `mathfont_example.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% mathfont.dtx (with options: `example') +%% +%% Copyright 2018 by Conrad Kosowsky +%% +%% This file may be distributed and modified under the terms +%% of the LaTeX Public Project License, version 1.3c or any later version. +%% The most recent version of this license is available online at +%% +%% https://www.latex-project.org/lppl/. +%% +%% This work has the LPPL status "maintained," and the current maintainer +%% is the package author, Conrad Kosowsky. He can be reached at +%% kosowsky.latex@gmail.com. The work consists of the file mathfont.dtx, +%% the derived files mathfont.sty, mathfont_greek.tex, and +%% mathfont_example.tex, and all other files created through the configuration +%% process such as mathfont.pdf, mathfont.idx, and mathfont.ind. For more +%% information, see the original mathfont.dtx file. +%% +\documentclass[12pt]{article} +\usepackage[margin=72.27pt]{geometry} +\usepackage[factor=600,stretch=14,shrink=14,step=1]{microtype} +\usepackage{selnolig} +\usepackage[no-operators]{mathfont} +\mathfont{Times New Roman} +\mathfont[bb]{Symbola} +\restoremathinternals +\setmainfont{Times New Roman} +\nolig{Th}{T|h} +\hyphenpenalty=10 +\exhyphenpenalty=5 +\pretolerance=30 +\finalhyphendemerits=300 +\pagestyle{empty} +\begin{document} + +\centerline{The \textsf{mathfont} Package in Action: Two Mathematical Snippets Rendered in Times New Roman} +\centerline{Conrad Kosowsky} + +\bigskip + +Mathematicians usually define $e$ in one of two ways: as the horizontal asymptote of a certain function or as the limit of an infinite series. Specifically, it's most common to see $e$ defined as either +\[ +e=\lim_{x\to\infty}\left(1+\frac1x\right)^x +\] +or +\[ +e=\sum_{k=0}^\infty\frac1{k!}. +\] +The first definition is simpler in that involves a limit of a single expression, not a limit of partial sums, but in practice, the second tends to be more tractable. The power series expression of $e^x$ is given by +\[ +\sum_{n=0}^\infty\frac{x^n}{n!}, +\] +and the relationship between this expression and the series definition is much more apparent than it is for the first limit. This relationship arises in a variety of different mathematical contexts, for example the famous Euler's formula $e^{i\theta}=\cos\theta+i\sin\theta$ or the related definition of the characteristic function for a random variable $X$: +\[ +\phi_X(t)=\mathbb E\left(e^{iX}\right). +\] +Expanding $e^{iX}$ as a power series gives an expression for $\phi_X$ that we can differentiate term by term. + +\vfil + +A smooth manifold consists of a topological space $M$ equipped with a smooth maximal atlas $\leftbrace \phi_i\rightbrace$. The maps $\phi_i\colon U_i\longrightarrow\mathbb R$ technically aren't themselves differentiable, but their compositions $\phi_i^{}\circ\phi_j^{-1}$ are diffeomorphisms on subsets of $\mathbb R^n$. If we have a map $f\colon M\longrightarrow N$ between manifolds, this structure allows us to talk about differentiability of $f$. Specifically, we say that $f$ is smooth if for any $i$ and $j$, the composition +\[ +\psi_j^{}\circ f\circ\phi_i^{-1} +\] +is itself smooth, where $\leftbrace\psi_i\rightbrace$ is a smooth atlas for $N$. Differentiating $f$ produces the associated tangent map $Df$. The function $Df$ maps the tangent space $TM$ to the tangent space $TN$ and is linear when restricted to individual tangent spaces $T_pM$. If $M$ can be written as a product $M_1\times M_2$, we can consider the partial tangent maps $\partial_1f$ and $\partial_2f$ by considering the compositions $f\circ\iota_1$ and $f\circ\iota_2$, where $\iota_1$ and $\iota_2$ are inclusion maps with respect to a particular point. Combining both maps, we have the equation +\[ +Df(u,v)=\partial_1f(u)+\partial_2f(v), +\] +and this relationship can be thought of as an adaption of the standard product rule. + +\end{document} +\endinput +%% +%% End of file `mathfont_example.tex'. diff --git a/Master/texmf-dist/doc/latex/mathfont/mathfont_greek.tex b/Master/texmf-dist/doc/latex/mathfont/mathfont_greek.tex index 12c710eeb17..0120697eaf1 100644 --- a/Master/texmf-dist/doc/latex/mathfont/mathfont_greek.tex +++ b/Master/texmf-dist/doc/latex/mathfont/mathfont_greek.tex @@ -17,16 +17,16 @@ %% This work has the LPPL status "maintained," and the current maintainer %% is the package author, Conrad Kosowsky. He can be reached at %% kosowsky.latex@gmail.com. The work consists of the file mathfont.dtx, -%% the derived files mathfont.sty and mathfont_greek.tex, and -%% all other files created through the configuration process such as -%% mathfont.pdf, mathfont.idx, and mathfont.ind. For more +%% the derived files mathfont.sty, mathfont_greek.tex, and +%% mathfont_example.tex, and all other files created through the configuration +%% process such as mathfont.pdf, mathfont.idx, and mathfont.ind. For more %% information, see the original mathfont.dtx file. %% \documentclass[12pt]{article} \usepackage[margin=72.27pt]{geometry} \usepackage{booktabs} \usepackage{mathfont} -\mathfont[greekupper,greeklower=roman]{Symbola} +\mathfont{Symbola} \usepackage{shortvrb} \MakeShortVerb{|} \pagestyle{empty} -- cgit v1.2.3