diff options
author | Norbert Preining <norbert@preining.info> | 2025-01-29 03:03:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2025-01-29 03:03:57 +0000 |
commit | a9078ab6d9c5b76d9fae7c384f722a6300ab7cbf (patch) | |
tree | 7f8b44e1cbf3ed5eb63f087cb41948234c143da0 /macros/latex | |
parent | 3a5910d9144e7e475a4a4ce9f55579e564d73ae1 (diff) |
CTAN sync 202501290303
Diffstat (limited to 'macros/latex')
25 files changed, 389 insertions, 238 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/CHANGELOG.md b/macros/latex/contrib/biblatex-contrib/biblatex-lni/CHANGELOG.md index 5cb8215bc4..2a77e57b8e 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lni/CHANGELOG.md +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. The markdown syntax is inspired by the conventions proposed by [keepachangelog.com](https://keepachangelog.com/). +## [v0.7] - 2025-01-27 + +### Changed + +* Change `maxcitenames` and `maxbibnames` to 3 +* Change bibstring `urlseen` to `visited on\addspace` +* Suppress ISBN and doi +* Remove `URL` output + ## [v0.6] - 2023-11-09 ### Changed @@ -53,9 +62,11 @@ The markdown syntax is inspired by the conventions proposed by [keepachangelog.c Initial release. [v0.1]: https://github.com/gi-ev/biblatex-lni/tree/v0.1 -[v0.2]: https://github.com/latextemplates/biblatex-lni/compare/v0.1...v0.2 -[v0.3]: https://github.com/latextemplates/biblatex-lni/compare/v0.2...v0.3 -[v0.4]: https://github.com/latextemplates/biblatex-lni/compare/v0.3...v0.4 -[v0.5]: https://github.com/latextemplates/biblatex-lni/compare/v0.4...v0.5 -[v0.6]: https://github.com/latextemplates/biblatex-lni/compare/v0.5...v0.6 -[Unreleased]: https://github.com/latextemplates/biblatex-lni/compare/v0.6...HEAD +[v0.2]: https://github.com/gi-ev/biblatex-lni/compare/v0.1...v0.2 +[v0.3]: https://github.com/gi-ev/biblatex-lni/compare/v0.2...v0.3 +[v0.4]: https://github.com/gi-ev/biblatex-lni/compare/v0.3...v0.4 +[v0.5]: https://github.com/gi-ev/biblatex-lni/compare/v0.4...v0.5 +[v0.6]: https://github.com/gi-ev/biblatex-lni/compare/v0.5...v0.6 +[v0.7]: https://github.com/gi-ev/biblatex-lni/compare/v0.6...v0.7 + +<!-- markdownlint-disable-file MD013 MD024 CHANGELOG-RULE-003 --> diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI-english.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI-english.lbx index 4d740550ac..f13b29f1f1 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI-english.lbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI-english.lbx @@ -1,6 +1,6 @@ % LNI --% % -% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp +% Copyright (c) 2016-2025 Lukas C. Bossert, Georg Duffner, Oliver Kopp % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -16,6 +16,7 @@ \DeclareBibliographyStrings{% inherit = {english}, - in = {{In}{In}} + in = {{In}{In}}, + urlseen = {{accessed\addcolon}{accessed\addcolon}} } \endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.bbx index fce3e0e8d1..f91e77af49 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.bbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.bbx @@ -1,6 +1,6 @@ % LNI --% % -% Copyright (c) 2016-2023 Lukas C. Bossert, Georg Duffner, Oliver Kopp +% Copyright (c) 2016-2025 Lukas C. Bossert, Georg Duffner, Oliver Kopp % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -9,8 +9,8 @@ % 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. -\def\LNI@date{2023-11-09} -\def\LNI@version{0.6} +\def\LNI@date{2025-01-27} +\def\LNI@version{0.7} \def\LNI@bbxid{\LNI@date\space v\LNI@version\space biblatex-LNI bibliography style (LCB/GD/OK)} \def\LNI@cbxid{\LNI@date\space v\LNI@version\space biblatex-LNI citation style (LCB/GD/OK)} \def\LNI@lbxid{\LNI@date\space v\LNI@version\space biblatex-LNI localization (LCB/GD/OK)} @@ -38,12 +38,12 @@ sortcites = true, giveninits = true, useprefix = true, - maxbibnames = 99, - maxcitenames = 2, + maxbibnames = 3, + maxcitenames = 3, eprint = true, url = true, - doi = true, - isbn = true, + doi = false, + isbn = false, backref = false, date = year, } @@ -400,6 +400,16 @@ \DeclareFieldFormat*{booktitle}{#1} \DeclareFieldFormat*{journaltitle}{#1} \DeclareFieldFormat*{title}{#1} + +\DeclareFieldFormat{doi}{% + DOI\addcolon\space + \ifhyperref + {\href{https://doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} +\DeclareFieldFormat{isbn}{ISBN\addcolon\space #1} +\DeclareFieldFormat{isrn}{ISRN\addcolon\space #1} +\DeclareFieldFormat{issn}{ISSN\addcolon\space #1} \DeclareFieldFormat{urldate}{\addcomma\addspace \bibstring{urlseen}\addcolon\addspace#1} +\DeclareFieldFormat{url}{\url{#1}} \endinput %% End of file `LNI.bbx'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-lni/README.md index e1a19dee70..ae12329377 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lni/README.md +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/README.md @@ -51,7 +51,7 @@ This site also allows for filing issues in case something strange is encountered ## License -Copyright (c) 2016-2023 Lukas C. Bossert, Georg Duffner, Oliver Kopp +Copyright (c) 2016-2025 Lukas C. Bossert, Georg Duffner, Oliver Kopp This work has the LPPL maintenance status _maintained_. The current maintainer of this work is Oliver Kopp. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-de.tex b/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-de.tex index fa1d63b0ee..56e19c121a 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-de.tex +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-de.tex @@ -2,7 +2,7 @@ \bibliography{LNI-examples.bib} \begin{document} \title{Titel} -\author{Vorname Nachname} +\author{Vorname Nachname}{}{} \maketitle \begin{abstract} Text diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-en.tex b/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-en.tex index ae449ffcaf..d94406ee9a 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-en.tex +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/mwe-en.tex @@ -4,7 +4,7 @@ \bibliography{LNI-examples.bib} \begin{document} \title{Title} -\author{Firstname Lastname} +\author{Firstname Lastname}{}{} \maketitle \begin{abstract} Text diff --git a/macros/latex/contrib/lwarp/README.txt b/macros/latex/contrib/lwarp/README.txt index 2b941aad2f..16ca9256b1 100644 --- a/macros/latex/contrib/lwarp/README.txt +++ b/macros/latex/contrib/lwarp/README.txt @@ -1,5 +1,5 @@ -LaTeX lwarp package v0.917 README.txt +LaTeX lwarp package v0.918 README.txt Files included are: diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx index 5f9f8fc1a5..6e67f6a02a 100644 --- a/macros/latex/contrib/lwarp/lwarp.dtx +++ b/macros/latex/contrib/lwarp/lwarp.dtx @@ -16,7 +16,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{lwarp} -%<package> [2025/01/12 v0.917 Allows LaTeX to directly produce HTML5 output.] +%<package> [2025/01/28 v0.918 Allows LaTeX to directly produce HTML5 output.] %% %<*driver> \documentclass{ltxdoc} @@ -1681,6 +1681,7 @@ from the \pkg{hyperref} package: \env{warpprint} to isolate a version for each mode. \item \cs{DeclarePairedDelimiter} and related must be in the preamble before \linebreak \texttt{\cs{begin}\{document\}}. + \item \cs{MakeAboxedCommand} uses \cs{Aboxed} for all commands made. \end{itemize} } @@ -3444,6 +3445,7 @@ This boolean may be tested by the user for later use. % \changes{v0.915}{2024/02/05}{\ 2024/02/05} % \changes{v0.916}{2024/02/22}{\ 2024/02/22} % \changes{v0.917}{2025/01/12}{\ 2025/01/12} +% \changes{v0.918}{2025/01/28}{\ 2025/01/28} % \GetFileInfo{lwarp.sty} @@ -3680,6 +3682,12 @@ This boolean may be tested by the user for later use. % see the end of the Change History on page \pageref{sec:changesend}. % % \begin{description} +% \item[v0.918:] Package updates. +% \begin{itemize} +% \item Added an automatic vertical scroll bar to the sidetoc. +% \item Updated \pkg{mathtools}, \pkg{mismath}, \pkg{siunitx}. +% \end{itemize} +% \needspace{2\baselineskip} % \item[v0.917:] Improved \attribute{alt} tags. % \begin{itemize} % \item \newlabelsystem @@ -18529,6 +18537,7 @@ This boolean may be tested by the user for later use. % \changes{v0.903}{2022/01/02}{\filenm{lwarp.css}: Improved pars in lists.} % \changes{v0.913}{2023/09/27}{\filenm{lwarp.css}: Improved \pkg{fancyvrb}.} % \changes{v0.913}{2023/09/27}{\filenm{lwarp.css}: Added complex number i,j format.} +% \changes{v0.918}{2025/01/27}{\filenm{lwarp.css}: Added vert scroll bar for sidetoc.} % % ^^A *lwarp.css % @@ -18542,6 +18551,86 @@ This boolean may be tested by the user for later use. */ + + +/* Page layout */ + +div.sidetoccontainer { + font-family: "DejaVu Serif", "Bitstream Vera Serif", + "Lucida Bright", Georgia, serif; + float: left ; + width: 19%; /* room for border-right next to 80% main */ + margin: 0pt 0em 3ex 0pt ; + border-right: 1px solid silver; + border-bottom: 1px solid silver; + background: #FAF7F4 ; + font-size:.9em ; + border-radius: 0px 0px 20px 0px ; + max-height: 100vh ; + overflow-y: auto ; +} + +div.sidetoccontents { + overflow-y: auto ; + width: 100% ; + text-align: left ; +} + + +nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ; + text-indent: 0 ; } + +nav.sidetoc p a {color:black ; font-size: .7em ;} + +div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center; + border-bottom: 1px solid silver ; } + +nav.sidetoc a:hover {text-decoration: underline ; } + + +nav.topnavigation{ + text-align: left ; + padding: 0.5ex 1em 0.5ex 1em ; +/* margin: 2ex 0em 3ex 0em ; */ + margin: 0 ; + border-bottom: 1px solid silver ; + border-top: 1px solid silver ; + clear:both ; +} + +nav.botnavigation{ + text-align: left ; + padding: 0.5ex 1em 0.5ex 1em ; +/* margin: 3ex 0em 2ex 0em ; */ + margin: 0 ; + border-top: 1px solid silver ; + border-bottom: 1px solid silver ; + clear:both ; +} + + +header { + line-height: 1.2 ; + font-size: 1em ; + border-bottom: 1px solid silver ; + margin: 0px ; + padding: 2ex 1em 2ex 1em ; + text-align:left ; +} + + +footer { + font-size: .85em ; + line-height: 1.2 ; + margin-top: 1ex ; + border-top: 1px solid silver ; + padding: 2ex 1em 2ex 1em ; + clear:both ; + text-align:left ; +} + + + /* a fix for older browsers: */ header, section, footer, aside, nav, main, article, figure { display: block; } @@ -18586,6 +18675,7 @@ body { line-height: 1.2 ; } + p {margin: 1.5ex 0em 1.5ex 0em ;} table p {margin: .5ex 0em .5ex 0em ;} @@ -19863,47 +19953,6 @@ div.titledate { } -nav.topnavigation{ - text-align: left ; - padding: 0.5ex 1em 0.5ex 1em ; -/* margin: 2ex 0em 3ex 0em ; */ - margin: 0 ; - border-bottom: 1px solid silver ; - border-top: 1px solid silver ; - clear:both ; -} - -nav.botnavigation{ - text-align: left ; - padding: 0.5ex 1em 0.5ex 1em ; -/* margin: 3ex 0em 2ex 0em ; */ - margin: 0 ; - border-top: 1px solid silver ; - border-bottom: 1px solid silver ; - clear:both ; -} - - -header { - line-height: 1.2 ; - font-size: 1em ; - border-bottom: 1px solid silver ; - margin: 0px ; - padding: 2ex 1em 2ex 1em ; - text-align:left ; -} - - -footer { - font-size: .85em ; - line-height: 1.2 ; - margin-top: 1ex ; - border-top: 1px solid silver ; - padding: 2ex 1em 2ex 1em ; - clear:both ; - text-align:left ; -} - /* for \LinkHome, \LinkPrevious, and \LinkNext: */ a.linkhome { font-weight:bold ; font-size: 1em ;} @@ -19923,36 +19972,6 @@ img.lateximage{ } -div.sidetoccontainer { - font-family: "DejaVu Serif", "Bitstream Vera Serif", - "Lucida Bright", Georgia, serif; - float: left ; - width: 19%; /* room for border-right next to 80% main */ - margin: 0pt 0em 3ex 0pt ; - border-right: 1px solid silver; - border-bottom: 1px solid silver; - background: #FAF7F4 ; - font-size:.9em ; - border-radius: 0px 0px 20px 0px ; -} - -div.sidetoccontents { - overflow-y: auto ; - width: 100% ; - text-align: left ; -} - - -nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ; - text-indent: 0 ; } - -nav.sidetoc p a {color:black ; font-size: .7em ;} - -div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center; - border-bottom: 1px solid silver ; } - -nav.sidetoc a:hover {text-decoration: underline ; } - section.textbody { margin: 0ex 1em 0ex 1em ;} @@ -21414,7 +21433,7 @@ MathJax = { -- Copyright 2016-2025 Brian Dunn -printversion = "v0.917" +printversion = "v0.918" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -44997,7 +45016,8 @@ end -- not --version \LWR@mathjaxwarn{mathtools} {See the Lwarp manual regarding the disallowspaces\MessageBreak and showonlyrefs options, the alignat environment,\MessageBreak - and \protect\DeclarePairedDelimiter\space and related% + \protect\DeclarePairedDelimiter\space and related,\MessageBreak + and \cs{MakeAboxedCommand}% } \LWR@mathjaxwarn{mathspec} {Double quotes are removed, even inside \protect\text} @@ -71084,7 +71104,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % \section{mathtools} % \label{sec:mathtools} % -% \credits{Morten Høgholm, Lars Madsen} +% \credits{Morten Høgholm, Lars Madsen, \LaTeX3 project} % % \DescribePackage{mathtools} % \pkg{mathtools} is patched for use by \pkg{lwarp}. @@ -71097,7 +71117,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % \codehtml % % \begin{macrocode} -\LWR@ProvidesPackagePass{mathtools}[2018/01/08] +\LWR@ProvidesPackagePass{mathtools}[2024/10/04] % \end{macrocode} % % \begin{macrocode} @@ -71146,12 +71166,27 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % \changes{v0.891}{2020/09/19}{\pkg{mathtools}: Improved \cs{underbraket}, \cs{overbracket}.} % \changes{v0.901}{2021/08/26}{\pkg{mathtools}: Uses \MathJax\ 3.2 package.} % \changes{v0.915}{2024/02/05}{\pkg{mathtools}: Added newline to \cs{newgathered} \MathJax\ customization.} +% \changes{v0.918}{2025/01/27}{\pkg{mathtools}: Added long arrows, \cs{MakeAboxedCommand}, colons.} % \begin{macrocode} \begin{warpMathJax} \CustomizeMathJax{\require{mathtools}} \LWR@infoprocessingmathjax{mathtools} +\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}} + +\CustomizeMathJax{\newcommand{\approxcolon}{\approx\vcentcolon}} +\CustomizeMathJax{\newcommand{\Approxcolon}{\approx\dblcolon}} + +\CustomizeMathJax{\newcommand{\simcolon}{\sim\vcentcolon}} +\CustomizeMathJax{\newcommand{\Simcolon}{\sim\dblcolon}} + +\CustomizeMathJax{\newcommand{\dashcolon}{\mathrel{-}\vcentcolon}} +\CustomizeMathJax{\newcommand{\Dashcolon}{\mathrel{-}\dblcolon}} + +\CustomizeMathJax{\newcommand{\colondash}{\vcentcolon\mathrel{-}}} +\CustomizeMathJax{\newcommand{\Colondash}{\dblcolon\mathrel{-}}} + \CustomizeMathJax{\newenvironment{crampedsubarray}[1]{}{}} \CustomizeMathJax{\newcommand{\smashoperator}[2][]{#2\limits}} @@ -71161,6 +71196,10 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \CustomizeMathJax{\newcommand{\LaTeXunderbrace}[1]{\underbrace{#1}}} \CustomizeMathJax{\newcommand{\LaTeXoverbrace}[1]{\overbrace{#1}}} +\CustomizeMathJax{\Newextarrow\xLongleftarrow{10,10}{0x21D0}} +\CustomizeMathJax{\Newextarrow\xLongrightarrow{10,10}{0x21D2}} +\CustomizeMathJax{\let\xlongleftarrow\xleftarrow} +\CustomizeMathJax{\let\xlongrightarrow\xrightarrow} \CustomizeMathJax{\newcommand{\LWRmultlined}[1][]{\begin{multline*}}} \CustomizeMathJax{\newenvironment{multlined}[1][]{\LWRmultlined}{\end{multline*}}} @@ -71277,8 +71316,6 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \@onlypreamble\DeclareParedDelimiterXPP \@onlypreamble\DeclareParedDelimiterX -\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}} - \LetLtxMacro\LWR@mathtools@orig@newgathered\newgathered \renewcommand{\newgathered}[4]{% \LWR@mathtools@orig@newgathered{#1}{#2}{#3}{#4}% @@ -71290,6 +71327,19 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} } \@onlypreamble\newgathered + +\LetLtxMacro\LWR@mathtools@MakeAboxedCommand\MakeAboxedCommand +\renewcommand{\MakeAboxedCommand}[2]{% + \LWR@mathtools@MakeAboxedCommand{#1}{#2}% + \appto\LWR@customizedMathJax{\LWRbackslash(} + \appto\LWR@customizedMathJax{% + \LWRbackslash{}let% + \LWRbackslash\macrotocsname{#1}% + \LWRbackslash{}Aboxed% + }% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% +} + \end{warpMathJax} % \end{macrocode} % @@ -73156,11 +73206,12 @@ background: % \changes{v0.89}{2020/09/02}{\pkg{mismath}: Improved math operators.} % \changes{v0.909}{2022/11/21}{\pkg{mismath}: Updated to v2.0.} % \changes{v0.911}{2023/01/03}{\pkg{mismath}: Updated to v2.5.} +% \changes{v0.918}{2025/01/27}{\pkg{mismath}: Updated to v3.1.} % % \codehtml % % \begin{macrocode} -\LWR@ProvidesPackagePass{mismath}[2023/02/24] +\LWR@ProvidesPackagePass{mismath}[2024/06/16] % \end{macrocode} % % For \MathJax, used in the \HTML\ comment before the environment. @@ -73195,6 +73246,8 @@ background: } \begin{warpMathJax} +\CustomizeMathJax{\require{upgreek}}% for \Updelta + \CustomizeMathJax{\newcommand{\mathup}[1]{\mathrm{#1}}} \CustomizeMathJax{\newcommand{\e}{\mathrm{e}}} \CustomizeMathJax{\newcommand{\i}{\mathrm{i}}} @@ -73213,6 +73266,10 @@ background: } \CustomizeMathJax{\newcommand{\di}{\mathop{}\!\mathrm{d}}} +\CustomizeMathJax{\newcommand{\upDelta}{\Updelta}} +\CustomizeMathJax{\newcommand{\opDelta}{\Updelta}} +\CustomizeMathJax{\newcommand{\opdelta}{\updelta}} + \CustomizeMathJax{\newcommand{\P}{\operatorname{\probastyle{P}}}} \CustomizeMathJax{\newcommand{\E}{\operatorname{\probastyle{E}}}} \CustomizeMathJax{\newcommand{\V}{\operatorname{\probastyle{V}}}} @@ -82979,6 +83036,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \changes{v0.904}{2022/02/19}{\pkg{siunitx}: Added v3.} % \changes{v0.913}{2023/11/24}{\pkg{siunitx}: Updated to v3.3.9.} % \changes{v0.917}{2024/08/24}{\pkg{siunitx}: Updated to v3.4.0.}% +% \changes{v0.918}{2025/01/26}{\pkg{siunitx}: Updated to v3.4.4.}% % \codehtml % % \begin{macrocode} @@ -82991,7 +83049,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', \RequirePackage{xcolor}% for \convertcolorspec -\LWR@ProvidesPackagePass{siunitx}[2024-12-06] +\LWR@ProvidesPackagePass{siunitx}[2025-01-21] \ExplSyntaxOn % \end{macrocode} @@ -83235,110 +83293,136 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \end{macrocode} % % -% \marg{1: deg/min/sec character} +% +% \marg{1: decimal part of angle} % \marg{2: ?} -% \marg{3: ?} -% \marg{4: integer part of angle} -% \marg{5: decimal point character} -% \marg{6: decimal part of angle} -% \marg{7: ?} -% \marg{8: ?} +% \marg{3: integer part of angle} +% \marg{4: decimal point char} +% \marg{5: deg/min/sec char} % -% If not in a \env{lateximage}, print a simplified verison -% without the box measurement things which conflict with \pkg{lwarp}: % \begin{macrocode} -\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxii:nw} - {7CEE155CD4C7A9CDFEAE3AF8DD154B03} - -\cs_set_protected:Npn \__siunitx_angle_arc_print_auxii:nw - #1#2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil #8 \q_stop +\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxiv:nnnnn}% + {BA9FCDF6D4868323669F0F8C61412508} +\cs_set_protected:Npn \__siunitx_angle_arc_print_auxiv:nnnnn #1#2#3#4#5 { \mode_if_math:TF { \bool_set_true:N \l__siunitx_angle_tmp_bool } { \bool_set_false:N \l__siunitx_angle_tmp_bool } - \siunitx_print_number:n {#2#3#4} + \siunitx_print_number:n {#3} \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% lwarp - {% lwarp - \tl_if_blank:nTF {#6} - { \__siunitx_angle_arc_print_auxvi:n {#1} } - { - \hbox_set:Nn \l__siunitx_angle_marker_box - { - \__siunitx_angle_arc_print_auxiii:n - { \siunitx_print_number:n {#5} } - } - \hbox_set:Nn \l__siunitx_angle_unit_box - { - \__siunitx_angle_arc_print_auxiii:n - { - \siunitx_unit_format:nN {#1} \l__siunitx_angle_tmp_tl - \siunitx_print_unit:V \l__siunitx_angle_tmp_tl - \skip_horizontal:n { -\scriptspace } - } - } - \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } > - { \box_wd:N \l__siunitx_angle_unit_box } - { - \__siunitx_angle_arc_print_auxiv:NN - \l__siunitx_angle_marker_box - \l__siunitx_angle_unit_box - } - { - \__siunitx_angle_arc_print_auxiv:NN - \l__siunitx_angle_unit_box - \l__siunitx_angle_marker_box - } - \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box - \l__siunitx_angle_tmp_dim - { - \hbox_overlap_right:n - { \box_use_drop:N \l__siunitx_angle_marker_box } - \hbox_overlap_right:n - { \box_use_drop:N \l__siunitx_angle_unit_box } - \tex_hfil:D - } - \box_use:N \l__siunitx_angle_marker_box - \skip_horizontal:N \scriptspace - \siunitx_print_number:n {#6} - } - }% + {% lwarp: lateximage + \tl_if_blank:nTF {#1}% decimal part of angle + { + \siunitx_print_number:n {#2}% + \__siunitx_angle_arc_print_auxix:n {#5}% deg/min/sec char + } + { + \hbox_set:Nn \l__siunitx_angle_marker_box + { + \__siunitx_angle_arc_print_auxv:n + { \siunitx_print_number:n {#4} }% decimal point char + } + \hbox_set:Nn \l__siunitx_angle_unit_box + { + \__siunitx_angle_arc_print_auxv:n + { + \siunitx_unit_format:nN {#5} \l__siunitx_angle_tmp_tl% deg/min/sec char + \siunitx_print_unit:V \l__siunitx_angle_tmp_tl + \skip_horizontal:n { -\scriptspace } + } + } + \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } > + { \box_wd:N \l__siunitx_angle_unit_box } + { + \__siunitx_angle_arc_print_auxvi:NN + \l__siunitx_angle_marker_box + \l__siunitx_angle_unit_box + } + { + \__siunitx_angle_arc_print_auxvi:NN + \l__siunitx_angle_unit_box + \l__siunitx_angle_marker_box + } + \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box + \l__siunitx_angle_tmp_dim + { + \hbox_overlap_right:n + { \box_use_drop:N \l__siunitx_angle_marker_box } + \hbox_overlap_right:n + { \box_use_drop:N \l__siunitx_angle_unit_box } + \tex_hfil:D + } + \box_use:N \l__siunitx_angle_marker_box + \skip_horizontal:N \scriptspace + \siunitx_print_number:n {#1#2}% decimal part of angle + } + }% lwarp: latex image % \end{macrocode} % -% \marg{1: deg/min/sec character} +% \marg{1: decimal part of angle} % \marg{2: ?} -% \marg{3: ?} -% \marg{4: integer part of angle} -% \marg{5: decimal point character} -% \marg{6: decimal part of angle} -% \marg{7: ?} -% \marg{8: ?} -% \begin{macrocode} - {% lwarp: not in a lateximage, simplify for HTML - \tl_if_blank:nTF {#6} - { \__siunitx_angle_arc_print_auxvi:n {#1} } - { - \__siunitx_angle_arc_print_auxiii:n - { - \siunitx_print_number:n {#5} - } - \__siunitx_angle_arc_print_auxiii:n - { - \siunitx_unit_format:nN {#1} \l__siunitx_angle_tmp_tl +% \marg{3: integer part of angle} +% \marg{4: decimal point char} +% \marg{5: deg/min/sec char} +% +% \begin{macrocode} + {% lwarp: not latex iamge + \tl_if_blank:nTF {#1}% decimal part of angle + { + \siunitx_print_number:n {#2}% + \__siunitx_angle_arc_print_auxix:n {#5}% deg/min/sec char + } + { +% \hbox_set:Nn \l__siunitx_angle_marker_box +% { + \__siunitx_angle_arc_print_auxv:n + { \siunitx_print_number:n {#4} }% decimal point char +% } +% \hbox_set:Nn \l__siunitx_angle_unit_box +% { + \__siunitx_angle_arc_print_auxv:n + { + \siunitx_unit_format:nN {#5} \l__siunitx_angle_tmp_tl% deg/min/sec char \siunitx_print_unit:V \l__siunitx_angle_tmp_tl - } - \siunitx_print_number:n {#6} - } - }% lwarp +% \skip_horizontal:n { -\scriptspace } + } +% } +% \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } > +% { \box_wd:N \l__siunitx_angle_unit_box } +% { +% \__siunitx_angle_arc_print_auxvi:NN +% \l__siunitx_angle_marker_box +% \l__siunitx_angle_unit_box +% } +% { +% \__siunitx_angle_arc_print_auxvi:NN +% \l__siunitx_angle_unit_box +% \l__siunitx_angle_marker_box +% } +% \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box +% \l__siunitx_angle_tmp_dim +% { +% \hbox_overlap_right:n +% { \box_use_drop:N \l__siunitx_angle_marker_box } +% \hbox_overlap_right:n +% { \box_use_drop:N \l__siunitx_angle_unit_box } +% \tex_hfil:D +% } +% \box_use:N \l__siunitx_angle_marker_box +% \skip_horizontal:N \scriptspace + \siunitx_print_number:n {#1#2}% decimal part of angle + } + }% lwarp: not latex image } % \end{macrocode} % % % \changes{v0.917}{2024/12/31}{\pkg{siunitx}: Angle unit spacing.} % \begin{macrocode} -\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxvi:n} +\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxix:n} {603807F80B4E40084CC07396DBC89FC1} -\cs_set_protected:Npn \__siunitx_angle_arc_print_auxvi:n #1 +\cs_set_protected:Npn \__siunitx_angle_arc_print_auxix:n #1 { \group_begin: \siunitx_unit_options_apply:n {#1} diff --git a/macros/latex/contrib/lwarp/lwarp.pdf b/macros/latex/contrib/lwarp/lwarp.pdf Binary files differindex c5a0d8bd0c..796394e6c4 100644 --- a/macros/latex/contrib/lwarp/lwarp.pdf +++ b/macros/latex/contrib/lwarp/lwarp.pdf diff --git a/macros/latex/contrib/lwarp/lwarpmk.lua b/macros/latex/contrib/lwarp/lwarpmk.lua index c626bec0f9..e7a88df37e 100755 --- a/macros/latex/contrib/lwarp/lwarpmk.lua +++ b/macros/latex/contrib/lwarp/lwarpmk.lua @@ -2,7 +2,7 @@ -- Copyright 2016-2025 Brian Dunn -printversion = "v0.917" +printversion = "v0.918" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () diff --git a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf Binary files differindex 947188a484..3702179651 100644 --- a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf +++ b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex index 86465ef3db..227f2c8450 100644 --- a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex +++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex @@ -3,7 +3,7 @@ % This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class. % -% Version: 1.18, 2025/1/17 +% Version: 1.19, 2025/01/28 % % Author: John H. Lienhard, copyright 2025. Reuse under the MIT license: https://ctan.org/license/mit @@ -11,19 +11,21 @@ %% Don't modify the \DocumentMetadata command unless you know what it does. %% If this command throws an "undefined" error, your latex system is out of date: try commenting this command out. -\DocumentMetadata{ +\DocumentMetadata +{ lang = en-US, pdfversion = 1.7, pdfstandard = a-2b, % pdfstandard = ua-2,% a-4f,% % pdfversion = 2.0, -% debug = {xmp-export}, % creates and xmpi file useful for checking metadata +% debug = {xmp-export}, % note that subject entries are all fine in dc format of outputted xmpi file. } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[twoside]{mitthesis}% fontset=newtx, fontset=libertine, fontset=libertinus, fontset=lmodern, -% fontset=newtx-sans-text, fontset=fira-newtxsf, fontset=heros-stix2, fontset=stix2, fontset=lmodern +% fontset=newtx-sans-text, fontset=fira-newtxsf, fontset=heros-stix2, fontset=stix2, +% fontset=lmodern,fontset=lucida % % option [twoside] gives facing-page behavior for printing; omitting twoside will eliminate even-numbered blank pages. % option [lineno] provides line numbers, as for editing @@ -308,8 +310,8 @@ %%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \appendix -\include{appendixa} -\include{appendixb} +\include{appendixa}% listings example +\include{appendixb}% longtable example %%% Bibliography (biblatex) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex index d3f1911388..97aa6ce4bd 100644 --- a/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex +++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.08, 2025/01/15 +% Version: 1.09, 2025/01/28 % Documentation: https://ctan.org/pkg/mitthesis @@ -98,7 +98,7 @@ Substitution of the particle acceleration and application Stokes theorem leads t $\rho \neq \textrm{fn}(p)$: \begin{align} \frac{d\Gamma}{dt} &{}= \frac{d}{dt} \int_{\mathcal{C}} \mathbf{u} \cdot d\mathbf{r}\\ - &{}= \int_{\mathcal{C}} \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{r} + \underbrace{\int_{\mathcal{C}} \mathbf{u}\cdot d\biggl( \frac{d\mathbf{r}}{dt}\Biggr)}_{=\, 0} \\[-2pt] + &{}= \int_{\mathcal{C}} \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{r} + \underbrace{\int_{\mathcal{C}} \mathbf{u}\cdot d\biggl( \frac{d\mathbf{r}}{dt}\biggr)}_{=\, 0} \\[-2pt] &{}= \iint_{\mathcal{S}} \nabla \times \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{A}\\ &{}= \iint_{\mathcal{S}} \nabla p \times \nabla \left( \frac{1}{\rho}\right) \cdot d\mathbf{A} \end{align} diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/committee_members.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/committee_members.tex index 5c45f026d3..971756cba6 100644 --- a/macros/latex/contrib/mitthesis/MIT-thesis-template/committee_members.tex +++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/committee_members.tex @@ -1,5 +1,5 @@ % Sample thesis committee page for mitthesis.cls -% Version 1.01, 2024/10/08 +% Version 1.02, 2025/01/28 % % This page is not required by the MIT Libraries, but some departments require it. % @@ -33,6 +33,10 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\ExplSyntaxOn % class file includes code for when tagging is not active. +\tag_struct_begin:n {tag=Sect, title=Committee~Members} +\ExplSyntaxOff + \begin{flushright} \CommitteePageTitle{Thesis committee} @@ -67,4 +71,8 @@ \end{flushright} +\ExplSyntaxOn +\tag_struct_end: +\ExplSyntaxOff + \cleardoublepage diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex index 1d9184e973..7a0a4701cf 100644 --- a/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex +++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex @@ -1,7 +1,7 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mydesign.tex}[2024/06/28 v1.04 Typographic design options for thesis] +\ProvidesFile{mydesign.tex}[2025/01/28 v1.05 Typographic design options for thesis] %%%%%%%%%% Color support %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -50,15 +50,18 @@ % % see documentation for details of how to customize headings -\RequirePackage{titlesec} +%\RequirePackage{titlesec} % these titlesec commands just automate the bold math in some headings (rest follows default styles) -\titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection }{1em}{} -\titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{} -\titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} + +%\titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection }{1em}{} +%\titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{} +%\titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} % ==> NOT every font includes a bold math version, so you may need other math macros in the headings to get bold math <== +% mitthesis.cls adds \mathversion{bold} by patching section heading without using titlesec. + %%%%%%%%% Change page margins %%%%%%%%%%%%%%%%%%%%%%%%%%%% % diff --git a/macros/latex/contrib/mitthesis/README.md b/macros/latex/contrib/mitthesis/README.md index 3d7d47f6bd..92ba4330fd 100644 --- a/macros/latex/contrib/mitthesis/README.md +++ b/macros/latex/contrib/mitthesis/README.md @@ -1,7 +1,7 @@ #mitthesis --- A LaTeX template for an MIT thesis# - v1.18 dated 2025/1/17 + v1.19 dated 2025/01/28 ####Overview#### This class provides a LaTeX template to format an MIT thesis according to @@ -56,6 +56,13 @@ ####Change log#### + v1.19 (28 January 2025) + - stop default loading of titlesec package, and \\mathversion{bold} with \\patchcmd instead, to preserve tags + - add temporary patches (tagging related) for caption with lof/lot and for large delimiters in some fonts + - further adjustments to tagging code (passim) + - fix minor bug in chapter1.tex + - edit documentation + v1.18 (17 January 2025) - remove “In:” from references to journal papers - edits to title and abstract macros to better accommodate tagged pdf diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf Binary files differindex 4d0415b637..9d487461ae 100644 --- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf +++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex index 925bd44f87..ca3a11a39d 100644 --- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex +++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex @@ -1,7 +1,7 @@ % !TEX TS-program = lualatex % !TEX encoding = UTF-8 Unicode -% Version date: 2 November 2024 +% Version date: 28 January 2025 \DocumentMetadata { @@ -224,7 +224,7 @@ The template works with either \pdfTeX\ or unicode engines such as \LuaLaTeX. W \subsection{PDF/A compliance} PDF/A-2b compliance is automatic if \verb|\DocumentMetadata{pdfstandard = a-2b, pdfversion=1.7}| is issued before the \verb|\documentclass{..}| command and \textit{provided that your graphics are also compliant}. This command was added to \LaTeX\ in June 2022. For older versions of \LaTeX, PDF/A compliance requires post-processing (for example, by using the PreFlight function of Adobe Acrobat). -Current \LaTeX\ development (ca.~2024) is working toward fully \textit{accessible} PDF/A. \LaTeX\ already supports the PDF 2.0 standard, and PDF tagging is under development. Depending upon the packages loaded, the \LuaLaTeX\ engine can produce ``well-tagged pdf'': PDF/UA-2 or PDF/A-4f. More \LaTeX\ packages will be rolled forward over time. Note that compliance (e.g., PDF/A-2u) can depend on your fonts and figures. +Current \LaTeX\ development (ca.~2025) is working toward fully \textit{accessible} PDF/A. \LaTeX\ already supports the PDF 2.0 standard, and PDF tagging is under development. Depending upon the packages loaded, the \LuaLaTeX\ engine can produce ``well-tagged pdf'': PDF/UA-2 or PDF/A-4F. More \LaTeX\ packages will be rolled forward over time. Note that compliance can depend on your fonts and figures (e.g., for PDF/UA-2). \section{SETTING UP TITLE PAGE, ABSTRACT, AND BIBLIOGRAPHY} @@ -439,7 +439,7 @@ lineno & loaded if class option is given & keyvalue \texttt{lineno} will give \midrule caption & also loaded by \texttt{mydesign.tex} & support for caption styling \\ subcaption & also loaded by \texttt{mydesign.tex} & support for subfigures within figures \\ -titlesec & also loaded by \texttt{mydesign.tex} & support for styling section headings \\ +%titlesec & also loaded by \texttt{mydesign.tex} & support for styling section headings \\ xcolor & also loaded by \texttt{mydesign.tex} & support for colors, including colored fonts \\[0.7em] array & --- & additional options for formatting table columns \\ booktabs & --- & better quality tables, with additional commands \\ diff --git a/macros/latex/contrib/mitthesis/mitthesis.cls b/macros/latex/contrib/mitthesis/mitthesis.cls index f0bfeb7cfe..bd006c1c51 100644 --- a/macros/latex/contrib/mitthesis/mitthesis.cls +++ b/macros/latex/contrib/mitthesis/mitthesis.cls @@ -7,8 +7,8 @@ %% MIT Libraries' requirements as of 2025. %% %% This file's version and date: - \def\versionno{1.18} - \def\versiondate{2025/01/17\space} + \def\versionno{1.19} + \def\versiondate{2025/01/28\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -213,17 +213,40 @@ }% \else \RequirePackage[dvipsnames,svgnames,x11names]{xcolor} -% + \RequirePackage{caption,subcaption} -% - \RequirePackage{titlesec} - % these titlesec commands just automate the bold math in some headings (rest follows default styles) + + % Patch headings to automatically use bold math. Removed titlesec 2025/01/27 % NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <== % Predefined fontsets for which bold math exists are: CMR, Fira, Libertinus, Lucida, Newtx - \titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection}{1em}{} - \titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{} - \titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} -% + \patchcmd{\section}{\normalfont}{\mathversion{bold}\normalfont}{}{} + \patchcmd{\subsection}{\normalfont}{\mathversion{bold}\normalfont}{}{} + \patchcmd{\subsubsection}{\normalfont}{\mathversion{bold}\normalfont}{}{} + \patchcmd{\paragraph}{\normalfont}{\mathversion{bold}\normalfont}{}{} + \patchcmd{\subparagraph}{\normalfont}{\mathversion{bold}\normalfont}{}{} + + \ExplSyntaxOn + % temporary patch for lof/lot issue, will drop eventually, 2025/01/28 + \cs_if_exist:NT \tag_struct_end:n { + \AtBeginDocument{ + \renewcommand*\caption@anchor[1]{% + \ifmeasuring@ \else + \caption@raisedlink{\MakeLinkTarget*{#1}}% + \fi}% + } + % temporary patch to fix tagging bug with large delimiters in some fonts, drop when resolved, 2025/01/28 + \AtBeginDocument{ + \cs_set:Npn \bBigg@ #1 #2 { + { + \ensuremath { + \Uvextensible height~#1~ \dimexpr0.5\big@size\relax ~ depth ~#1~ \dimexpr0.5\big@size\relax~ axis~exact~#2 + } + } + } + } + } + \ExplSyntaxOff + \AtBeginDocument{ \hypersetup{ linkcolor=Blue3,% color names from xcolor package @@ -997,7 +1020,7 @@ \setlength{\parskip}{7.5pt plus 1pt minus 1pt}% edited all vertical space on this page 2023/10/25 \setlength{\parindent}{0pt}\pdfbookmark[0]{Title\ page}{titlepage} { - \tag_struct_begin:n{tag=Title} + \tag_struct_begin:n{tag=Title, title=Title} \Large\textbf{\g_mitthesis_title_tl} %\phantomsection\addcontentsline{toc}{chapter}{Title\ page} \par diff --git a/macros/latex/contrib/principia/List-of-Definitions.pdf b/macros/latex/contrib/principia/List-of-Definitions.pdf Binary files differindex 2d555fb450..ed1d8a01fa 100644 --- a/macros/latex/contrib/principia/List-of-Definitions.pdf +++ b/macros/latex/contrib/principia/List-of-Definitions.pdf diff --git a/macros/latex/contrib/principia/List-of-Definitions.tex b/macros/latex/contrib/principia/List-of-Definitions.tex index 9f55a436dc..5929aff3c5 100644 --- a/macros/latex/contrib/principia/List-of-Definitions.tex +++ b/macros/latex/contrib/principia/List-of-Definitions.tex @@ -1,6 +1,6 @@ \documentclass[12pt,openany,leqno,twocolumn]{book} %Licensed under LaTeX Project Public License 1.3c. -%This is a list of definitions for use with the principia package, Version 2.0. +%This is a list of definitions for use with the principia package, Version 3.1. %Copyright Landon D. C. Elkind, 2021 (https://landonelkind.com/contact/). \usepackage{newtxtext} @@ -207,10 +207,10 @@ \newcommand{\pmopc}[2]{#1 \mathop{\underset{\textbf{''}}{\text{\Female}}} #2} %38.03 %Products and sums of classes of classes or relations -\newcommand{\pmccsum}[1]{p\textbf{`}#1} %40.01 -\newcommand{\pmccprd}[1]{s\textbf{`}#1} %40.02 -\newcommand{\pmcrsum}[1]{\pmcirc{p}\textbf{`}#1} %41.01 -\newcommand{\pmcrprd}[1]{\pmcirc{s}\textbf{`}#1} %41.02 +\newcommand{\pmccprd}[1]{p\textbf{`}#1} %40.01 +\newcommand{\pmccsum}[1]{s\textbf{`}#1} %40.02 +\newcommand{\pmcrprd}[1]{\pmcirc{p}\textbf{`}#1} %41.01 +\newcommand{\pmcrsum}[1]{\pmcirc{s}\textbf{`}#1} %41.02 \newcommand{\pmrprdd}[2]{{#1}\mathop{||}{#2}} %43.01 \newcommand{\pmRprdd}{\mathop{||}} @@ -820,10 +820,10 @@ $\pmast37\pmcdot05$. & $\pmdscfe{R}{\beta}$ \\ $\pmast38\pmcdot01$. & $x \pmop$ \\ $\pmast38\pmcdot02$. & $\pmop y$ \\ $\pmast38\pmcdot03$. & $\pmopc{\alpha}{y}$\\ -$\pmast40\pmcdot01$. & $\pmccsum{\kappa}$ \\ -$\pmast40\pmcdot02$. & $\pmccprd{\kappa}$ \\ -$\pmast41\pmcdot01$. & $\pmcrsum{\lambda}$ \\ -$\pmast41\pmcdot02$. & $\pmcrprd{\lambda}$ \\ +$\pmast40\pmcdot01$. & $\pmccprd{\kappa}$ \\ +$\pmast40\pmcdot02$. & $\pmccsum{\kappa}$ \\ +$\pmast41\pmcdot01$. & $\pmcrprd{\lambda}$ \\ +$\pmast41\pmcdot02$. & $\pmcrsum{\lambda}$ \\ $\pmast43\pmcdot01$. & $\pmrprdd{R}{S}$ \\ $\pmast50\pmcdot01$. & $\pmrid$ \\ $\pmast50\pmcdot02$. & $\pmrdiv$ \\ diff --git a/macros/latex/contrib/principia/README b/macros/latex/contrib/principia/README index 40a4a67cca..56c1d7f546 100644 --- a/macros/latex/contrib/principia/README +++ b/macros/latex/contrib/principia/README @@ -1,8 +1,8 @@ principia.sty - a LaTeX2e package for typesetting the "Peanese" notation of Whitehead and Russell's 1910 "Principia Mathematica". -The file principia.sty is the original work of Landon D. C. Elkind (Copyright (c) 2024). It is released under the LaTeX Project Public License 1.3c. +The file principia.sty is the original work of Landon D. C. Elkind (Copyright (c) 2025). It is released under the LaTeX Project Public License 1.3c. -This is principia package Version 3.0 (2024/12/16). This version covers typesetting the notations through Volumes I-III of "Principia Mathematica" and includes some commands to facilitate typesetting the appendices to Volume I and fixes (especially to square dots). See the file principia.pdf for information on these changes and for further information on how to typeset Peanese symbols in LaTeX with the principia package. +This is principia package Version 3.1 (2025/01/28). This version covers typesetting the notations through Volumes I-III of "Principia Mathematica" and includes some commands to facilitate typesetting the appendices to Volume I and fixes (especially to square dots). See the file principia.pdf for information on these changes and for further information on how to typeset Peanese symbols in LaTeX with the principia package. Changes between version updates can be found at https://logicalatomist.github.io/principia/ diff --git a/macros/latex/contrib/principia/principia.pdf b/macros/latex/contrib/principia/principia.pdf Binary files differindex 901cc31032..8d9574e96f 100644 --- a/macros/latex/contrib/principia/principia.pdf +++ b/macros/latex/contrib/principia/principia.pdf diff --git a/macros/latex/contrib/principia/principia.sty b/macros/latex/contrib/principia/principia.sty index 587700f3ed..17eaf05762 100644 --- a/macros/latex/contrib/principia/principia.sty +++ b/macros/latex/contrib/principia/principia.sty @@ -1,12 +1,13 @@ %Package Identification \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{principia}[2024/12/16 principia package version 3.0] %This is the principia package is for representing notations in Whitehead and Russell's ``Principia Mathematica" close to their appearance in the original. +\ProvidesPackage{principia}[2025/01/28 principia package version 3.1] %This is the principia package is for representing notations in Whitehead and Russell's ``Principia Mathematica" close to their appearance in the original. %Version 1.0 (superseded by Version 1.1): Covers typesetting of notation through Volume I. 2020/10/24 %Version 1.1 (superseded by Version 1.2) minor updates: fixed the spacing of scope dots around parentheses; fixed spacing of theorem sign; fixed spacing around primitive proposition and definition signs. 2020/10/25 %Licensed under LaTeX Project Public License 1.3c. %Version 1.2 (superseded by Version 2.0) (minor updates): boldfaced (`thickened') the truth-functional connectives, existential quantifier, set and relation symbols; added numerous commands for typesetting brackets and substitutions into theorems. 2021/02/25 %Version 2.0 (major update): extends the package to cover typesetting of all notations in Volumes II and III; removes package dependency on marvosym. 2022/09/04 %Version 3.0 (major update): adds command for typesetting Appendix B; removed boldfacing in \pmcnv command; edited \pmrrf, \pmrrl, \pmhat commands, changes to dot spacing. 2024/12/16 +%Version 3.1 (minor update): fixed notations from *40 and *41 (credit to Stephen Boyce). 2025/01/28 %Licensed under LaTeX Project Public License 1.3c. %Copyright Landon D. C. Elkind, 2024 (https://landonelkind.com/contact/). @@ -199,10 +200,10 @@ \newcommand{\pmopc}[2]{#1 \mathop{\underset{\textbf{''}}{\text{\Female}}} #2} %38.03 %Products and sums of classes of classes or relations -\newcommand{\pmccsum}[1]{p\textbf{`}#1} %40.01 -\newcommand{\pmccprd}[1]{s\textbf{`}#1} %40.02 -\newcommand{\pmcrsum}[1]{\pmcirc{p}\textbf{`}#1} %41.01 -\newcommand{\pmcrprd}[1]{\pmcirc{s}\textbf{`}#1} %41.02 +\newcommand{\pmccprd}[1]{p\textbf{`}#1} %40.01 +\newcommand{\pmccsum}[1]{s\textbf{`}#1} %40.02 +\newcommand{\pmcrprd}[1]{\pmcirc{p}\textbf{`}#1} %41.01 +\newcommand{\pmcrsum}[1]{\pmcirc{s}\textbf{`}#1} %41.02 \newcommand{\pmrprdd}[2]{{#1}\mathop{||}{#2}} %43.01 \newcommand{\pmRprdd}{\mathop{||}} diff --git a/macros/latex/contrib/principia/principia.tex b/macros/latex/contrib/principia/principia.tex index a6602f5e2d..6f9604572e 100644 --- a/macros/latex/contrib/principia/principia.tex +++ b/macros/latex/contrib/principia/principia.tex @@ -1,12 +1,13 @@ \documentclass[12pt]{article} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{principia}[2024/12/16 principia package version 3.0] %This is the principia package is for representing notations in Whitehead and Russell's ``Principia Mathematica" close to their appearance in the original. +\ProvidesPackage{principia}[2025/01/28 principia package version 3.1] %This is the principia package is for representing notations in Whitehead and Russell's ``Principia Mathematica" close to their appearance in the original. %Version 1.0 (superseded by Version 1.1): Covers typesetting of notation through Volume I. 2020/10/24 %Version 1.1 (superseded by Version 1.2) minor updates: fixed the spacing of scope dots around parentheses; fixed spacing of theorem sign; fixed spacing around primitive proposition and definition signs. 2020/10/25 %Licensed under LaTeX Project Public License 1.3c. %Version 1.2 (superseded by Version 2.0) (minor updates): boldfaced (`thickened') the truth-functional connectives, existential quantifier, set and relation symbols; added numerous commands for typesetting brackets and substitutions into theorems. 2021/02/25 %Version 2.0 (major update): extends the package to cover typesetting of all notations in Volumes II and III; removes package dependency on marvosym. 2022/09/04 %Version 3.0 (major update): adds command for typesetting Appendix B; removed boldfacing in \pmcnv command; edited \pmrrf, \pmrrl, \pmhat commands, changes to dot spacing. 2024/12/16 +%Version 3.1 (minor update): fixed issues in *40 and *41 notation (credit to Stephen Boyce for noticing the error). 2025/01/28 %Licensed under LaTeX Project Public License 1.3c. %Copyright Landon D. C. Elkind, 2024 (https://landonelkind.com/contact/). @@ -203,10 +204,10 @@ \newcommand{\pmopc}[2]{#1 \mathop{\underset{\textbf{''}}{\text{\Female}}} #2} %38.03 %Products and sums of classes of classes or relations -\newcommand{\pmccsum}[1]{p\textbf{`}#1} %40.01 -\newcommand{\pmccprd}[1]{s\textbf{`}#1} %40.02 -\newcommand{\pmcrsum}[1]{\pmcirc{p}\textbf{`}#1} %41.01 -\newcommand{\pmcrprd}[1]{\pmcirc{s}\textbf{`}#1} %41.02 +\newcommand{\pmccprd}[1]{p\textbf{`}#1} %40.01 +\newcommand{\pmccsum}[1]{s\textbf{`}#1} %40.02 +\newcommand{\pmcrprd}[1]{\pmcirc{p}\textbf{`}#1} %41.01 +\newcommand{\pmcrsum}[1]{\pmcirc{s}\textbf{`}#1} %41.02 \newcommand{\pmrprdd}[2]{{#1}\mathop{||}{#2}} %43.01 \newcommand{\pmRprdd}{\mathop{||}} @@ -696,9 +697,9 @@ \newcommand{\pmsmltid}[2]{(#1, #2)} %373.03 \newcommand{\pmprrt}[3]{(#1 \rotatebox[origin=c]{10}{$\boldsymbol{/}$} #2)_{#3}} %375.01 -\title{\texttt{principia.sty}\\ A \LaTeXe \space Package for Typesetting Whitehead and Russell's \textit{Principia Mathematica} (Version 3.0)} +\title{\texttt{principia.sty}\\ A \LaTeXe \space Package for Typesetting Whitehead and Russell's \textit{Principia Mathematica} (Version 3.1)} \author{Landon D. C. Elkind \texttt{landon.elkind@wku.edu}} -\date{December 16, 2024} +\date{January 28, 2025} \begin{document} \maketitle @@ -801,10 +802,10 @@ Version 2.0 of \texttt{principia} is adequate to typeset all notations throughou $\pmrl{\alpha}{\beta}$ & \verb|\pmrl{\alpha}{\beta}| & The relation made of all $x$s in $\alpha$ and $y$s in $\beta$. \\ $\pmop$ & \verb|\pmop| & The operation symbol. \\ $\pmopc{\alpha}{y}$ & \verb|\pmopc{\alpha}{y}| & The relation of $x$s in $\alpha$ taken to $y$ by $\pmop$. \\ - $\pmccsum{\alpha}$ & \verb|\pmccsum{\alpha}| & The sum of a class of classes. \\ $\pmccprd{\alpha}$ & \verb|\pmccprd{\alpha}| & The product of a class of classes. \\ - $\pmcrsum{\alpha}$ & \verb|\pmcrsum{\alpha}| & The sum of a class of relations. \\ + $\pmccsum{\alpha}$ & \verb|\pmccsum{\alpha}| & The sum of a class of classes. \\ $\pmcrprd{\alpha}$ & \verb|\pmcrprd{\alpha}| & The product of a class of relations. \\ + $\pmcrsum{\alpha}$ & \verb|\pmcrsum{\alpha}| & The sum of a class of relations. \\ $\pmrid$, $\pmrdiv$ & \verb|\pmrid|, \verb|\pmrdiv| & The relations of identity and diversity. \\ $\pmcunit{x}$, $\pmcUnit$ & \verb|\pmcunit{x}|, \verb|\pmcUnit| & The unit class. \\ $\pmcunits{\alpha}$ & \verb|\pmcunits{\alpha}| & The sum of unit classes of $\alpha$'s elements. \\ |