summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/fonts/ysabeau/README5
-rw-r--r--Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.pdfbin760282 -> 760688 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex13
-rw-r--r--Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty42
4 files changed, 34 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/fonts/ysabeau/README b/Master/texmf-dist/doc/fonts/ysabeau/README
index ba0886a0566..414cc6b016e 100644
--- a/Master/texmf-dist/doc/fonts/ysabeau/README
+++ b/Master/texmf-dist/doc/fonts/ysabeau/README
@@ -51,11 +51,12 @@ This package is maintained by Noel Merino Hernández
muxkernel at gmail dot com
-Current version: 1.4 (2024/11/05)
+Current version: 1.5 (2024/11/06)
History versions:
1.1: Initial release (2024/01/31)
1.2: Add oldstylenums command and update doc (2024/10/22)
-1.3: Remove starred forms of textsuperscript and textsubscript commands (thanks Sebastian Wasiuta)
+1.3: Remove starred forms of textsuperscript and textsubscript commands
1.4: Added some new commands for figures: liningnums, tabularliningnums and tabularoldstylenums. textsuperscript and textsubscript commands were removed (2024/11/05)
+1.5: Restore starred and unstarred forms of textsuperscript and textsubscript commands. This fix repairs footnotemarkers in footnotes (2024/11/06)
diff --git a/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.pdf b/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.pdf
index 16afaea9ac7..0d305d8f20e 100644
--- a/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.pdf
+++ b/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex b/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex
index 9d3c81f4c15..0d224707996 100644
--- a/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex
+++ b/Master/texmf-dist/doc/fonts/ysabeau/ysabeau-doc-en.tex
@@ -51,7 +51,7 @@ factor=1000,stretch=20,shrink=20]{microtype}
% TABLES
\usepackage{longtable,booktabs}
-\usepackage[font=small]{caption}
+\usepackage[font=footnotesize]{caption}
\usepackage{float}
% LISTS
@@ -251,6 +251,11 @@ Command & Declarations & Render as \\
\verb|\textsup{}| & \verb|\supfigures| or \verb|\supstyle| & \textsup{1234567890} \\
\verb|\textsuperior{}| & \verb|\supfigures| or \verb|\supstyle| & \textsuperior{1234567890} \\
\verb|\supscript{}| & \verb|\supfigures| or \verb|\supstyle| & \supscript{1234567890} \\
+\verb|\textsuperscript{}| & {} & \textsuperscript{1234567890} \\
+\verb|\textsuperscript*{}| & {} & \textsuperscript*{1234567890} \\
+
+
+
\bottomrule
\end{tabular}
\end{table}
@@ -293,16 +298,18 @@ Command & Declarations & Render as \\
\verb|\textinf{}| & \verb|\inffigures| or \verb|\infstyle| & \textinf{1234567890} \\
\verb|\textinferior{}| & \verb|\inffigures| or \verb|\infstyle| & \textinferior{1234567890} \\
\verb|\subscript{}| & \verb|\inffigures| or \verb|\infstyle| & \subscript{1234567890} \\
+\verb|\textsubscript{}| & {} & \textsubscript{1234567890} \\
+\verb|\textsubscript*{}| & {} & \textsubscript*{1234567890} \\
\bottomrule
\end{tabular}
\caption*{\textsc{Note:} denominators and inferiors are different: a\textde{1}\textinf{1}b.}
\end{table}
\def\solidus{{\fontencoding{TS1}\selectfont\char47}}
-\section{\texorpdfstring{\protect\textsuperscript{Text}}{Text}\texorpdfstring{\protect\solidus}{\slash}\texorpdfstring{\protect\textsubscript{fractions}}{fractions}}
+\section{\texorpdfstring{\protect\textsuperscript*{Text}}{Text}\texorpdfstring{\protect\solidus}{\slash}\texorpdfstring{\protect\textsubscript*{fractions}}{fractions}}
\label{sec:fractions}
\begin{table}[H]
\centering
-\caption{\protect\textsuperscript{Text}\solidus\protect\textsubscript{fractions}}
+\caption{\protect\textsuperscript*{Text}\solidus\protect\textsubscript*{fractions}}
\begin{tabular}{@{}ll@{}}
\toprule
Command or declaration & Render as \\
diff --git a/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty b/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty
index f5721efeaca..f55bb68a186 100644
--- a/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty
+++ b/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty
@@ -1,15 +1,13 @@
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.4}
-\def\filedate{2024/11/05}
+\def\fileversion{1.5}
+\def\filedate{2024/11/06}
\ProvidesPackage{ysabeau}[\filedate\space v\fileversion\space Ysabeau fonts for LaTeX (NMH).]
% Large portions of code was stolen from Michael Sharpe (cochineal.sty). Credits for him.
\DeclareEncodingSubset{TS1}{Ysabeau-*}{0}
\DeclareEncodingSubset{LGR}{Ysabeau-*}{0}
-%\RequirePackage[QX,L7X,CS,LGR,T5,T4,TS3,T3,T2C,T2B,T2A,LY1,T1]{fontenc} % Default
-\RequirePackage[TS1,T1]{fontenc}
-\RequirePackage[full]{textcomp}
+\RequirePackage{fontenc,textcomp}
\RequirePackage{mweights}
\RequirePackage{xstring,ifthen,scalefnt} % For \textfrac
\RequirePackage{etoolbox} % For new commands
@@ -136,22 +134,18 @@
\@nomath\lfstyle\relax
\fontfamily{Ysabeau-LF}\selectfont %
}% Lining Figures
-\let\liningnums\lfstyle % Added 2024/11/05
\DeclareRobustCommand{\tlfstyle}{%
\@nomath\tlfstyle\relax
\fontfamily{Ysabeau-TLF}\selectfont %
}% Tabular Lining Figures
-\let\tabularliningnums\tlfstyle % Added 2024/11/05
\DeclareRobustCommand{\osfstyle}{%
\@nomath\osfstyle\relax
\fontfamily{Ysabeau-OsF}\selectfont %
}% Oldstyle Figures
-\let\oldstylenums\osfstyle % Added 2024/11/05
\DeclareRobustCommand{\tosfstyle}{%
\@nomath\tosfstyle\relax
\fontfamily{Ysabeau-TOsF}\selectfont %
}% Tabular Oldstyle Figures
-\let\tabularoldstylenums\tosfstyle % Added 2024/11/05
\DeclareRobustCommand{\textlf}[1]{%
{\lfstyle #1}%
}% Lining Figures
@@ -170,6 +164,13 @@
OsF}\fontshape{sc}\selectfont #1}%
}\fi% use OsF in small caps
+% Here we provides some aliases for figure commands
+
+\let\liningnums\lfstyle
+\let\tabularliningnums\tlfstyle
+\let\oldstylenums\osfstyle
+\let\tabularoldstylenums\tosfstyle
+
\IfFileExists{fontaxes.sty}{
\RequirePackage{fontaxes}
\DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax
@@ -185,10 +186,10 @@ OsF}\fontshape{sc}\selectfont #1}%
\DeclareTextFontCommand{\textsup}{\supfigures}
\let\textsu\textsup
\let\textsuperior\textsup
- \let\supstyle\supfigures % Add by me
- \let\supscript\supfigures % Added 2024/11/05
- %\let\@oldtextsuperscript\textsuperscript % clash with some serif fonts
- %\def\textsuperscript{\@ifstar\@oldtextsuperscript\textsup} % clash with some serif fonts
+ \let\supstyle\supfigures
+ \let\supscript\supfigures
+ \let\@oldtextsuperscript\textsuperscript
+ \def\textsuperscript{\@ifstar\@oldtextsuperscript\textsup}
\def\@makefnmark{%
\mbox{\footnotemarkfont\textsuperscript{\@thefnmark}}}
\@ifundefined{ftntm@font}%
@@ -203,10 +204,10 @@ OsF}\fontshape{sc}\selectfont #1}%
\DeclareTextFontCommand{\textinf}{\inffigures}
\let\textin\textinf
\let\textinferior\textinf
- \let\infstyle\inffigures % Add by me
- \let\subscript\inffigures % Added 2024/11/05
- %\let\@oldtextsubscript\textsubscript % clash with some serif fonts
- %\def\textsubscript{\@ifstar\@oldtextsubscript\textinf} % clash with some serif fonts
+ \let\infstyle\inffigures
+ \let\subscript\inffigures
+ \let\@oldtextsubscript\textsubscript
+ \def\textsubscript{\@ifstar\@oldtextsubscript\textinf}
\fa@naming@exception{figures}{{numerators}{proportional}}{Numr}
%\fa@naming@exception{figures}{{numerator}{proportional}}{Numr}
@@ -215,10 +216,9 @@ OsF}\fontshape{sc}\selectfont #1}%
\def\numfigures{\@nomath\numfigures
\fontfigurestyle{numerators}\selectfont}
\let\nufigures\numfigures
- \DeclareTextFontCommand{\textnum}{\numfigures}
- %\let\textnu\textnum % Clash when you use T1 and LGR encodings (babel package). Fix later (from XCharter package)
+ \DeclareTextFontCommand{\textnum}{\numfigures}
\let\textnumerators\textnum
- \let\numstyle\numfigures % Add by me
+ \let\numstyle\numfigures
\fa@naming@exception{figures}{{denominators}{proportional}}{Dnom}
%\fa@naming@exception{figures}{{denominator}{proportional}}{Dnom}
@@ -230,7 +230,7 @@ OsF}\fontshape{sc}\selectfont #1}%
\DeclareTextFontCommand{\textden}{\denfigures}
\let\textde\textden
\let\textdenominators\textden
- \let\denstyle\denfigures % Add by me
+ \let\denstyle\denfigures
}{}