diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md | 5 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx | 42 | ||||
-rw-r--r-- | macros/latex/contrib/msu-thesis/README.md | 4 | ||||
-rw-r--r-- | macros/latex/contrib/msu-thesis/msu-thesis.cls | 12 | ||||
-rw-r--r-- | macros/latex/contrib/msu-thesis/msu-thesis.pdf | bin | 242346 -> 244271 bytes | |||
-rw-r--r-- | macros/latex/contrib/msu-thesis/msu-thesis.tex | 10 |
6 files changed, 32 insertions, 41 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md index 40cc180f56..a49a43d17a 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md @@ -5,8 +5,7 @@ BibLaTeX style for Springer Lecture Notes in Computer Science ## Introduction -The code works with `biblatex 2.2` and it requires `biber 1.2` as backend. It -extends the standard `BiBTeX` model by an `acronym` entry. +This style extends the standard `BiBTeX` model by an `acronym` entry. ## Usage @@ -26,7 +25,7 @@ For building the included `biblatex-lncs-test.tex` the `llncs` class from the Sp ## License -Copyright (c) 2021 Merlin Göttlinger and contributors +Copyright (c) 2022 Merlin Göttlinger and contributors Forked from <https://github.com/neapel/biblatex-lncs.git>, who forked from <https://github.com/jossco/biblatex-lncs.git>, by Joseph Scott diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx index 14007cc66f..5cf9cb4bc7 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx @@ -1,4 +1,4 @@ -\ProvidesFile{lncs.bbx}[2022/01/17 v0.4] +\ProvidesFile{lncs.bbx}[2022/03/26 v0.5] \RequireBibliographyStyle{numeric} @@ -28,7 +28,7 @@ \DeclareFieldFormat{labelnumberwidth}{#1.} \DeclareFieldFormat{journaltitle}{#1} -\DeclareFieldFormat[article,book,inproceedings,incollection, online,report,thesis]{title}{#1} +\DeclareFieldFormat[article,book,inproceedings,incollection,online,report,thesis,misc]{title}{#1} \DeclareFieldFormat{booktitle}{#1} \DeclareFieldFormat[article]{pages}{#1} \DeclareFieldFormat{year}{(#1)} @@ -126,6 +126,12 @@ \renewcommand{\labelnamepunct}{\addcolon\space} +\newbibmacro{doi}{% + \iftoggle{bbx:doi} + {\printfield{doi}} + {}% +} + \DeclareNameFormat{author}{% \nameparts{#1}% \usebibmacro{name:family-given} @@ -135,7 +141,7 @@ {\namepartsuffix} \ifthenelse{\value{listcount}<\value{liststop}} {\addcomma\space}% - {\ifmorenames{\addcomma\nbspace\bibstring[\emph]{andothers}:}}% + {\ifmorenames{\addcomma~\bibstring[\emph]{andothers}:}{}}% } \DeclareNameFormat{editor}{% @@ -147,7 +153,7 @@ {\namepartsuffix} \ifthenelse{\value{listcount}<\value{liststop}} {\addcomma\space}% - {\ifmorenames{\addcomma\nbspace\bibstring[\emph]{andothers}}\space\ifthenelse{\value{listcount}>1} + {\ifmorenames{\addcomma~\bibstring[\emph]{andothers}}\space\ifthenelse{\value{listcount}>1} {(\bibstring{editors})} {(\bibstring{editor})}}% } @@ -170,9 +176,7 @@ {\usebibmacro{related:init}% \usebibmacro{related}} {}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% + \usebibmacro{doi}% \nopunct% \usebibmacro{finentry}% } @@ -198,9 +202,6 @@ {\usebibmacro{related:init}% \usebibmacro{related}} {}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% \nopunct% \usebibmacro{finentry}% } @@ -252,9 +253,7 @@ {\usebibmacro{related:init}% \usebibmacro{related}} {}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% + \usebibmacro{doi}% \nopunct% \usebibmacro{finentry}% } @@ -291,9 +290,7 @@ {\usebibmacro{related:init}% \usebibmacro{related}} {}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% + \usebibmacro{doi}% \nopunct% \usebibmacro{finentry}% } @@ -344,9 +341,7 @@ {\usebibmacro{related:init}% \usebibmacro{related}} {}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% + \usebibmacro{doi}% \nopunct% \usebibmacro{finentry} } @@ -363,9 +358,7 @@ \printfield{type} \addcomma\newunit \usebibmacro{institution+location+date}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% + \usebibmacro{doi}% \usebibmacro{finentry}% } @@ -399,7 +392,6 @@ \newunit\newblock \usebibmacro{institution+location+date}% %\newunit\newblock - %\usebibmacro{doi+eprint+url}% \newunit\newblock \usebibmacro{addendum+pubstate}% \setunit{\bibpagerefpunct}\newblock @@ -409,9 +401,7 @@ {\usebibmacro{related:init}% \usebibmacro{related}} {}% - \iftoggle{bbx:doi} - {\printfield{doi}} - {}% + \usebibmacro{doi}% \nopunct% \usebibmacro{finentry} } diff --git a/macros/latex/contrib/msu-thesis/README.md b/macros/latex/contrib/msu-thesis/README.md index 1f4d7cf16a..856b9059bc 100644 --- a/macros/latex/contrib/msu-thesis/README.md +++ b/macros/latex/contrib/msu-thesis/README.md @@ -1,6 +1,6 @@ -# MSU Thesis Class Version 3.1 2022/03/03 +# MSU Thesis Class Version 3.1b 2022/03/25 -Copyright 2011-2022 by Alan Munn <amunn@msu.edu> +Copyright 2009-2022 by Alan Munn <amunn@msu.edu> This is a class file for producing dissertations and theses according to the Michigan State University Graduate School Guidelines for Electronic diff --git a/macros/latex/contrib/msu-thesis/msu-thesis.cls b/macros/latex/contrib/msu-thesis/msu-thesis.cls index 9d6c314e6f..c30184d45a 100644 --- a/macros/latex/contrib/msu-thesis/msu-thesis.cls +++ b/macros/latex/contrib/msu-thesis/msu-thesis.cls @@ -1,6 +1,6 @@ % MSU Thesis Class % -% Copyright 2009,2010,2011,2012,2013,2014,2015,2016,2017,2020 by Alan Munn <amunn@msu.edu> +% Copyright 2009-2022 by Alan Munn <amunn@msu.edu> % % This is a class file for producing dissertations and theses according to the % Michigan State University Graduate School Guidelines @@ -157,11 +157,12 @@ % Added spacing hooks for bibliographies to make users' lives a little easier % Version 3.0b 2021/07/14 Added msu@hchap counter for hyperref targets in appendices (unreleased) % Version 3.1 2022/03/03 Added support for List of Algorithms plus fixes for algorithm2e and algorithmicx etc +% Version 3.1b 2022/03/25 Fixed numbering problem for single global appendix % % Report bugs/problems/questions to <amunn@msu.edu> % -\def\msu@version{3.1} -\def\msu@date{2022/03/03} +\def\msu@version{3.1b} +\def\msu@date{2022/03/25} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{msu-thesis}[\msu@date\space Michigan State University Thesis Class version \msu@version] \newif\ifmsu@dissertation\msu@dissertationtrue % added v2.7 boolean for \msu@thesistype @@ -169,6 +170,7 @@ \def\msu@bibtype{BIB} \newif\ifmsu@chapterapp\msu@chapterappfalse % added v3.0 \def\msu@apptype{APP} +\newif\ifmsu@singleappendix\msu@singleappendixfalse % added v3.1b \newcommand*\msuappendixnumformat{\Alph{chapter}}% Appendices are Alpha numbered \newif\ifmsu@lscape\msu@lscapefalse \newif\ifmsu@stupidtoc\msu@stupidtocfalse @@ -287,7 +289,7 @@ \renewcommand*{\printchapternonum}{} % modified 3/5/2017 \renewcommand*{\afterchapternum}{} \renewcommand*{\printchaptername}{% - \centerline{\chapnumfont{\MakeUppercase\@chapapp\ \thechapter}}} + \centerline{\chapnumfont{\MakeUppercase\@chapapp\ \ifmsu@singleappendix\else\thechapter\fi}}}% added v3.1b \renewcommand{\partnamefont}{\centering\bfseries} \renewcommand{\partnumfont}{\bfseries} \renewcommand{\parttitlefont}{\SingleSpacing\bfseries} @@ -598,7 +600,7 @@ {\renewcommand{\appendixname}{Appendix} \renewcommand{\appendixtocname}{Appendix} \renewcommand{\appendixpagename}{Appendix} - \ifmsu@chapterapp\else\renewcommand\msuappendixnumformat{}\fi% make sure single appendix doesn't have a number if global + \ifmsu@chapterapp\else\msu@singleappendixtrue\fi% make sure single appendix doesn't have a number if global 3.1b \msu@apppage\settocdepth{part}\@resets@pp\anappendixtrue}% {\@ppsaveapp\@pprestoresec\anappendixfalse} diff --git a/macros/latex/contrib/msu-thesis/msu-thesis.pdf b/macros/latex/contrib/msu-thesis/msu-thesis.pdf Binary files differindex dac5e635b8..3536ebd8c5 100644 --- a/macros/latex/contrib/msu-thesis/msu-thesis.pdf +++ b/macros/latex/contrib/msu-thesis/msu-thesis.pdf diff --git a/macros/latex/contrib/msu-thesis/msu-thesis.tex b/macros/latex/contrib/msu-thesis/msu-thesis.tex index 518060fe70..c6d0d6e1ab 100644 --- a/macros/latex/contrib/msu-thesis/msu-thesis.tex +++ b/macros/latex/contrib/msu-thesis/msu-thesis.tex @@ -2,10 +2,10 @@ \documentclass[11pt]{article} -\def\msuversion{3.1} -\def\msudate{2022/03/03} +\def\msuversion{3.1b} +\def\msudate{2022/03/25} \title{\textbf{Using the MSU Thesis Class}} -\author{\textbf{Alan Munn}\\Department of Linguistics and Languages\\\texttt{\href{mailto:amunn@msu.edu}{amunn@msu.edu}}} +\author{\textbf{Alan Munn}\\Department of Linguistics, Languages, and Cultures\\Michigan State University\\\texttt{\href{mailto:amunn@msu.edu}{amunn@msu.edu}}} \date{Version \msuversion\\\msudate} \usepackage[T1]{fontenc} \usepackage[lmargin=.75in,rmargin=.75in,tmargin=1in,bmargin=1in]{geometry} @@ -215,7 +215,7 @@ Your list of abbreviations here. \end{quote} \subsection{Algorithm packages\label{algorithms}} -Because the various algorithm formatting packages such as \pkg{algorithm2e} and \pkg{algorithmicx} (or its related packages) sometimes create incompatibilities with the \pkg{memoir} float methods, the class provides you with floating |{algorithm}| environment and the corresponding list of algorithms, so you do not have to create your own list of algorithms. Here are some specific important points about using \pkg{algorithm2e} and \pkg{algorithmicx}. +Because the various algorithm formatting packages such as \pkg{algorithm2e} and \pkg{algorithmicx} (or its related packages) sometimes create incompatibilities with the \pkg{memoir} float methods, the class provides you with a floating |{algorithm}| environment and the corresponding list of algorithms, so you do not have to create your own list of algorithms. Here are some specific important points about using \pkg{algorithm2e} and \pkg{algorithmicx}. \begin{itemize}[label=\textbullet] \item Do \emph{not} load the \pkg{algorithm} package. \item If you use the \pkg{algorithm2e} package you \emph{must} load it with the |[algo2e]| option (along with any other options you need). @@ -333,7 +333,7 @@ Since the current version of the \pkg{msu-thesis} class satisfies the Graduate S \subsection{Version history} Previous versions of \pkg{msu-thesis} (versions 1.0--1.4b) were created for non-electronic submission and should not be used. Versions 1.5--1.6 (the first electronic submission versions) contained a |\makeabstract| command and a separate |msuabstract| environment. These have been removed as of version 1.7. Users who are upgrading from earlier versions to version 1.7 do not need to change these commands however but their use will trigger a warning.) Version 2.0 implemented landscape pages; version 2.1 added support for \pkg{hyperref}. Versions 2.2--2.5 mainly accommodated to the ever changing whims of the MSU Graduate School. Version 2.6 fixed some appendix bugs introduced by the previous whim accommodation. Version 2.7 fixed various small spacing issues, fixed a bug which prevented a new chapter page to be a landscape page, added support for the \pkg{apacite} package, and updated degree options. Version 2.8 fixed some spacing and capitalization issues and added support for the public abstract. Version 2.9 removed subscript/superscript size restrictions, added font size options and made small spacing changes to appease the thesis office. Version 3.0 added full support for per-chapter bibliographies and appendices, and automated bibliography spacing for |natbib| and |biblatex| produced bibliographies. Version 3.1 added support for an |{algorithm}| environment and a list of algorithms to combat incompatibilities with the \pkg{algorithm} and \pkg{algorithm2e} packages. \section{Acknowledgements} -Thanks to Lars Madsen, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0--1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, Leo Liu for the landscape page numbering code, which greatly simplified my original version, and Florent Chervet for the \pkg{hyperref} code. Thanks also to the following students who have reported problems over the years: Irina Agafonova, Ali Al-jiboory, Julian Blank, Dmitriy Bryndin, Greg Christian, Kyle Crayne, Ciaron Hamilton, Matt Husband, Changkuk Jung, Adam Liter, William Muir, Alicia Parrish, Neil ver Planck, Adam Soliman, Erik Stitt, Michael Wojcik, Eremey Valetov, Matthew Vincent and Yisu Zhou. A special thank you to Non Thongprong who graciously provided a copy of his entire thesis which allowed me to debug some especially subtle spacing inconsistencies. +Thanks to Lars Madsen, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0--1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, Leo Liu for the landscape page numbering code, which greatly simplified my original version, and Florent Chervet for the \pkg{hyperref} code. Thanks also to the following students who have reported problems over the years: Irina Agafonova, Ali Al-jiboory, Julian Blank, Dmitriy Bryndin, Greg Christian, Kyle Crayne, Ciaron Hamilton, Matt Husband, Changkuk Jung, Adam Liter, William Muir, Alicia Parrish, Neil ver Planck, Adam Soliman, Erik Stitt, Eremey Valetov, Matthew Vincent, Michael Wojcik, Stephen Yuwono, and Yisu Zhou. A special thank you to Non Thongprong who graciously provided a copy of his entire thesis which allowed me to debug some especially subtle spacing inconsistencies. \appendix \renewcommand{\thesection}{Appendix \Alph{section}} |