diff options
author | Karl Berry <karl@freefriends.org> | 2015-02-28 22:54:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-02-28 22:54:27 +0000 |
commit | e0f3129ed813ffbbbcbbcc62bd0d62324de33e65 (patch) | |
tree | 7d8ea9a4bbe65036c3ca780305579ec0c2fcea75 /Master/texmf-dist/source/latex/mathastext | |
parent | d4db9d840415a1868b4310efe460401d68cae791 (diff) |
mathastext (28feb15)
git-svn-id: svn://tug.org/texlive/trunk@36408 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/mathastext')
-rw-r--r-- | Master/texmf-dist/source/latex/mathastext/mathastext.dtx | 100 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mathastext/mathastext.ins | 10 |
2 files changed, 54 insertions, 56 deletions
diff --git a/Master/texmf-dist/source/latex/mathastext/mathastext.dtx b/Master/texmf-dist/source/latex/mathastext/mathastext.dtx index f7cc6ca4d55..8f12dfcc1cd 100644 --- a/Master/texmf-dist/source/latex/mathastext/mathastext.dtx +++ b/Master/texmf-dist/source/latex/mathastext/mathastext.dtx @@ -1,45 +1,43 @@ -% -*- coding: iso-latin-1; time-stamp-format: "%02d-%02m-%:y %02H:%02M:%02S %Z" -*- -% File: mathastext.dtx, package: 1.3d (2014/05/23), documentation: 2014/05/23 -% License: LaTeX Project Public License 1.3c or later. -% Copyright (C) 2011-2014 Jean-Francois Burnol <jfbu at free dot fr> +% -*- coding: iso-latin-1; -*- %<*dtx> -\def\lasttimestamp{Time-stamp: <23-05-2014 18:44:40 CEST>} +{\def\dtxtimestamp {Time-stamp: <26-02-2015 23:33:58 CET>}% + \def\getdtxtimestamp #1 <#2 #3 #4>{#2 at #3 #4}% + \xdef\dtxtimestamp {\expandafter\getdtxtimestamp\dtxtimestamp }}% +\def\docdate{2015/02/26} %</dtx> -%<*drv|ins> -\def\MSTpkgdate {2014/05/23} -\def\MSTpkgversion {1.3d} -%</drv|ins> -% This file (mathastext.dtx) is to be processed with the pdfetex engine, -% it does not compile under the Unicode engines lualatex or xelatex. -% %%---------------------------------------------------------------- -%% The mathastext package (version 1.3d of May 23, 2014) +%% Package: mathastext %<package>%% Use the text font in math mode (jfB) -%% Copyright (C) 2011-2014 Jean-Francois Burnol +%% Version: 1.3d (2014/05/23; doc of 2015/02/26) +%% License: LPPL 1.3c +%% Copyright (C) 2011-2015 Jean-Francois Burnol <jfbu at free dot fr> %% Examples of use of mathastext: %% http://jf.burnol.free.fr/mathastext.html %% http://jf.burnol.free.fr/showcase.html %%---------------------------------------------------------------- +% This Work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. This version of this license is in +% http://www.latex-project.org/lppl/lppl-1-3c.txt +% and 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 2005/12/01 or later. % -% License: -% ======== -% -% This file 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. -% +% The Author of this Work is: Jean-Francois Burnol <jfbu at free dot fr> +%<*drv|ins> +\def\MSTpkgdate {2014/05/23} +\def\MSTpkgversion {1.3d} +%</drv|ins> % Installation: % ============= % -% The fastest way is: unzip -d <destination> mathastext.tds.zip, where -% <destination> could be ~/texmf or, on mac os x, ~/Library/texmf, or -% the working repertory of your project. Else, download mathastext.dtx, -% possibly also mathastext.ins, and follow these instructions: +% The fastest way is: unzip -d <destfolder> mathastext.tds.zip, where +% <destfolder> could be ~/texmf or, on mac os x, ~/Library/texmf. +% +% Else, download mathastext.dtx, possibly also mathastext.ins, and follow +% these instructions: % % * with mathastext.ins: run tex on mathastext.ins to generate the package % style file mathastext.sty as well as mathastext.tex and some test files. @@ -57,7 +55,7 @@ % with source code included, in the latter without. The file mathastext.tex % can be customized to change the font size or set other options therein. % -% (Note: one cannot use lualatex/xelatex to compile the documentation.) +% (One cannot use lualatex/xelatex to compile the documentation.) % % *test files*: mathastexttestmathversions.tex % mathastexttestunicodemacos.tex @@ -65,10 +63,6 @@ % mathastexttestalphabets.tex % %<*dtx> -\def\striptimestamp #1 <#2 #3 #4>{#2 at #3 #4} -\def\getdocdate #1 <#2-#3-#4 #5>{#4/#3/#2} -\edef\docdate{\expandafter\getdocdate\lasttimestamp} -\edef\dtxtimestamp{\expandafter\striptimestamp\lasttimestamp} \chardef\noetex 0 \expandafter\ifx\csname numexpr\endcsname\relax \chardef\noetex 1 \fi \ifnum\noetex=1 \chardef\extractfiles 0 % extract files, then stop @@ -902,7 +896,8 @@ LGRgreek]{mathastext} \subsection{Recent changes} This is the documentation for version \texttt{\MSTpkgversion} of -\texttt{\MSTpkgdate}. +\texttt{\MSTpkgdate}. Updated \texttt{\docdate} to mention +\hyperref[ssec:beamer]{better compatibility} with |beamer|. Changes for this release: \begin{enumerate}[noitemsep] @@ -987,16 +982,15 @@ Earlier, version |1.15| introduced the concept of the \subsection{Installation} \begin{verbatim} -The fastest way is to obtain mathastext.tds.zip from CTAN: - http://ctan.org/pkg/mathastext +Installation: +============= -Then: unzip -d <destination> mathastext.tds.zip, where <destination> -could be ~/texmf or, on mac os x, ~/Library/texmf, or the working -repertory of your project. +The fastest way is: unzip -d <destfolder> mathastext.tds.zip, where +<destfolder> could be ~/texmf or, on mac os x, ~/Library/texmf. Else, download mathastext.dtx, possibly also mathastext.ins, and follow these instructions: - + * with mathastext.ins: run tex on mathastext.ins to generate the package style file mathastext.sty as well as mathastext.tex and some test files. @@ -1013,12 +1007,13 @@ pdflatex thrice on mathastext.dtx. In the former case the documentation is with source code included, in the latter without. The file mathastext.tex can be customized to change the font size or set other options therein. - (Note: one cannot use lualatex/xelatex to compile the documentation.) + (One cannot use lualatex/xelatex to compile the documentation.) *test files*: mathastexttestmathversions.tex mathastexttestunicodemacos.tex mathastexttestunicodelinux.tex mathastexttestalphabets.tex + \end{verbatim} % \clearpage @@ -1262,12 +1257,13 @@ text. \begin{document} \end{verbatim} -\subsubsection{using \mst with \texttt{beamer.sty}} +\subsubsection{using \mst with \texttt{beamer}}\label{ssec:beamer} + +\noindent\llap{\textcolor{green}{\bfseries 2015/02/26}\hspace{1em}}Starting +with release |3.34| of |beamer|, \mst is recognized as a ``math font package''. -It has been asked to add \mst to the list of packages recognized by -|beamer| as math font packages. Until this is done, one needs to issue -\centeredline{|\usefonttheme{professionalfonts}|} in the preamble. -Random example: +Only with \textbf{earlier} |beamer| versions is it necessary to issue +\centeredline{|\usefonttheme{professionalfonts}|} in the preamble. Example: \begin{verbatim} \documentclass{beamer} @@ -2050,7 +2046,7 @@ Under the §subdued§ option the Greek letters in the normal and bold math versions are kept to their defaults as found at the time of loading the package. -The commands §\MTstandardgreek§ allows at any point +The commands §\MTstandardgreek§ allow at any point in the document to turn inactive any Greek related option passed to \mst. And conversely §\MTcustomgreek§ reactivates it. @@ -2119,7 +2115,7 @@ on your system), etc\dots \LuaLaTeX{}. With \XeTeX{} the user is strongly advised to first consider using the -|mathspec| package, which isdesigned for Unicode, with a key-value interface. +|mathspec| package, which is designed for Unicode, with a key-value interface. With both \XeTeX{} and \LuaLaTeX{}, |unicode-math| is recommended for OpenType math fonts. @@ -2882,8 +2878,8 @@ Greek letters in the versions which will be declared next. customization of Greek letters in math mode. It is issued automatically by the package in the preamble (except if loaded with §subdued§ option) and at each switch of math version via - |\MTversion| or |\MTversion*| (except to the normal and bold math - version in subdued mode). Also available as + |\MTversion| or |\MTversion*| (the normal and bold math + versions in subdued mode being excepted). Also available as |\Mathastextcustomgreek|. \end{enumerate} diff --git a/Master/texmf-dist/source/latex/mathastext/mathastext.ins b/Master/texmf-dist/source/latex/mathastext/mathastext.ins index 1c77a5b2148..7e0af9f4f90 100644 --- a/Master/texmf-dist/source/latex/mathastext/mathastext.ins +++ b/Master/texmf-dist/source/latex/mathastext/mathastext.ins @@ -1,12 +1,14 @@ -\def\MSTpkgdate {2014/05/23} -\def\MSTpkgversion {1.3d} %%---------------------------------------------------------------- -%% The mathastext package (version 1.3d of May 23, 2014) -%% Copyright (C) 2011-2014 Jean-Francois Burnol +%% Package: mathastext +%% Version: 1.3d (2014/05/23; doc of 2015/02/26) +%% License: LPPL 1.3c +%% Copyright (C) 2011-2015 Jean-Francois Burnol <jfbu at free dot fr> %% Examples of use of mathastext: %% http://jf.burnol.free.fr/mathastext.html %% http://jf.burnol.free.fr/showcase.html %%---------------------------------------------------------------- +\def\MSTpkgdate {2014/05/23} +\def\MSTpkgversion {1.3d} %% This is a generated file. "tex mathastext.ins" extracts mathastext.sty from %% mathastext.dtx as well as mathastext.tex (for typesetting the documentation), %% and some test files to check the package commands. |