summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/tools/tpm-ctan-check2
-rw-r--r--Master/texmf-dist/tex/latex/ltxmisc/authoraftertitle.sty32
-rw-r--r--Master/texmf-dist/tex/latex/ltxmisc/sansmath.sty85
-rw-r--r--Master/texmf-dist/tpm/ltxmisc.tpm3
-rw-r--r--Master/texmf/lists/ltxmisc1
5 files changed, 93 insertions, 30 deletions
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check
index 2d611a0d8b4..1f79fc80025 100755
--- a/Build/tools/tpm-ctan-check
+++ b/Build/tools/tpm-ctan-check
@@ -54,7 +54,7 @@ my @WorkingTPM = qw(
jneurosci jpsj jurabib juramisc
kalender kerkis keystroke koma-script
l2picfaq l2tabu-english labelcas labels latex latex-tds
- layouts lcd lcg leaflet leawood ledmac lewis lfb lgreek lh
+ layouts lcd lcg leaflet ledmac lewis lfb lgreek lh
limap linearA lineno lipsum listings listliketab lkproof lm
logpap lsc lshort-bulgarian lshort-dutch lshort-english
lshort-finnish lshort-french lshort-german lshort-italian
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/authoraftertitle.sty b/Master/texmf-dist/tex/latex/ltxmisc/authoraftertitle.sty
new file mode 100644
index 00000000000..7244c69bb9c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ltxmisc/authoraftertitle.sty
@@ -0,0 +1,32 @@
+% Author Matthias Bilger
+% License: Absolutely Free :)
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{authoraftertitle}[2006/10/14 v0.9 package for Author after Titlepage]
+%Author
+\newcommand\Originalauthor{}
+\let\Originalauthor\author
+\renewcommand*{\author}[1]{%
+ \Originalauthor{#1}%
+ \renewcommand*{\MyAuthor}{#1}%
+}
+
+\newcommand*{\MyAuthor}{}
+
+%Title
+\newcommand\Originaltitle{}
+\let\Originaltitle\title
+\renewcommand*{\title}[1]{%
+ \Originaltitle{#1}%
+ \renewcommand*{\MyTitle}{#1}%
+}
+\newcommand*{\MyTitle}{}
+
+%Date
+\newcommand\Originaldate{}
+\let\Originaldate\date
+\renewcommand*{\date}[1]{%
+ \Originaldate{#1}%
+ \renewcommand*{\MyDate}{#1}%
+}
+\newcommand*{\MyDate}{}
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/sansmath.sty b/Master/texmf-dist/tex/latex/ltxmisc/sansmath.sty
index 8fe92456b3a..bc757537179 100644
--- a/Master/texmf-dist/tex/latex/ltxmisc/sansmath.sty
+++ b/Master/texmf-dist/tex/latex/ltxmisc/sansmath.sty
@@ -1,6 +1,6 @@
% LaTeX package sansmath: typeset sans-serif math using `text' fonts.
%
-\ProvidesPackage{sansmath}[2003/12/14 \space ver 0.5 Donald Arseneau]
+\ProvidesPackage{sansmath}[2006/11/10 \space ver 0.7 Donald Arseneau]
%
% Donald Arseneau, asnd@triumf.ca, Vancouver, Canada.
%
@@ -37,6 +37,13 @@
% One should also investigate using Euler for ALL MATH in the document,
% using package `euler' instead of this one!
%
+% OT1 encoding is normally required to get the uppercase greek letters,
+% but if you use the [EULERGREEK] option or don't use any uppercase greek
+% letters, then you are welcome to define \sansmathencoding *before*
+% loading this package. There is also a package option [T1] to perform
+% that particuler definition. Note the comment above about only cmms
+% being good; even the T1-encoded ec fonts are poor substitutes.
+%
% This package achieves math-italic by reloading the slanted version
% of the text sans-serif font, and changing a fontdimen parameter
% (spaceskip). This causes the italic correction to be applied between
@@ -44,14 +51,42 @@
% (Why does a sans font have these ligatures anyway?) At this point,
% nothing is done about this bug.
-\DeclareMathAlphabet{\mathsfsl}{OT1}{\sfdefault}{m}{sl}
+\providecommand\sansmathencoding{OT1}
+\DeclareOption{T1}{
+ \def\sansmathencoding{T1}
+}
+
+\let\EulGreek\relax
+\let\EuUCGreek\relax
+\DeclareOption{EULERGREEK}{
+ \ExecuteOptions{eulergreek}
+ \def\EuUCGreek{%
+ \@euG\Gamma \@euG\Delta \@euG\Theta \@euG\Lambda \@euG\Xi \@euG\Pi
+ \@euG\Sigma \@euG\Upsilon \@euG\Phi \@euG\Psi \@euG\Omega
+}}
+\DeclareOption{eulergreek}{
+ \def\EulGreek{%
+ \ifnum\alpha<\@eugreekOffset
+ \@eug\alpha \@eug\beta \@eug\gamma \@eug\delta \@eug\epsilon
+ \@eug\zeta \@eug\eta \@eug\theta \@eug\iota \@eug\kappa \@eug\lambda
+ \@eug\mu \@eug\nu \@eug\xi \@eug\pi \@eug\rho \@eug\sigma \@eug\tau
+ \@eug\upsilon \@eug\phi \@eug\chi \@eug\psi \@eug\omega
+ \@eug\varepsilon \@eug\vartheta \@eug\varpi \@eug\varphi
+ \EuUCGreek
+ \let\varrho\rho \let\varsigma\sigma % Euler's missing variants
+ \fi
+}}
+
+\ProcessOptions
+
+\DeclareMathAlphabet{\mathsfsl}{\sansmathencoding}{\sfdefault}{m}{sl}
\DeclareOldFontCommand{\sfsl}{\normalfont\sffamily\slshape}{\mathsfsl}
-\DeclareMathAlphabet{\mathsfbf}{OT1}{\sfdefault}{bx}{sl}
+\DeclareMathAlphabet{\mathsfbf}{\sansmathencoding}{\sfdefault}{bx}{sl}
\DeclareOldFontCommand{\sfbf}{\normalfont\sffamily\bfseries}{\mathsfbf}
\DeclareMathVersion{sans}
-\SetMathAlphabet{\mathrm} {sans}{OT1}{\sfdefault}{m}{n}
-\SetMathAlphabet{\mathsfsl}{sans}{OT1}{\sfdefault}{m}{sl}
+\SetMathAlphabet{\mathrm} {sans}{\sansmathencoding}{\sfdefault}{m}{n}
+\SetMathAlphabet{\mathsfsl}{sans}{\sansmathencoding}{\sfdefault}{m}{sl}
\SetSymbolFont {operators}{sans}{OT1}{\sfdefault}{m}{n}
% The cmm and cmsy are too light for cmss. I tried {b} for the next
@@ -59,7 +94,7 @@
\SetSymbolFont {letters} {sans}{OML}{cmm} {m}{it}
\SetSymbolFont {symbols} {sans}{OMS}{cmsy}{m}{n}
-\SetMathAlphabet{\mathsfbf}{sans}{OT1}{\sfdefault}{bx}{n}
+\SetMathAlphabet{\mathsfbf}{sans}{\sansmathencoding}{\sfdefault}{bx}{n}
\DeclareMathSymbol{0}{\mathord}{operators}{`0}
\DeclareMathSymbol{1}{\mathord}{operators}{`1}
@@ -81,28 +116,6 @@
%\DeclareMathSymbol{=}{\mathrel}{operators}{`\=}
-\let\EulGreek\relax
-\let\EuUCGreek\relax
-\DeclareOption{EULERGREEK}{
- \ExecuteOptions{eulergreek}
- \def\EuUCGreek{%
- \@euG\Gamma \@euG\Delta \@euG\Theta \@euG\Lambda \@euG\Xi \@euG\Pi
- \@euG\Sigma \@euG\Upsilon \@euG\Phi \@euG\Psi \@euG\Omega
-}}
-\DeclareOption{eulergreek}{
- \def\EulGreek{%
- \ifnum\alpha<\@eugreekOffset
- \@eug\alpha \@eug\beta \@eug\gamma \@eug\delta \@eug\epsilon
- \@eug\zeta \@eug\eta \@eug\theta \@eug\iota \@eug\kappa \@eug\lambda
- \@eug\mu \@eug\nu \@eug\xi \@eug\pi \@eug\rho \@eug\sigma \@eug\tau
- \@eug\upsilon \@eug\phi \@eug\chi \@eug\psi \@eug\omega
- \@eug\varepsilon \@eug\vartheta \@eug\varpi \@eug\varrho
- \@eug\varsigma \@eug\varphi
- \EuUCGreek
- \fi
-}}
-\ProcessOptions
-
\ifx\EulGreek\relax\else
\DeclareSymbolFont{EulerGreek}{U}{eur}{m}{n}
\SetSymbolFont{EulerGreek}{sans}{U}{eur}{m}{n}
@@ -172,3 +185,19 @@
\let\sansm@every@math\relax
+% Repair of a LaTeX bug that has not been fixed in 5 years.
+% Latex bug: latex/3357
+
+\def \@fontswitch #1#2{%
+ \ifmmode
+ \let \math@bgroup \relax
+ \def \math@egroup ##1{%
+ \let \math@bgroup \@@math@bgroup
+ \let \math@egroup \@@math@egroup
+ ##1}%
+ #2\relax
+ \else
+ #1%
+ \fi
+}
+
diff --git a/Master/texmf-dist/tpm/ltxmisc.tpm b/Master/texmf-dist/tpm/ltxmisc.tpm
index f71c9c2ccea..29014c4ade7 100644
--- a/Master/texmf-dist/tpm/ltxmisc.tpm
+++ b/Master/texmf-dist/tpm/ltxmisc.tpm
@@ -12,7 +12,7 @@
<TPM:Size>507328</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="507328">
+ <TPM:RunFiles size="509646">
texmf-dist/tex/latex/ltxmisc/2in1.sty
texmf-dist/tex/latex/ltxmisc/3parttable.sty
texmf-dist/tex/latex/ltxmisc/a4wide.sty
@@ -22,6 +22,7 @@ texmf-dist/tex/latex/ltxmisc/acromake.sty
texmf-dist/tex/latex/ltxmisc/advdate.sty
texmf-dist/tex/latex/ltxmisc/anonchap.sty
texmf-dist/tex/latex/ltxmisc/askinclude.sty
+texmf-dist/tex/latex/ltxmisc/authoraftertitle.sty
texmf-dist/tex/latex/ltxmisc/beletter.cls
texmf-dist/tex/latex/ltxmisc/bibcheck.sty
texmf-dist/tex/latex/ltxmisc/block.sty
diff --git a/Master/texmf/lists/ltxmisc b/Master/texmf/lists/ltxmisc
index 7d3b14881e6..0015d9ac1d9 100644
--- a/Master/texmf/lists/ltxmisc
+++ b/Master/texmf/lists/ltxmisc
@@ -9,6 +9,7 @@ texmf-dist/tex/latex/ltxmisc/acromake.sty
texmf-dist/tex/latex/ltxmisc/advdate.sty
texmf-dist/tex/latex/ltxmisc/anonchap.sty
texmf-dist/tex/latex/ltxmisc/askinclude.sty
+texmf-dist/tex/latex/ltxmisc/authoraftertitle.sty
texmf-dist/tex/latex/ltxmisc/beletter.cls
texmf-dist/tex/latex/ltxmisc/bibcheck.sty
texmf-dist/tex/latex/ltxmisc/block.sty