summaryrefslogtreecommitdiff
path: root/fonts/sansmathfonts/sansmathfonts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/sansmathfonts/sansmathfonts.tex')
-rw-r--r--fonts/sansmathfonts/sansmathfonts.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/fonts/sansmathfonts/sansmathfonts.tex b/fonts/sansmathfonts/sansmathfonts.tex
index a565329640..08b721de50 100644
--- a/fonts/sansmathfonts/sansmathfonts.tex
+++ b/fonts/sansmathfonts/sansmathfonts.tex
@@ -1,4 +1,4 @@
-% !TEX TS-program = pdflatex
+% !TEX TS-program = LuaLaTeX
% sansmathfonts.tex
%
@@ -6,11 +6,11 @@
%
% author: Ariel Barton
%
-% Copyright Ariel Barton, 2013--2021
+% Copyright Ariel Barton, 2013--2022
%
% This work 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
+% version 1.3c of this license or (at your option) any
% later version.
% The latest version of the license is in
% http://www.latex-project.org/lppl.txt
@@ -22,13 +22,13 @@
% The complete list of files considered part of this work is in
% the file `sansmathfonts.pdf' and its source code `sansmathfonts.tex'.
%
-% Date: 2021/06/22
+% Date: 2022/10/09
\documentclass{amsart}
\raggedbottom
-\usepackage[T1]{fontenc}
+\usepackage[OT1]{fontenc}
\usepackage[I]{sansmathfonts}
%\renewcommand{\sfdefault}{xcmss}\let\mathserif\mathrm
\usepackage{hyperref, amsfonts, esint, slantsc, bm}
@@ -84,7 +84,7 @@ Feedback is appreciated and may be sent to \texttt{origamist@gmail.com}.
\section{Package options}
\begin{itemize}
-\item \texttt{[I]} The \texttt{[I]} package option puts the serifs back on the capital I even in text mode. This option only works with the OT1 and U font encodings.
+\item \texttt{[I]} The \texttt{[I]} package option puts the serifs back on the capital I even in text mode. This option only works with the OT1 and U font encodings. It will work under \textsf{pdflatex}'s defaults; in Lua\LaTeX\ or Xe\LaTeX, you will need to change the text encoding by saying \texttt{\string\usepackage[OT1]{fontenc}}.
\item \texttt{[onlymath]}, \texttt{[nottext]}. These options provide sans serif math but do not change the text sans serif font.
\item \texttt{[onlytext]}, \texttt{[notmath]}. These options provide sans serif text fonts and improve the behavior of \texttt{\char`\\mathsf} but do not change the default math font from roman to sans serif. You can get a similar effect by not using the \textsf{sansmathfonts} package and using the line \texttt{\char`\\renewcommand\char`\{\char`\\sfdefault\char`\}\char `\{xcmss\char`\}}
or
@@ -517,5 +517,7 @@ April 2019: Fixed a bug in the file \texttt{ucmsmf.fd} that prevented the \textt
June 2019: Rewrote the file \texttt{omxcmssex.fd} to allow the math extended characters to be loaded at arbitrary sizes.
\item
June 2021: Rewrote the OT1, T1, and U font definition files to substitute bold-extended fonts for bold fonts as necessary. Added some package errors and warnings if the document font encoding is not supported.
+\item
+October 2022: Bug fix to allow compatibility with Lua\LaTeX\ and Xe\LaTeX.
\end{itemize}
\end{document} \ No newline at end of file