diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-14 21:09:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-14 21:09:21 +0000 |
commit | bbb03c1fc0127127c603a65b7d7bd6ee4a1ebe15 (patch) | |
tree | 5898e50cdde69ff40c4e74419b16ea4b25a852ef | |
parent | 0c96e0274d668f42cffaf17536417a5af6a3ba48 (diff) |
hep-* (14jul23)
git-svn-id: svn://tug.org/texlive/trunk@67632 c570f23f-e606-0410-a88d-b1316a301751
108 files changed, 1976 insertions, 673 deletions
diff --git a/Master/texmf-dist/doc/fonts/hep-font/README-hep-font.md b/Master/texmf-dist/doc/fonts/hep-font/README-hep-font.md index b020013f441..aa729a6b12a 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/README-hep-font.md +++ b/Master/texmf-dist/doc/fonts/hep-font/README-hep-font.md @@ -5,7 +5,9 @@ Latin modern extended by computer modern. ## Introduction -The `hep-font` package loads standard font packages and extends the usual Latin Modern implementations by replacing missing fonts with Computer Modern counterparts. +The `hep-font` package loads standard font packages and extends the usual +Latin Modern implementations by replacing missing fonts with Computer +Modern counterparts. The package is loaded with `\usepackage{hep-font}`. @@ -15,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/fonts/hep-font/README.md b/Master/texmf-dist/doc/fonts/hep-font/README.md index b020013f441..aa729a6b12a 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/README.md +++ b/Master/texmf-dist/doc/fonts/hep-font/README.md @@ -5,7 +5,9 @@ Latin modern extended by computer modern. ## Introduction -The `hep-font` package loads standard font packages and extends the usual Latin Modern implementations by replacing missing fonts with Computer Modern counterparts. +The `hep-font` package loads standard font packages and extends the usual +Latin Modern implementations by replacing missing fonts with Computer +Modern counterparts. The package is loaded with `\usepackage{hep-font}`. @@ -15,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/fonts/hep-font/bibliography.bib b/Master/texmf-dist/doc/fonts/hep-font/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/bibliography.bib +++ b/Master/texmf-dist/doc/fonts/hep-font/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.pdf b/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.pdf Binary files differindex f25d9883cb6..64aa4887167 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.pdf +++ b/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.pdf diff --git a/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex b/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex index 66c2f1bf287..c14159f9ad2 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex +++ b/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-font-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -14,31 +14,26 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-font-documentation.tex}[2022/11/01 v1.1 hep-font documentation] - -\RequirePackage[l2tabu, orthodox]{nag} - +\ProvidesFile{hep-font-documentation.tex}[2023/07/01 v1.2 hep-font documentation] \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{CM}{computer modern} \acronym{LM}{latin modern} \acronym{NFSS}{new font selection scheme} -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-font.sty} \title{The \software{hep-font} package\thanks{This document corresponds to \software{hep-font}~\fileversion.}} diff --git a/Master/texmf-dist/doc/fonts/hep-font/hep-font-implementation.pdf b/Master/texmf-dist/doc/fonts/hep-font/hep-font-implementation.pdf Binary files differindex d7fff2d56e8..53a2ead18cf 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/hep-font-implementation.pdf +++ b/Master/texmf-dist/doc/fonts/hep-font/hep-font-implementation.pdf diff --git a/Master/texmf-dist/doc/fonts/hep-font/hep-font-test.tex b/Master/texmf-dist/doc/fonts/hep-font/hep-font-test.tex index dc2082c7880..0ae0fead1fc 100644 --- a/Master/texmf-dist/doc/fonts/hep-font/hep-font-test.tex +++ b/Master/texmf-dist/doc/fonts/hep-font/hep-font-test.tex @@ -6,7 +6,7 @@ %% %% hep-font-implementation.dtx (with options: `test') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/README-hep-math-font.md b/Master/texmf-dist/doc/fonts/hep-math-font/README-hep-math-font.md index ffc589e7ad3..c972d0d8397 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/README-hep-math-font.md +++ b/Master/texmf-dist/doc/fonts/hep-math-font/README-hep-math-font.md @@ -6,9 +6,11 @@ Extended Greek and sans-serif math ## Introduction -The `hep-math-font` package adjust the math fonts to be sans-serif if the document is sans-serif. -Additionally Greek letters are redefined to be always italic and upright in math and text mode respectively. -Some math font macros are adjusted to give more consistently the naively expected results. +The `hep-math-font` package adjust the math fonts to be sans-serif if the +document is sans-serif. Additionally Greek letters are redefined to be +always italic and upright in math and text mode respectively. Some math +font macros are adjusted to give more consistently the naively expected +results. The package is loaded using `\usepackage{hep-math-font}`. @@ -18,6 +20,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/README.md b/Master/texmf-dist/doc/fonts/hep-math-font/README.md index ffc589e7ad3..c972d0d8397 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/README.md +++ b/Master/texmf-dist/doc/fonts/hep-math-font/README.md @@ -6,9 +6,11 @@ Extended Greek and sans-serif math ## Introduction -The `hep-math-font` package adjust the math fonts to be sans-serif if the document is sans-serif. -Additionally Greek letters are redefined to be always italic and upright in math and text mode respectively. -Some math font macros are adjusted to give more consistently the naively expected results. +The `hep-math-font` package adjust the math fonts to be sans-serif if the +document is sans-serif. Additionally Greek letters are redefined to be +always italic and upright in math and text mode respectively. Some math +font macros are adjusted to give more consistently the naively expected +results. The package is loaded using `\usepackage{hep-math-font}`. @@ -18,6 +20,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib b/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib +++ b/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.pdf b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.pdf Binary files differindex 2a719ad8289..c66b384e43e 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.pdf +++ b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.pdf diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex index 7fb3d8389f6..d34dbbd5f81 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex +++ b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-math-font-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,31 +15,26 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-math-font-documentation.tex}[2022/11/01 v1.1 hep-math-Font documentation] - -\RequirePackage[l2tabu, orthodox]{nag} - +\ProvidesFile{hep-math-font-documentation.tex}[2023/07/01 v1.2 hep-math-Font documentation] \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage{fonttable} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{CM}{computer modern} \acronym{LM}{latin modern} -\usepackage{hologo} -\usepackage{fonttable} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-math-font.sty} \title{The \software{hep-math-font} package\thanks{This document corresponds to \software{hep-math-font}~\fileversion.}} diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-implementation.pdf b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-implementation.pdf Binary files differindex e404b5dab69..dda65cc31b1 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-implementation.pdf +++ b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-implementation.pdf diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-sans.tex b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-sans.tex index 32b8950725c..288c0a97abc 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-sans.tex +++ b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-sans.tex @@ -6,7 +6,7 @@ %% %% hep-math-font-implementation.dtx (with options: `testsans') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-serif.tex b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-serif.tex index 52753f00d77..f7539ac8ed9 100644 --- a/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-serif.tex +++ b/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-test-serif.tex @@ -6,7 +6,7 @@ %% %% hep-math-font-implementation.dtx (with options: `testserif') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-acronym/README-hep-acronym.md b/Master/texmf-dist/doc/latex/hep-acronym/README-hep-acronym.md index f7958ab0649..dfff0f07ed7 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/README-hep-acronym.md +++ b/Master/texmf-dist/doc/latex/hep-acronym/README-hep-acronym.md @@ -5,8 +5,8 @@ An acronym extension for glossaries ## Introduction -The `hep-acronym` package provides an acronym macro based on the `glossaries` package. -It can be loaded using `\usepackage{hep-acronym}`. +The `hep-acronym` package provides an acronym macro based on the +`glossaries` package. It can be loaded using `\usepackage{hep-acronym}`. ## Author @@ -14,6 +14,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-acronym/README.md b/Master/texmf-dist/doc/latex/hep-acronym/README.md index f7958ab0649..dfff0f07ed7 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/README.md +++ b/Master/texmf-dist/doc/latex/hep-acronym/README.md @@ -5,8 +5,8 @@ An acronym extension for glossaries ## Introduction -The `hep-acronym` package provides an acronym macro based on the `glossaries` package. -It can be loaded using `\usepackage{hep-acronym}`. +The `hep-acronym` package provides an acronym macro based on the +`glossaries` package. It can be loaded using `\usepackage{hep-acronym}`. ## Author @@ -14,6 +14,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-acronym/bibliography.bib b/Master/texmf-dist/doc/latex/hep-acronym/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-acronym/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.pdf b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.pdf Binary files differindex c4e91def91b..5adef17ad2b 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.tex b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.tex index a5a4029c305..cde7e41daae 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-acronym-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -14,27 +14,25 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-acronym-documentation.tex}[2022/11/01 v1.1 hep-acronym documentation] - +\ProvidesFile{hep-acronym-documentation.tex}[2023/07/01 v1.2 hep-acronym documentation] \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges \usepackage{hologo} -\usepackage[parskip]{hep-paper} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{PDF}{portable document format} -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-acronym.sty} \title{The \software{hep-acronym} package\thanks{This document corresponds to \software{hep-acronym}~\fileversion.}} @@ -56,7 +54,7 @@ Acronyms are implemented using the \software{glossaries-extra} package \cite{glo It can be loaded using "\usepackage{hep-acronym}". \DescribeMacro{\acronym} -The "\acronym"\meta{*}\oarg{typeset abbreviation}\marg{abbreviation}\meta{*}\marg{definition}\oarg{plural\linebreak[4]definition} macro generates the singular "\"\meta{abbreviation} and plural "\"\meta{abbreviation}"s" macros. +The "\acronym"\meta{*}\oarg{typeset abbreviation}\marg{abbreviation}\meta{*}\marg{definition}\oarg{plural definition} macro generates the singular "\"\meta{abbreviation} and plural "\"\meta{abbreviation}"s" macros. The first star prevents the addition of an \enquote{s} to the abbreviation plural. The second star restores the \hologo{TeX} default of swallowing subsequent white space. @@ -73,12 +71,13 @@ The "\sentence" macro ensures that the directly following abbreviation is capita The "\shortacronym" and "\longacronym" macros are drop-in replacements of the "\acronym" macro showing only the short or long form of their acronym. \DescribeMacro{\resetacronym} -\DescribeMacro{\dummyacronym} The first use form of the acronym can be enforced by resetting the acronym counter with "\resetacronym"\marg{key}. +\DescribeMacro{\dummyacronym} If the acronym counter equals one at the end of the document the short form of the acronym is not introduced. Placing a "\dummyacronym"\marg{key} at the end of the document ensures that the short form is introduced. +\DescribeMacro{warning} In order to reduce the number of potentially conflicting packages the \software{glossaries} package is loaded without any glossary style. In the case that the glossary should be printed additional packages must be loaded via \eg "\usepackage{glossary-list}". diff --git a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-implementation.pdf b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-implementation.pdf Binary files differindex d3553fb7762..106d9c83ba4 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-test.tex b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-test.tex index 6abedab3bb7..ba07c9df403 100644 --- a/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-test.tex +++ b/Master/texmf-dist/doc/latex/hep-acronym/hep-acronym-test.tex @@ -6,7 +6,7 @@ %% %% hep-acronym-implementation.dtx (with options: `test') %% This is a generated file. -%% Copyright (C) 2019 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/README-hep-bibliography.md b/Master/texmf-dist/doc/latex/hep-bibliography/README-hep-bibliography.md index d2532e357c7..849f3768545 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/README-hep-bibliography.md +++ b/Master/texmf-dist/doc/latex/hep-bibliography/README-hep-bibliography.md @@ -6,8 +6,9 @@ Bibliographies for high energy physics ## Introduction -The `hep-bibliography` package extends the `biblatex` package with some functionality mostly useful for high energy physics. -In particular it makes full use of all `bibtex` fields provided by `inspirehep.net`. +The `hep-bibliography` package extends the `biblatex` package with some +functionality mostly useful for high energy physics. In particular it +makes full use of all `bibtex` fields provided by `inspirehep.net`. The package can be loaded via `\usepackage{hep-bibliography}`. @@ -17,6 +18,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/README.md b/Master/texmf-dist/doc/latex/hep-bibliography/README.md index d2532e357c7..849f3768545 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/README.md +++ b/Master/texmf-dist/doc/latex/hep-bibliography/README.md @@ -6,8 +6,9 @@ Bibliographies for high energy physics ## Introduction -The `hep-bibliography` package extends the `biblatex` package with some functionality mostly useful for high energy physics. -In particular it makes full use of all `bibtex` fields provided by `inspirehep.net`. +The `hep-bibliography` package extends the `biblatex` package with some +functionality mostly useful for high energy physics. In particular it +makes full use of all `bibtex` fields provided by `inspirehep.net`. The package can be loaded via `\usepackage{hep-bibliography}`. @@ -17,6 +18,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/bibliography.bib b/Master/texmf-dist/doc/latex/hep-bibliography/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-bibliography/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.pdf b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.pdf Binary files differindex e61eff4b7f3..eeedcba12c2 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.tex b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.tex index 5b73c4c8371..6f502443a63 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-bibliography-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,28 +15,25 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-bibliography-documentation.tex}[2022/11/01 v1.1 HEP-Bibliography documentation] - +\ProvidesFile{hep-bibliography-documentation.tex}[2023/07/01 v1.2 HEP-Bibliography documentation] \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{URL}{uniform resource locator} -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-bibliography.sty} \title{The \software{hep-bibliography} package\thanks{This document corresponds to \software{hep-bibliography}~\fileversion.}} @@ -63,7 +60,7 @@ The \software{biblatex} package \cite{biblatex} is loaded for bibliography manag The user has to add the line "\bibliography"\marg{my.bib} to the preamble of the document and "\printbibliography" at the end of the document. The bibliography is generated by \software{Biber} \cite{biber}. "biblatex" is extended to be able to cope with the "collaboration" and "reportNumber" fields provided by \online{https://inspirehep.net}{inspirehep.net} and a bug in the volume number is fixed. -Additionally, the PubMed IDs are recognized and \online{https://ctan.org}{ctan.org}, \online{https://github.com}{github.com}, \online{https://gitlab.com}{gitlab.com}, \online{https://bitbucket.org}{bitbucket.org}, \online{https://www.launchpad.net}{launchpad.net}, \online{https://sourceforge.net}{sourceforge.net}, and \online{https://hepforge.org}{hepforge.org} are valid "eprinttype"s. +Additionally, \online{https://ctan.org}{ctan.org}, \online{https://github.com}{github.com}, \online{https://gitlab.com}{gitlab.com}, \online{https://bitbucket.org}{bitbucket.org}, \online{https://www.launchpad.net}{launchpad.net}, \online{https://sourceforge.net}{sourceforge.net}, and \online{https://hepforge.org}{hepforge.org} are valid "eprinttype"s. \DescribeMacro{erratum} Errata can be included using the "related" feature. \begin{verbatim} diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-implementation.pdf b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-implementation.pdf Binary files differindex 9c6ed855c36..0276bace5b2 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-test.tex b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-test.tex index 10346f5c141..424b853f47d 100644 --- a/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-test.tex +++ b/Master/texmf-dist/doc/latex/hep-bibliography/hep-bibliography-test.tex @@ -6,7 +6,7 @@ %% %% hep-bibliography-implementation.dtx (with options: `test') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -64,7 +64,8 @@ @article{Aad:2012tfa, author = "Aad, Georges and others", collaboration = "ATLAS", - title = "{Observation of a new particle in the search for the Standard Model Higgs boson with the ATLAS detector at the LHC}", + title = "{Observation of a new particle in the search for + the Standard Model Higgs boson with the ATLAS detector at the LHC}", eprint = "1207.7214", archivePrefix = "arXiv", primaryClass = "hep-ex", @@ -79,7 +80,8 @@ @article{Chatrchyan:2012ufa, author = "Chatrchyan, Serguei and others", collaboration = "CMS", - title = "{Observation of a New Boson at a Mass of 125 GeV with the CMS Experiment at the LHC}", + title = "{Observation of a New Boson at a Mass of 125 GeV with the + CMS Experiment at the LHC}", eprint = "1207.7235", archivePrefix = "arXiv", primaryClass = "hep-ex", @@ -140,7 +142,8 @@ } @article{Sjostrand:2006za, - author = "Sjostrand, Torbjorn and Mrenna, Stephen and Skands, Peter Z.", + author = "Sjostrand, Torbjorn and Mrenna, Stephen + and Skands, Peter Z.", title = "{PYTHIA 6.4 Physics and Manual}", eprint = "hep-ph/0603175", archivePrefix = "arXiv", @@ -155,7 +158,8 @@ @article{Spergel:2003cb, author = "Spergel, D. N. and others", collaboration = "WMAP", - title = "{First year Wilkinson Microwave Anisotropy Probe (WMAP) observations: Determination of cosmological parameters}", + title = "{First year Wilkinson Microwave Anisotropy Probe (WMAP) + observations: Determination of cosmological parameters}", eprint = "astro-ph/0302209", archivePrefix = "arXiv", doi = "10.1086/377226", @@ -169,7 +173,8 @@ author = "Agostinelli, S. and others", collaboration = "GEANT4", title = "{GEANT4--a simulation toolkit}", - reportNumber = "SLAC-PUB-9350, FERMILAB-PUB-03-339, CERN-IT-2002-003", + reportNumber = "SLAC-PUB-9350, FERMILAB-PUB-03-339, + CERN-IT-2002-003", doi = "10.1016/S0168-9002(03)01368-8", journal = "Nucl. Instrum. Meth. A", volume = "506", @@ -193,7 +198,8 @@ @article{Perlmutter:1998np, author = "Perlmutter, S. and others", collaboration = "Supernova Cosmology Project", - title = "{Measurements of $\Omega$ and $\Lambda$ from 42 high redshift supernovae}", + title = "{Measurements of $\Omega$ and $\Lambda$ from 42 high + redshift supernovae}", eprint = "astro-ph/9812133", archivePrefix = "arXiv", reportNumber = "LBNL-41801, LBL-41801", @@ -207,7 +213,8 @@ @article{Riess:1998cb, author = "Riess, Adam G. and others", collaboration = "Supernova Search Team", - title = "{Observational evidence from supernovae for an accelerating universe and a cosmological constant}", + title = "{Observational evidence from supernovae for an accelerating + universe and a cosmological constant}", eprint = "astro-ph/9805201", archivePrefix = "arXiv", doi = "10.1086/300499", @@ -231,7 +238,8 @@ } @article{Gubser:1998bc, - author = "Gubser, S. S. and Klebanov, Igor R. and Polyakov, Alexander M.", + author = "Gubser, S. S. and Klebanov, Igor R. + and Polyakov, Alexander M.", title = "{Gauge theory correlators from noncritical string theory}", eprint = "hep-th/9802109", archivePrefix = "arXiv", @@ -245,7 +253,8 @@ @article{Maldacena:1997re, author = "Maldacena, Juan Martin", - title = "{The Large N limit of superconformal field theories and supergravity}", + title = "{The Large N limit of superconformal field + theories and supergravity}", eprint = "hep-th/9711200", archivePrefix = "arXiv", reportNumber = "HUTP-97-A097, HUTP-98-A097", @@ -257,8 +266,10 @@ } @article{Schlegel:1997yv, - author = "Schlegel, David J. and Finkbeiner, Douglas P. and Davis, Marc", - title = "{Maps of dust IR emission for use in estimation of reddening and CMBR foregrounds}", + author = "Schlegel, David J. and Finkbeiner, Douglas P. + and Davis, Marc", + title = "{Maps of dust IR emission for use in estimation + of reddening and CMBR foregrounds}", eprint = "astro-ph/9710327", archivePrefix = "arXiv", doi = "10.1086/305772", @@ -271,7 +282,8 @@ @article{Guth:1980zm, author = "Guth, Alan H.", editor = "Fang, Li-Zhi and Ruffini, R.", - title = "{The Inflationary Universe: A Possible Solution to the Horizon and Flatness Problems}", + title = "{The Inflationary Universe: A Possible Solution + to the Horizon and Flatness Problems}", reportNumber = "SLAC-PUB-2576", doi = "10.1103/PhysRevD.23.347", journal = "Phys. Rev. D", @@ -306,7 +318,8 @@ @article{Kobayashi:1973fv, author = "Kobayashi, Makoto and Maskawa, Toshihide", - title = "{CP Violation in the Renormalizable Theory of Weak Interaction}", + title = "{CP Violation in the Renormalizable Theory of + Weak Interaction}", reportNumber = "KUNS-242", doi = "10.1143/PTP.49.652", journal = "Prog. Theor. Phys.", diff --git a/Master/texmf-dist/doc/latex/hep-float/README-hep-float.md b/Master/texmf-dist/doc/latex/hep-float/README-hep-float.md index eb36c56eeca..d0b5dee8c19 100644 --- a/Master/texmf-dist/doc/latex/hep-float/README-hep-float.md +++ b/Master/texmf-dist/doc/latex/hep-float/README-hep-float.md @@ -6,9 +6,9 @@ Convenience package for float placement ## Introduction -The `hep-float` package redefines some `LaTeX` float placement defaults and defines convenience wrappers for floats. - -The `hep-float` package can be loaded with `\usepackage{hep-float}`. +The `hep-float` package redefines some `LaTeX` float placement defaults +and defines convenience wrappers for floats. The `hep-float` package can +be loaded with `\usepackage{hep-float}`. ## Author @@ -16,6 +16,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-float/README.md b/Master/texmf-dist/doc/latex/hep-float/README.md index eb36c56eeca..d0b5dee8c19 100644 --- a/Master/texmf-dist/doc/latex/hep-float/README.md +++ b/Master/texmf-dist/doc/latex/hep-float/README.md @@ -6,9 +6,9 @@ Convenience package for float placement ## Introduction -The `hep-float` package redefines some `LaTeX` float placement defaults and defines convenience wrappers for floats. - -The `hep-float` package can be loaded with `\usepackage{hep-float}`. +The `hep-float` package redefines some `LaTeX` float placement defaults +and defines convenience wrappers for floats. The `hep-float` package can +be loaded with `\usepackage{hep-float}`. ## Author @@ -16,6 +16,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-float/bibliography.bib b/Master/texmf-dist/doc/latex/hep-float/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-float/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-float/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.pdf b/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.pdf Binary files differindex bda4b095f0d..be362e9df42 100644 --- a/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.tex b/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.tex index 20a90e280a4..ad6e6d1c1fa 100644 --- a/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-float/hep-float-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-float-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,26 +15,22 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-float-documentation.tex}[2022/11/01 v1.1 hep-float documentation] - -\RequirePackage[l2tabu, orthodox]{nag} - +\ProvidesFile{hep-float-documentation.tex}[2023/07/01 v1.2 hep-float documentation] \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip, oldstyle]{hep-paper} - -\bibliography{bibliography} - \usepackage{hologo} -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} +\bibliography{bibliography} \GetFileInfo{hep-float.sty} diff --git a/Master/texmf-dist/doc/latex/hep-float/hep-float-implementation.pdf b/Master/texmf-dist/doc/latex/hep-float/hep-float-implementation.pdf Binary files differindex 6960ff85813..22ea36456f5 100644 --- a/Master/texmf-dist/doc/latex/hep-float/hep-float-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-float/hep-float-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-float/hep-float-test.tex b/Master/texmf-dist/doc/latex/hep-float/hep-float-test.tex new file mode 100644 index 00000000000..feeecd02f83 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hep-float/hep-float-test.tex @@ -0,0 +1,133 @@ +%% +%% This is file `hep-float-test.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hep-float-implementation.dtx (with options: `test') +%% This is a generated file. +%% Copyright (C) 2019-2023 by Jan Hajer +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in: +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. + + +\documentclass{article} + +\usepackage[showframe]{geometry} +\usepackage{hep-float} + +\begin{document} + +\begin{figure} +\graphic[.5]{example-image-4x3} +\caption{test} +\end{figure} + +\begin{figures}{.3} +\graphic{example-image-4x3} +\caption{one} +\figure{.4} +\graphic{example-image-16x9} +\caption{two} +\figure{.3} +\graphic{example-image-4x3} +\caption{three} +\figure{.3} +\graphic{example-image-4x3} +\caption{one} +\figure{.4} +\graphic{example-image-16x9} +\caption{two} +\figure{.3} +\graphic{example-image-4x3} +\caption{three} +\end{figures} + +\begin{figures}{3} +\graphic{example-image-1x1} +\caption{one} +\figure +\graphic{example-image-1x1} +\caption{two} +\figure +\graphic{example-image-1x1} +\caption{three} +\figure +\graphic{example-image-1x1} +\caption{one} +\figure +\graphic{example-image-1x1} +\caption{two} +\figure +\graphic{example-image-1x1} +\caption{three} +\end{figures} + +\begin{figure} +\begin{panels}{3} +\graphic{example-image-1x1} +\caption{a} +\panel +\graphic{example-image-1x1} +\caption{b} +\panel +\graphic{example-image-1x1} +\caption{c} +\panel +\graphic{example-image-1x1} +\caption{d} +\panel +\graphic{example-image-1x1} +\caption{e} +\panel +\graphic{example-image-1x1} +\caption{f} +\end{panels} +\caption{Panels} +\end{figure} + +\begin{figure} +\begin{panels}{.3} +\graphic{example-image-4x3} +\caption{a} +\panel{.4} +\graphic{example-image-16x9} +\caption{b} +\panel{.3} +\graphic{example-image-4x3} +\caption{c} +\panel{.225} +\graphic{example-image-1x1} +\caption{d} +\panel{.4} +\graphic{example-image-16x9} +\caption{e} +\panel{.225} +\graphic[.8]{example-image-1x1} +\caption{f} +\end{panels} +\caption{Panels 2} +\end{figure} + +\begin{tables}{2} +\begin{tabular}{cc}\toprule +a & b \\ +\bottomrule\end{tabular} +\caption{a} +\table +\begin{tabular}{cc}\toprule +a & b \\ +\bottomrule\end{tabular} +\caption{b} +\end{tables} + +\end{document} + +\endinput +%% +%% End of file `hep-float-test.tex'. diff --git a/Master/texmf-dist/doc/latex/hep-math/README-hep-math.md b/Master/texmf-dist/doc/latex/hep-math/README-hep-math.md index 6e94fa4a7f3..68f23faf0db 100644 --- a/Master/texmf-dist/doc/latex/hep-math/README-hep-math.md +++ b/Master/texmf-dist/doc/latex/hep-math/README-hep-math.md @@ -6,7 +6,8 @@ Extended math macros ## Introduction -The `hep-math` package provides some additional features beyond the `mathtools` and `amsmath` packages. +The `hep-math` package provides some additional features beyond the +`mathtools` and `amsmath` packages. To use the package place `\usepackage{hep-math}` in the preamble. @@ -16,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-math/README.md b/Master/texmf-dist/doc/latex/hep-math/README.md index 6e94fa4a7f3..68f23faf0db 100644 --- a/Master/texmf-dist/doc/latex/hep-math/README.md +++ b/Master/texmf-dist/doc/latex/hep-math/README.md @@ -6,7 +6,8 @@ Extended math macros ## Introduction -The `hep-math` package provides some additional features beyond the `mathtools` and `amsmath` packages. +The `hep-math` package provides some additional features beyond the +`mathtools` and `amsmath` packages. To use the package place `\usepackage{hep-math}` in the preamble. @@ -16,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-math/bibliography.bib b/Master/texmf-dist/doc/latex/hep-math/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-math/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-math/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.pdf b/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.pdf Binary files differindex 2d2e68648dc..06ad1299ca8 100644 --- a/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.tex b/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.tex index f1e25821340..136548b3aa6 100644 --- a/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-math/hep-math-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-math-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,20 +15,25 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-math-documentation.tex}[2022/11/01 v1.1 hep-math documentation] - +\ProvidesFile{hep-math-documentation.tex}[2023/07/01 v1.2 hep-math documentation] \RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip,oldstyle]{hep-paper} +\usepackage{hologo} + +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} +\bibliography{bibliography} +\setlength{\fboxsep}{1pt} \newenvironment{columns}[1][.5]{% \par\vspace{-\bigskipamount}% \begin{minipage}[t]{\linewidth}% @@ -39,14 +44,6 @@ }% }{\end{minipage}\end{minipage}\par} -\bibliography{bibliography} - -\usepackage{hologo} - -\MacroIndent=1.5em -\setlength{\fboxsep}{1pt} -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-math.sty} \title{The \software{hep-math} package\thanks{This document corresponds to \software{hep-math}~\fileversion.}} @@ -127,7 +124,7 @@ Finer details about mathematical typesetting can be found in \cite{gregorio:2020 \DescribeMacro{\differential} \DescribeMacro{\newderivative} \DescribeMacro{\newpartialderivative} -The three macros "\differential"\marg{symbol}, "\newderivative""{\name}"\marg{symbol}, and "\newpartialderivative""{\name}"\marg{symbol} allow to define a differential with correct spacing, a derivative using this differential, and if necessary a partial derivative that can handle three dimensional derivatives. +The three macros "\differential"\marg{symbol}, "\newderivative" "{\name}"\marg{symbol}, and "\newpartialderivative" "{\name}"\marg{symbol} allow to define a differential with correct spacing, a derivative using this differential, and if necessary a partial derivative that can handle three dimensional derivatives. \DescribeMacro{\d} \DescribeMacro{\dv} @@ -141,7 +138,9 @@ $\dv xf$ & $\dv*xf$ & $\dv x*f$ & $\dv*x*f$ \end{tabular} \end{center} via "\dv*"\oarg{f}\marg{x}"*""^"\marg{n}. -Upright differential can be produced via "\renewcommand" "{\diffsymbol}""{\mathrm d}". +Upright differential can be produced via "\renewcommand""{\diffsymbol}" "{\mathrm d}". +The differential takes care of the correct spacing as long as it is placed at the end of the integral $\int f(x)\d x$. +In order to archive correct spacing when it is placed at the beginning of the integral it is advisable to place the whole expression in a "\mathop{\int\d x} f(x)" such that $\mathop{\int\d x} f(x)$. \DescribeMacro{\pd} \DescribeMacro{\pdv} diff --git a/Master/texmf-dist/doc/latex/hep-math/hep-math-implementation.pdf b/Master/texmf-dist/doc/latex/hep-math/hep-math-implementation.pdf Binary files differindex c0c8a6e6c8f..b27f3c48d6b 100644 --- a/Master/texmf-dist/doc/latex/hep-math/hep-math-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-math/hep-math-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-math/hep-math-test.tex b/Master/texmf-dist/doc/latex/hep-math/hep-math-test.tex index bcdb1db4579..38aa95c7bfe 100644 --- a/Master/texmf-dist/doc/latex/hep-math/hep-math-test.tex +++ b/Master/texmf-dist/doc/latex/hep-math/hep-math-test.tex @@ -6,7 +6,7 @@ %% %% hep-math-implementation.dtx (with options: `test') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-paper/README-hep-paper.md b/Master/texmf-dist/doc/latex/hep-paper/README-hep-paper.md index 1cffa529b0a..7b76d91a0f9 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/README-hep-paper.md +++ b/Master/texmf-dist/doc/latex/hep-paper/README-hep-paper.md @@ -5,10 +5,14 @@ A `LaTeX` package for publications in High Energy Physics. ## Introduction -The `hep-paper` package aims to provide a single style file containing most configurations and macros necessary to write appealing publications in High Energy Physics. -Instead of reinventing the wheel by introducing newly created macros `hep-paper` preferably loads third party packages as long as they are lightweight enough. +The `hep-paper` package aims to provide a single style file containing +most configurations and macros necessary to write appealing publications +in High Energy Physics. Instead of reinventing the wheel by introducing +newly created macros `hep-paper` preferably loads third party packages as +long as they are lightweight enough. -For usual publications it is enough to load additionally to the `article` class without optional arguments only the `hep-paper` package. +For usual publications it is enough to load additionally to the `article` +class without optional arguments only the `hep-paper` package. \documentclass{article} \usepackage{hep-paper} @@ -19,6 +23,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-paper/README.md b/Master/texmf-dist/doc/latex/hep-paper/README.md index 1cffa529b0a..7b76d91a0f9 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/README.md +++ b/Master/texmf-dist/doc/latex/hep-paper/README.md @@ -5,10 +5,14 @@ A `LaTeX` package for publications in High Energy Physics. ## Introduction -The `hep-paper` package aims to provide a single style file containing most configurations and macros necessary to write appealing publications in High Energy Physics. -Instead of reinventing the wheel by introducing newly created macros `hep-paper` preferably loads third party packages as long as they are lightweight enough. +The `hep-paper` package aims to provide a single style file containing +most configurations and macros necessary to write appealing publications +in High Energy Physics. Instead of reinventing the wheel by introducing +newly created macros `hep-paper` preferably loads third party packages as +long as they are lightweight enough. -For usual publications it is enough to load additionally to the `article` class without optional arguments only the `hep-paper` package. +For usual publications it is enough to load additionally to the `article` +class without optional arguments only the `hep-paper` package. \documentclass{article} \usepackage{hep-paper} @@ -19,6 +23,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-paper/bibliography.bib b/Master/texmf-dist/doc/latex/hep-paper/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-paper/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.pdf b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.pdf Binary files differindex dd00f397d63..4373feea07f 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.tex index e271ce398e3..622b27c1d43 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -14,28 +14,26 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-paper-documentation.tex}[2022/11/01 v2.1 HEP-Paper documentation] +\ProvidesFile{hep-paper-documentation.tex}[2023/07/01 v2.2 HEP-Paper documentation] \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{PDF}{portable document format} \acronym{LM}{latin modern} -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-paper.sty} \title{The \software{hep-paper} package\thanks{This document corresponds to \software{hep-paper}~\fileversion.}} diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-implementation.pdf b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-implementation.pdf Binary files differindex 99012f2277b..bf3edc65081 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-amsart.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-amsart.tex index 3a1831742fc..4b5634edc83 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-amsart.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-amsart.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testAMSArt') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-beamer.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-beamer.tex index b61bfe87837..91e7edfa1f1 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-beamer.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-beamer.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testBeamer') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jcap.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jcap.tex index 0241610de4f..6157ef709bd 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jcap.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jcap.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testJCAP') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jhep.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jhep.tex index 6e9174e7b07..84564848a39 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jhep.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-jhep.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testJHEP') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-pos.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-pos.tex index 4ed7976307b..a15776f6527 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-pos.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-pos.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testPoS') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -28,7 +28,8 @@ First affiliation\\ E-mail: \email{second@email.com} } -\author{Third author \thanks{\email{third@email.com}}\\Second affiliation} +\author{Third author \thanks{\email{third@email.com}}\\ +Second affiliation} \author{Fourth author\\Third affiliation} \FullConference{Full conference} \ShortTitle{Short title} diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-revtex.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-revtex.tex index 4f56eeb7ca3..2a92cb4c0f0 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-revtex.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-revtex.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testRevTeX') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-springer.tex b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-springer.tex index 6a0b090cf2a..beef382fb2e 100644 --- a/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-springer.tex +++ b/Master/texmf-dist/doc/latex/hep-paper/hep-paper-test-springer.tex @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `testSpringer') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-reference/README-hep-reference.md b/Master/texmf-dist/doc/latex/hep-reference/README-hep-reference.md index c25d4dc0024..1141b2aa589 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/README-hep-reference.md +++ b/Master/texmf-dist/doc/latex/hep-reference/README-hep-reference.md @@ -5,13 +5,9 @@ A `LaTeX` package for publications in High Energy Physics. ## Introduction -The `hep-reference` package aims to provide a single style file containing most configurations and macros necessary to write appealing publications in High Energy Physics. -Instead of reinventing the wheel by introducing newly created macros `hep-reference` preferably loads third party packages as long as they are lightweight enough. - -For usual publications it is enough to load additionally to the `article` class without optional arguments only the `hep-reference` package. - - \documentclass{article} - \usepackage{hep-reference} +The `hep-reference` package applies some light convenience modifications +to the reference, citation and footnote macros after loading standard +classes improving on the default LaTeX behaviour. ## Author @@ -19,6 +15,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-reference/README.md b/Master/texmf-dist/doc/latex/hep-reference/README.md index c25d4dc0024..1141b2aa589 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/README.md +++ b/Master/texmf-dist/doc/latex/hep-reference/README.md @@ -5,13 +5,9 @@ A `LaTeX` package for publications in High Energy Physics. ## Introduction -The `hep-reference` package aims to provide a single style file containing most configurations and macros necessary to write appealing publications in High Energy Physics. -Instead of reinventing the wheel by introducing newly created macros `hep-reference` preferably loads third party packages as long as they are lightweight enough. - -For usual publications it is enough to load additionally to the `article` class without optional arguments only the `hep-reference` package. - - \documentclass{article} - \usepackage{hep-reference} +The `hep-reference` package applies some light convenience modifications +to the reference, citation and footnote macros after loading standard +classes improving on the default LaTeX behaviour. ## Author @@ -19,6 +15,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-reference/bibliography.bib b/Master/texmf-dist/doc/latex/hep-reference/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-reference/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.pdf b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.pdf Binary files differindex bacea468002..fa0fd7adc53 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.tex b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.tex index 7615eb93ded..f58dc8bf431 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-reference-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -14,27 +14,24 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-reference-documentation.tex}[2022/11/01 v1.1 HEP-Paper documentation] -\RequirePackage[l2tabu, orthodox]{nag} +\ProvidesFile{hep-reference-documentation.tex}[2023/07/01 v1.2 HEP-reference documentation] \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \shortacronym{PDF}{portable document format} -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-reference.sty} \title{The \software{hep-reference} package\thanks{This document corresponds to \software{hep-reference}~\fileversion.}} diff --git a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-implementation.pdf b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-implementation.pdf Binary files differindex b25dd57e2de..c29352bc2d1 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-test.tex b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-test.tex index f5593232a75..cccb7948158 100644 --- a/Master/texmf-dist/doc/latex/hep-reference/hep-reference-test.tex +++ b/Master/texmf-dist/doc/latex/hep-reference/hep-reference-test.tex @@ -6,7 +6,7 @@ %% %% hep-reference-implementation.dtx (with options: `test') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -26,13 +26,17 @@ \section{Section} \label{sec:Section} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis section \ref{sec:Section} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam lobortis section \ref{sec:Section} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis \cref{sec:Section} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam lobortis \cref{sec:Section} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam loborti equation \eqref{eq:Equation} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam loborti equation \eqref{eq:Equation} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam loborti reference \cite{cite} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam loborti reference \cite{cite} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. \footnote{ diff --git a/Master/texmf-dist/doc/latex/hep-text/README-hep-text.md b/Master/texmf-dist/doc/latex/hep-text/README-hep-text.md index f815820aeba..24bdb3c2558 100644 --- a/Master/texmf-dist/doc/latex/hep-text/README-hep-text.md +++ b/Master/texmf-dist/doc/latex/hep-text/README-hep-text.md @@ -6,7 +6,8 @@ List and text extensions ## Introduction -The `hep-text` package extends `LaTeX` lists using the `enumitem package and provides some text macros. +The `hep-text` package extends `LaTeX` lists using the `enumitem package +and provides some text macros. The package can be loaded by `\usepackage{hep-text}`. @@ -16,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-text/README.md b/Master/texmf-dist/doc/latex/hep-text/README.md index f815820aeba..24bdb3c2558 100644 --- a/Master/texmf-dist/doc/latex/hep-text/README.md +++ b/Master/texmf-dist/doc/latex/hep-text/README.md @@ -6,7 +6,8 @@ List and text extensions ## Introduction -The `hep-text` package extends `LaTeX` lists using the `enumitem package and provides some text macros. +The `hep-text` package extends `LaTeX` lists using the `enumitem package +and provides some text macros. The package can be loaded by `\usepackage{hep-text}`. @@ -16,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-text/bibliography.bib b/Master/texmf-dist/doc/latex/hep-text/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-text/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-text/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.pdf b/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.pdf Binary files differindex 42b92285692..08a7e2a13f5 100644 --- a/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex b/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex index bc8cc41f794..685135cc62a 100644 --- a/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-text-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,27 +15,28 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-text-documentation.tex}[2022/11/01 v1.1 HEP-Text documentation] +\ProvidesFile{hep-text-documentation.tex}[2023/07/01 v1.2 HEP-Text documentation] \RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} \acronym{CM}{computer modern} \acronym{LM}{latin modern} -\usepackage{hologo} - \newenvironment{columns}[1][.5]{% \par\vspace{-\bigskipamount}% \begin{minipage}[t]{\linewidth}% @@ -46,9 +47,6 @@ }% }{\end{minipage}\end{minipage}\par} -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-text.sty} \title{The \software{hep-text} package\thanks{This document corresponds to \software{hep-text}~\fileversion.}} diff --git a/Master/texmf-dist/doc/latex/hep-text/hep-text-implementation.pdf b/Master/texmf-dist/doc/latex/hep-text/hep-text-implementation.pdf Binary files differindex f117bdf3228..c6011e501e7 100644 --- a/Master/texmf-dist/doc/latex/hep-text/hep-text-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-text/hep-text-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-title/README-hep-title.md b/Master/texmf-dist/doc/latex/hep-title/README-hep-title.md index 0c203a3a098..a5498e037fa 100644 --- a/Master/texmf-dist/doc/latex/hep-title/README-hep-title.md +++ b/Master/texmf-dist/doc/latex/hep-title/README-hep-title.md @@ -6,7 +6,8 @@ Extensions for the title page ## Introduction -The `hep-title` package extends the title macros of the standard classes with macros for a preprint, affiliation, editors, and endorsers. +The `hep-title` package extends the title macros of the standard classes +with macros for a preprint, affiliation, editors, and endorsers. To use the `hep-title` package include it with `\usepackage{hep-title}`. @@ -16,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-title/README.md b/Master/texmf-dist/doc/latex/hep-title/README.md index 0c203a3a098..a5498e037fa 100644 --- a/Master/texmf-dist/doc/latex/hep-title/README.md +++ b/Master/texmf-dist/doc/latex/hep-title/README.md @@ -6,7 +6,8 @@ Extensions for the title page ## Introduction -The `hep-title` package extends the title macros of the standard classes with macros for a preprint, affiliation, editors, and endorsers. +The `hep-title` package extends the title macros of the standard classes +with macros for a preprint, affiliation, editors, and endorsers. To use the `hep-title` package include it with `\usepackage{hep-title}`. @@ -16,6 +17,9 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. diff --git a/Master/texmf-dist/doc/latex/hep-title/bibliography.bib b/Master/texmf-dist/doc/latex/hep-title/bibliography.bib index 5b217a2aad6..1b79887246a 100644 --- a/Master/texmf-dist/doc/latex/hep-title/bibliography.bib +++ b/Master/texmf-dist/doc/latex/hep-title/bibliography.bib @@ -238,6 +238,16 @@ eprinttype = "ctan", eprint = "amstext", } +@article{amsopn, +title = "The |amsopn| package", +subtitle = "Typeset mathematical operator names", +collaboration = "\hologo{LaTeX3} Project", +date = "1995", +url = "https://ams.org/tex/amslatex", +eprinttype = "ctan", +eprint = "amsopn", +} + @article{amsfonts, title = "The |amsfonts| package", subtitle = "\hologo{TeX} fonts from the American Mathematical Society", @@ -1212,3 +1222,39 @@ year = "2016", eprinttype = "ctan", eprint = "overlays", } + +@article{pgfplots, +title = "The |pgfplots| package", +subtitle = "Create normal/logarithmic plots in two and three dimensions", +author = "Christian Feuersänger", +year = "2007", +eprinttype = "ctan", +eprint = "pgfplots", +} + +@article{pgf, +title = "The |pgf| package", +subtitle = "Create PostScript and PDF graphics in \hologo{TeX}", +author = "Tantau, Till and Menke, Henri", +year = "2005", +eprinttype = "ctan", +eprint = "pgf", +} + +@article{tikz-feynman, +title = "The |pgf| package", +subtitle = "Feynman diagrams with TikZ", +author = "Joshua Ellis", +year = "2016", +eprinttype = "ctan", +eprint = "tikz-feynman", +} + +@article{standalone, +title = "The |standalone| package", +subtitle = "Compile \hologo{TeX} pictures stand-alone or as part of a document", +author = "Martin Scharrer", +year = "2010", +eprinttype = "ctan", +eprint = "standalone", +} diff --git a/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.pdf b/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.pdf Binary files differindex 5efb25df630..bc159ff7968 100644 --- a/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.pdf +++ b/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.tex b/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.tex index d97ed66becb..12ddc7fe838 100644 --- a/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.tex +++ b/Master/texmf-dist/doc/latex/hep-title/hep-title-documentation.tex @@ -6,7 +6,7 @@ %% %% hep-title-implementation.dtx (with options: `documentation') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,29 +15,28 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-title-documentation.tex}[2022/11/01 v1.1 hep-title documentation] +\ProvidesFile{hep-title-documentation.tex}[2023/07/01 v1.2 hep-title documentation] \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} \acronym{PDF}{portable document format} -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - \GetFileInfo{hep-title.sty} @@ -108,7 +107,7 @@ Their font can be adjusted by the "\editorfont"\marg{font} and "\endorserfont"\m \DescribeMacro{\editortitlefont} \DescribeMacro{\endorsertitlefont} The titles of these lines can be adjusted using the "\editortitle"\marg{singluar}\marg{plural} and "\endorsertitle"\marg{singluar}\marg{plural} macros. -Their font can be adjust with the "\editortitlefont"\marg{font} and "\endorsertitlefont"\marg{font}. +Their font can be adjust with the "\editortitlefont"\marg{font} and "\endorsertitlefont"\allowbreak\marg{font}. \subsection{Abstract} diff --git a/Master/texmf-dist/doc/latex/hep-title/hep-title-implementation.pdf b/Master/texmf-dist/doc/latex/hep-title/hep-title-implementation.pdf Binary files differindex 1fad6acc932..73fc350a2ff 100644 --- a/Master/texmf-dist/doc/latex/hep-title/hep-title-implementation.pdf +++ b/Master/texmf-dist/doc/latex/hep-title/hep-title-implementation.pdf diff --git a/Master/texmf-dist/doc/latex/hep-title/hep-title-test-one.tex b/Master/texmf-dist/doc/latex/hep-title/hep-title-test-one.tex index 6158eb49ca7..40e9e950d7c 100644 --- a/Master/texmf-dist/doc/latex/hep-title/hep-title-test-one.tex +++ b/Master/texmf-dist/doc/latex/hep-title/hep-title-test-one.tex @@ -6,7 +6,7 @@ %% %% hep-title-implementation.dtx (with options: `testone') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/doc/latex/hep-title/hep-title-test-two.tex b/Master/texmf-dist/doc/latex/hep-title/hep-title-test-two.tex index c46976b6463..b67762e6b66 100644 --- a/Master/texmf-dist/doc/latex/hep-title/hep-title-test-two.tex +++ b/Master/texmf-dist/doc/latex/hep-title/hep-title-test-two.tex @@ -6,7 +6,7 @@ %% %% hep-title-implementation.dtx (with options: `testtwo') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/fonts/hep-font/hep-font-implementation.dtx b/Master/texmf-dist/source/fonts/hep-font/hep-font-implementation.dtx index e5e80643dc9..53f4d712103 100644 --- a/Master/texmf-dist/source/fonts/hep-font/hep-font-implementation.dtx +++ b/Master/texmf-dist/source/fonts/hep-font/hep-font-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,33 +18,28 @@ % \iffalse % %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-font}[2022/11/01 v1.1 hep-font] -%<documentation>\ProvidesFile{hep-font-documentation.tex}[2022/11/01 v1.1 hep-font documentation] +%<package>\ProvidesPackage{hep-font}[2023/07/01 v1.2 hep-font] +%<documentation>\ProvidesFile{hep-font-documentation.tex}[2023/07/01 v1.2 hep-font documentation] % %<*documentation> - -\RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{CM}{computer modern} \acronym{LM}{latin modern} \acronym{NFSS}{new font selection scheme} - -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -57,7 +52,7 @@ % % \fi % -% \CheckSum{496} +% \CheckSum{498} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -76,7 +71,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -164,14 +159,14 @@ Finally the \software{inputenc} package \cite{inputenc} with the "utf8" option i % \end{macrocode} % % \begin{macro}{size} -% Define the "size" switching taking the font size as an argument. +% Define the "size" option switching taking the font size as an argument. % \begin{macrocode} \DeclareStringOption[11pt]{size} % \end{macrocode} % \end{macro} % % \begin{macro}{sans} -% Define the "sans" switching to sans serif font. +% Define the "sans" option switching to sans serif font. % \begin{macrocode} \DeclareBoolOption[false]{sans} \DeclareComplementaryOption{serif}{sans} @@ -199,6 +194,7 @@ Finally the \software{inputenc} package \cite{inputenc} with the "utf8" option i \@ifclasswith{\hepfont@class}{10pt}{\setkeys{hepfont}{size=10pt}}{} \@ifclasswith{\hepfont@class}{11pt}{\setkeys{hepfont}{size=11pt}}{} \@ifclasswith{\hepfont@class}{12pt}{\setkeys{hepfont}{size=12pt}}{} +\@ifpackageloaded{jheppub}{\setkeys{hepfont}{size=default}}{} % \end{macrocode} % % \begin{macro}{\ifxetexorluatex} @@ -264,28 +260,27 @@ Finally the \software{inputenc} package \cite{inputenc} with the "utf8" option i \RequirePackage{cfr-lm} \fi % \end{macrocode} +% Ensure that the table of contest uses tabular figures using the \software{xpatch} package \cite{xpatch}. +% \begin{macrocode} +\RequirePackage{xpatch} +\xpretocmd{\@dottedtocline}{\tstyle}{}{} +\xpatchcmd{\@dottedtocline}{\normalfont}{\normalfont\tstyle}{}{} +\xpretocmd{\l@section}{\tstyle}{}{} +\xpretocmd{\l@chapter}{\tstyle}{}{} +\xpretocmd{\l@part}{\tstyle}{}{} +% \end{macrocode} % Ensure that the "verbatim" environment uses proportional font and provide an inline "\code" macro. % Work around a bug in \software{nfssext-cfr} which defines a global "\set" macro and breaks other macros of the same name. % \begin{macrocode} -% \let\hep@verbatim\verbatim -% \renewcommand\verbatim{\hep@verbatim\tmstyle} -% \RequirePackage{etoolbox} -% \AtBeginDocument{ -% \ifdefined\set -% \AtBeginEnvironment{verbatim}{\global\let\hep@set\set\tmstyle} -% \AfterEndEnvironment{verbatim}{\renewcommand\set{\hep@set}} -% \else -% \AtBeginEnvironment{verbatim}{\tmstyle} -% \fi -% } -\let\verbatim@font\tmstyle +\newcommand{\codestyle}{\tmstyle\lstyle} +\let\verbatim@font\codestyle \RequirePackage{xparse} -\ProvideDocumentCommand{\code}{v}{{\tmstyle #1}} +\ProvideDocumentCommand{\code}{v}{{\codestyle #1}} % \end{macrocode} % Adjust the figures according to the "lining" option and ensure that tables always use lining. % \begin{macrocode} -% \RequirePackage{etoolbox} -% \AtBeginEnvironment{tabular}{\tlstyle} +\g@addto@macro\@floatboxreset{\tlstyle} +% \g@addto@macro\@subfloatboxreset{\tlstyle} % \end{macrocode} % % Load the \software{textcomp} extension \cite{textcomp} and define helper functions. @@ -547,7 +542,9 @@ Latin modern extended by computer modern. ## Introduction -The `hep-font` package loads standard font packages and extends the usual Latin Modern implementations by replacing missing fonts with Computer Modern counterparts. +The `hep-font` package loads standard font packages and extends the usual +Latin Modern implementations by replacing missing fonts with Computer +Modern counterparts. The package is loaded with `\usepackage{hep-font}`. @@ -557,8 +554,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/fonts/hep-font/hep-font.ins b/Master/texmf-dist/source/fonts/hep-font/hep-font.ins index 1bd0446a1e4..6ab796da16f 100644 --- a/Master/texmf-dist/source/fonts/hep-font/hep-font.ins +++ b/Master/texmf-dist/source/fonts/hep-font/hep-font.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx b/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx index ba55da5855b..15ddf262a41 100644 --- a/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx +++ b/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,33 +18,28 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-math-font}[2022/11/01 v1.1 selection of math fonts for latin modern] -%<documentation>\ProvidesFile{hep-math-font-documentation.tex}[2022/11/01 v1.1 hep-math-Font documentation] +%<package>\ProvidesPackage{hep-math-font}[2023/07/01 v1.2 selection of math fonts for latin modern] +%<documentation>\ProvidesFile{hep-math-font-documentation.tex}[2023/07/01 v1.2 hep-math-Font documentation] % %<*documentation> - -\RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage{fonttable} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{CM}{computer modern} \acronym{LM}{latin modern} - -\usepackage{hologo} -\usepackage{fonttable} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -57,7 +52,7 @@ % % \fi % -% \CheckSum{794} +% \CheckSum{802} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -76,7 +71,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -344,7 +339,11 @@ Hence, the minion option uses three to four more math alphabets than a usual set % \begin{macrocode} \RequirePackage{pdftexcmds} \newif\ifhepmathfont@symbols -\ifnum\pdf@strcmp{\hepmathfont@symbols}{false}=0\else\hepmathfont@symbolstrue\fi +\ifnum + \pdf@strcmp{\hepmathfont@symbols}{false}=0 +\else + \hepmathfont@symbolstrue +\fi \newif\ifhep@ams \ifnum\pdf@strcmp{\hepmathfont@symbols}{ams}=0 \hep@amstrue\fi \newif\ifhep@minion @@ -372,6 +371,9 @@ Hence, the minion option uses three to four more math alphabets than a usual set \newcommand\hep@font@sf{cmssm} \DeclareMathAlphabet{\mathsf}{OML}{\hep@font@sf}{m}{it} \SetMathAlphabet{\mathsf}{bold}{OML}{\hep@font@sf}{b}{it} + \newcommand\hep@textfont@sf{lmss} + \DeclareMathAlphabet{\mathsftext}{OT1}{\hep@textfont@sf}{m}{n} + \SetMathAlphabet{\mathsftext}{bold}{OT1}{\hep@textfont@sf}{bx}{n} % \end{macrocode} % \end{macro} % Define fonts for sans-serif documents. @@ -603,7 +605,7 @@ Hence, the minion option uses three to four more math alphabets than a usual set % \subsubsection{TextCompositeCommands for the generic macros} % % The NFSS TextComposite mechanism looks for the next token without expanding it. -% In order to let compositions like "\ensuregreek{\'\Alpha}" or "\ensuregreek{\>''\alpha}" work as expected we define TextComposites with the `letter name commands`. +% In order to let compositions like "\ensuregreek{\'\Alpha}" or "\ensuregreek"\allowbreak"{\>''\alpha}" work as expected we define TextComposites with the `letter name commands`. % (Composition only works if the active font encoding is LGR). % \begin{macrocode} \@ifl@aded{def}{tuenc-greek}{\input{alphabeta-tuenc.def}}{} @@ -807,9 +809,11 @@ Extended Greek and sans-serif math ## Introduction -The `hep-math-font` package adjust the math fonts to be sans-serif if the document is sans-serif. -Additionally Greek letters are redefined to be always italic and upright in math and text mode respectively. -Some math font macros are adjusted to give more consistently the naively expected results. +The `hep-math-font` package adjust the math fonts to be sans-serif if the +document is sans-serif. Additionally Greek letters are redefined to be +always italic and upright in math and text mode respectively. Some math +font macros are adjusted to give more consistently the naively expected +results. The package is loaded using `\usepackage{hep-math-font}`. @@ -819,8 +823,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font.ins b/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font.ins index e91d18fb925..d812ead0158 100644 --- a/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font.ins +++ b/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-acronym/hep-acronym-implementation.dtx b/Master/texmf-dist/source/latex/hep-acronym/hep-acronym-implementation.dtx index ded23522db7..43a4dd900eb 100644 --- a/Master/texmf-dist/source/latex/hep-acronym/hep-acronym-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-acronym/hep-acronym-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,29 +18,27 @@ % \iffalse % %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-acronym}[2022/11/01 v1.1 Acronyms using glossaries] -%<documentation>\ProvidesFile{hep-acronym-documentation.tex}[2022/11/01 v1.1 hep-acronym documentation] +%<package>\ProvidesPackage{hep-acronym}[2023/07/01 v1.2 Acronyms using glossaries] +%<documentation>\ProvidesFile{hep-acronym-documentation.tex}[2023/07/01 v1.2 hep-acronym documentation] % %<*documentation> - \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges \usepackage{hologo} -\usepackage[parskip]{hep-paper} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{PDF}{portable document format} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -72,7 +70,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -101,7 +99,7 @@ Acronyms are implemented using the \software{glossaries-extra} package \cite{glo It can be loaded using "\usepackage{hep-acronym}". \DescribeMacro{\acronym} -The "\acronym"\meta{*}\oarg{typeset abbreviation}\marg{abbreviation}\meta{*}\marg{definition}\oarg{plural\linebreak[4]definition} macro generates the singular "\"\meta{abbreviation} and plural "\"\meta{abbreviation}"s" macros. +The "\acronym"\meta{*}\oarg{typeset abbreviation}\marg{abbreviation}\meta{*}\marg{definition}\oarg{plural definition} macro generates the singular "\"\meta{abbreviation} and plural "\"\meta{abbreviation}"s" macros. The first star prevents the addition of an \enquote{s} to the abbreviation plural. The second star restores the \hologo{TeX} default of swallowing subsequent white space. @@ -119,12 +117,13 @@ The "\sentence" macro ensures that the directly following abbreviation is capita The "\shortacronym" and "\longacronym" macros are drop-in replacements of the "\acronym" macro showing only the short or long form of their acronym. \DescribeMacro{\resetacronym} -\DescribeMacro{\dummyacronym} The first use form of the acronym can be enforced by resetting the acronym counter with "\resetacronym"\marg{key}. +\DescribeMacro{\dummyacronym} If the acronym counter equals one at the end of the document the short form of the acronym is not introduced. Placing a "\dummyacronym"\marg{key} at the end of the document ensures that the short form is introduced. +\DescribeMacro{warning} In order to reduce the number of potentially conflicting packages the \software{glossaries} package is loaded without any glossary style. In the case that the glossary should be printed additional packages must be loaded via \eg "\usepackage{glossary-list}". @@ -147,11 +146,32 @@ In the case that the glossary should be printed additional packages must be load % %<*package> % +% Define a hepacronym namespace for the options using the \software{kvoptions} package \cite{kvoptions}. +% \begin{macrocode} +\RequirePackage{kvoptions} +\SetupKeyvalOptions{ + family=hepacronym, + prefix=hepacronym@ +} +% \end{macrocode} +% +% \begin{macro}{hyper} +% Define the "hyper" option controlling the hyperlink to the first appearance of the acronyms. +% \begin{macrocode} +\DeclareBoolOption[true]{hyper} +% \end{macrocode} +% \end{macro} +% +% Process options. +% \begin{macrocode} +\ProcessKeyvalOptions* +% \end{macrocode} +% % Load the base package \cite{glossaries, glossaries-extra} and set the abbreviation style. % \begin{macrocode} \PassOptionsToPackage{nostyles}{glossaries-extra} \RequirePackage{glossaries-extra} -\setabbreviationstyle{long-hyphen-short-hyphen} +% \setabbreviationstyle{long-hyphen-short-hyphen} % \end{macrocode} % Use the entry count feature. % \begin{macrocode} @@ -191,6 +211,12 @@ In the case that the glossary should be printed additional packages must be load \@ifpackageloaded{hyperref}{\pdfstringdefDisableCommands{#1}}{}% } % \end{macrocode} +% Deactivate hyperrefs if requested. +% \begin{macrocode} +\ifhepacronym@hyper\else + \glsdisablehyper +\fi +% \end{macrocode} % % \begin{macro}{\begin@sentence} % Mark the beginning of a paragraph as if it would follow a full stop using the \software{everyhook} package \cite{everyhook}. @@ -290,7 +316,7 @@ In the case that the glossary should be printed additional packages must be load % Provide the singular acronym macro in math mode. % \begin{macrocode} \expandafter\mathdef\csname#3\endcsname{% - \text{\glsxtrshort{#3}}\@gls@increment@currcount{#3}% + \mathinner{\text{\glsxtrshort{#3}}}\@gls@increment@currcount{#3}% } % \end{macrocode} % Provide the plural acronym macro. @@ -309,7 +335,7 @@ In the case that the glossary should be printed additional packages must be load % Provide the plural acronym macro in math mode. % \begin{macrocode} \expandafter\mathdef\csname#3s\endcsname{% - \text{\glsxtrshortpl{#3}}\@gls@increment@currcount{#3}% + \mathinner{\text{\glsxtrshortpl{#3}}}\@gls@increment@currcount{#3}% } % \end{macrocode} % Provide an enforced long form. @@ -364,7 +390,7 @@ In the case that the glossary should be printed additional packages must be load % Provide the singular acronym macro in math mode. % \begin{macrocode} \expandafter\mathdef\csname#3\endcsname{% - \text{\IfNoValueTF{#2}{#3}{#2}}% + \mathinner{\text{\IfNoValueTF{#2}{#3}{#2}}}% } % \end{macrocode} % Provide the plural acronym macro. @@ -383,7 +409,7 @@ In the case that the glossary should be printed additional packages must be load % Provide the plural acronym macro in math mode. % \begin{macrocode} \expandafter\mathdef\csname#3s\endcsname{% - \text{\IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}}}% + \mathinner{\text{\IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}}}}% }% % \end{macrocode} % Ensure that long form also exists. @@ -438,6 +464,89 @@ In the case that the glossary should be printed additional packages must be load } % \end{macrocode} % \end{macro} + +% \begin{macro}{\acronymalternative} +% Allow for alternative long text in abbreviation. +% \begin{macrocode} +\NewDocumentCommand{\acronymalternative}{mmsm}{% +% \end{macrocode} +% Store it in the "useri" field. +% \begin{macrocode} + \GlsXtrSetField{#1}{useri}{#4}% +% \end{macrocode} +% Define the acronym +% \begin{macrocode} + \expandafter\newcommand\csname#2\endcsname[1][]{% +% \end{macrocode} +% Redirect the relevant macros to the useri field. +% \begin{macrocode} + \let\hep@glsaccesslong\glsaccesslong% + \let\hep@Glsaccesslong\Glsaccesslong% + \let\glsaccesslong\glsuseri% + \let\Glsaccesslong\Glsuseri% +% \end{macrocode} +% Execute abbreviation macros. +% \begin{macrocode} + \if@begin@of@sentence{% + \ifglsused{#1}{\cgls{#1}[##1]}{\cGls{#1}[##1]}% + }{\cgls{#1}[##1]}% +% \end{macrocode} +% Undo the redirection. +% \begin{macrocode} + \let\glsaccesslong\hep@glsaccesslong% + \let\Glsaccesslong\hep@Glsaccesslong% +% \end{macrocode} +% Spacing code. +% \begin{macrocode} + \ifnum\glsentrycurrcount{#1}>1\relax% + \IfBooleanTF{#3}{}{\@\xspace}% + \else\@\xspace\fi% + } +% \end{macrocode} +% Redirect \PDF code to original acronym. +% \begin{macrocode} + \hep@disable{\expandafter\def\csname#2\endcsname{% + \csname#1\endcsname }% + } +% \end{macrocode} +% Redirect math macro to original acronym. +% \begin{macrocode} + \expandafter\mathdef\csname#2\endcsname{% + \mathinner{\text{\glsxtrshort{#1}}}\@gls@increment@currcount{#1}% + } +% \end{macrocode} +% Provie long version of acronym. +% \begin{macrocode} + \expandafter\newcommand\csname#2long\endcsname[1][]{% +% \end{macrocode} +% Redirect relevant macros. +% \begin{macrocode} + \let\hep@glsentrydesc\glsentrydesc% + \let\hep@Glsentrydesc\Glsentrydesc% + \renewrobustcmd*{\glsentrydesc}[1]{\@gls@entry@field{#1}{useri}}% + \renewrobustcmd*{\Glsentrydesc}[1]{\@Gls@entry@field{#1}{useri}}% +% \end{macrocode} +% Execute relevant macro. +% \begin{macrocode} + \if@begin@of@sentence{\Glsdesc*{#1}[##1]}{\glsdesc*{#1}[##1]}% + \IfBooleanTF{#3}{}{\@\xspace}% +% \end{macrocode} +% Undo redefinition. +% \begin{macrocode} + \let\glsentrydesc\hep@glsentrydesc% + \let\Glsentrydesc\hep@Glsentrydesc% + } +% \end{macrocode} +% Provie \PDF code. +% \begin{macrocode} + \hep@disable{% + \expandafter\def\csname#2long\endcsname{% + \@Gls@entry@field{#1}{useri} % + }% + }% +} +% \end{macrocode} +% \end{macro} % Silence warning if no acronyms are defined. % \begin{macrocode} \renewcommand*{\@gls@write@entrycounts}{% @@ -562,8 +671,8 @@ An acronym extension for glossaries ## Introduction -The `hep-acronym` package provides an acronym macro based on the `glossaries` package. -It can be loaded using `\usepackage{hep-acronym}`. +The `hep-acronym` package provides an acronym macro based on the +`glossaries` package. It can be loaded using `\usepackage{hep-acronym}`. ## Author @@ -571,8 +680,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-acronym/hep-acronym.ins b/Master/texmf-dist/source/latex/hep-acronym/hep-acronym.ins index ca6cb5b42a9..6cb8e09ed69 100644 --- a/Master/texmf-dist/source/latex/hep-acronym/hep-acronym.ins +++ b/Master/texmf-dist/source/latex/hep-acronym/hep-acronym.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography-implementation.dtx b/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography-implementation.dtx index 96a94f48ca0..db8c66d224e 100644 --- a/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,31 +18,28 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-bibliography}[2022/11/01 v1.1 HEP-Bibliography] -%<datamodel>\ProvidesFile{hep-bibliography.dbx}[2022/11/01 v1.1 HEP-Bibliography biblatex data model] -%<documentation>\ProvidesFile{hep-bibliography-documentation.tex}[2022/11/01 v1.1 HEP-Bibliography documentation] +%<package>\ProvidesPackage{hep-bibliography}[2023/07/01 v1.2 HEP-Bibliography] +%<datamodel>\ProvidesFile{hep-bibliography.dbx}[2023/07/01 v1.2 HEP-Bibliography biblatex data model] +%<documentation>\ProvidesFile{hep-bibliography-documentation.tex}[2023/07/01 v1.2 HEP-Bibliography documentation] % %<*documentation> - \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{URL}{uniform resource locator} - -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -74,7 +71,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -108,7 +105,7 @@ The \software{biblatex} package \cite{biblatex} is loaded for bibliography manag The user has to add the line "\bibliography"\marg{my.bib} to the preamble of the document and "\printbibliography" at the end of the document. The bibliography is generated by \software{Biber} \cite{biber}. "biblatex" is extended to be able to cope with the "collaboration" and "reportNumber" fields provided by \online{https://inspirehep.net}{inspirehep.net} and a bug in the volume number is fixed. -Additionally, the PubMed IDs are recognized and \online{https://ctan.org}{ctan.org}, \online{https://github.com}{github.com}, \online{https://gitlab.com}{gitlab.com}, \online{https://bitbucket.org}{bitbucket.org}, \online{https://www.launchpad.net}{launchpad.net}, \online{https://sourceforge.net}{sourceforge.net}, and \online{https://hepforge.org}{hepforge.org} are valid "eprinttype"s. +Additionally, \online{https://ctan.org}{ctan.org}, \online{https://github.com}{github.com}, \online{https://gitlab.com}{gitlab.com}, \online{https://bitbucket.org}{bitbucket.org}, \online{https://www.launchpad.net}{launchpad.net}, \online{https://sourceforge.net}{sourceforge.net}, and \online{https://hepforge.org}{hepforge.org} are valid "eprinttype"s. \DescribeMacro{erratum} Errata can be included using the "related" feature. \begin{verbatim} @@ -199,7 +196,10 @@ Errata can be included using the "related" feature. % \begin{macro}{\bibliography} % Load the \software{biblatex} package \cite{biblatex} with the datamodel defined in \cref{sec:data model}. % \begin{macrocode} -\PassOptionsToPackage{style=\hepbib@style, datamodel=hep-bibliography}{biblatex} +\PassOptionsToPackage{ + style=\hepbib@style, + datamodel=hep-bibliography +}{biblatex} \RequirePackage{biblatex} % \end{macrocode} % \end{macro} @@ -228,39 +228,81 @@ Errata can be included using the "related" feature. safeinputenc, giveninits=true, maxbibnames=7, - backref=true } % \end{macrocode} % -% Hide the backrefs but use the information to link the index to the page of first citation. +% +% Redefine the "pages" filed such that leading zeros are stripped from the page numbers. +% \begin{macrocode} +\newcommand\hep@strip@zero[1]{\expandafter\hep@strip@zero@helper#1} +\newcommand\hep@strip@zero@helper[1]{% + \ifx0#1\expandafter\hep@strip@zero@helper\else#1\fi% +} +\DeclareFieldFormat{pages}{% + \mkpageprefix[bookpagination][{\mknormrange[][\hep@strip@zero]}]{#1}% +} +% \end{macrocode} +% +% Define an internal bibhypertarget. % \begin{macrocode} -\renewbibmacro*{pageref}{}% -\def\blxjk@grabfirslisttitem#1#2\@nil{#1} -\DeclareFieldFormat{labelnumberwidth}{% - \iflistundef{pageref}{% - \mkbibbrackets{#1}% - }{% - \edef\blxjk@firstpage{% - \expandafter\blxjk@grabfirslisttitem\abx@list@pageref{}\@nil% - }% - \ifhyperref{% - \hyperlink{page.\blxjk@firstpage}{\mkbibbrackets{#1}}% - }{% - \mkbibbrackets{#1}% - }% +\DeclareFieldFormat{bibhypertarget}{% + \bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{#1}% +} +% \end{macrocode} +% Redefine the citation command to set the bibhypertarget and call the cite:save macro. +% \begin{macrocode} +\renewbibmacro*{cite:comp}{% + \printtext[bibhypertarget]{% + \stepcounter{cbx@tempcntb}% + \iffieldundef{shorthand}{% + \ifbool{bbx:subentry}{% + \iffieldundef{entrysetcount}{% + \usebibmacro{cite:comp:comp}}{\usebibmacro{cite:comp:inset}% + }% + }{\usebibmacro{cite:comp:comp}}% + }{\usebibmacro{cite:comp:shand}}% }% + \usebibmacro{cite:save}% +} +% \end{macrocode} +% Define the cite:safe macro +% \begin{macrocode} +\newbibmacro*{cite:save}{% + \ifcsundef{cbx@\thefield{entrykey}}{% + \csxdef{cbx@\thefield{entrykey}}{\the\value{instcount}}% + }{}% +} +% \end{macrocode} +% Link from the bibliography to the first cite. +% \begin{macrocode} +\newbibmacro{cbx:linktofirstcite}[1]{% + \ifcsdef{cbx@\thefield{entrykey}}{% + \bibhyperlink{% + \thefield{entrykey}:\csuse{cbx@\thefield{entrykey}}% + }{#1}% + }{#1}% +} +% \end{macrocode} +% Ensure table style numbers in the bibliography labels. +% \begin{macrocode} +\providecommand{\tstyle}{} +\DeclareFieldFormat{labelnumberwidth}{% + \usebibmacro{cbx:linktofirstcite}{\mkbibbrackets{\tstyle#1}}% +} +% \end{macrocode} +% Deactivate counting during caption measurement. +% \begin{macrocode} +\AtBeginDocument{\@ifpackageloaded{caption}{% + \g@addto@macro\caption@prepareslc{\let\blx@citeprint\relax}}{}% } % \end{macrocode} % % Shrink the biblography in two column mode. % \begin{macrocode} -% \newif\ifhep@journal\hep@journalfalse -% \ifhep@journal\else - \if@twocolumn - \AtBeginBibliography{\small} - \setlength\biblabelsep{\labelsep} - \fi -% \fi +\if@twocolumn + \AtBeginBibliography{\small} + \setlength\biblabelsep{\labelsep} +\fi % \end{macrocode} % % \begin{macro}{translationof} @@ -295,16 +337,16 @@ Errata can be included using the "related" feature. % \subsection{Sourcemap} % -% \begin{macro}{\reg@exp@one} -% \begin{macro}{\reg@exp@two} -% \begin{macro}{\reg@exp@url} -% \begin{macro}{\reg@exp@pmc} +% \begin{macro}{\hep@reg@exp@one} +% \begin{macro}{\hep@reg@exp@two} +% \begin{macro}{\hep@reg@exp@url} +% \begin{macro}{\hep@reg@exp@pmc} % Define regular expressions in order to deal with inconsistent journal title and volume naming as well as \URL protocols and the PMCID. % \begin{macrocode} -\newcommand{\reg@exp@one}{\regexp{\A(\p{L}+)?\d+(\p{L}+)?\Z}} -\newcommand{\reg@exp@two}{\regexp{\A(\p{L}+)?(\d+)(\p{L}+)?\Z}} -\newcommand{\reg@exp@url}{\regexp{\A(ht|f)tp(s)?:\/\/}} -\newcommand{\reg@exp@pmc}{\regexp{\A(PMC)?}} +\newcommand{\hep@reg@exp@one}{\regexp{\A(\p{L}+)?\d+(\p{L}+)?\Z}} +\newcommand{\hep@reg@exp@two}{\regexp{\A(\p{L}+)?(\d+)(\p{L}+)?\Z}} +\newcommand{\hep@reg@exp@url}{\regexp{\A(ht|f)tp(s)?:\/\/}} +\newcommand{\hep@reg@exp@pmc}{\regexp{\A(PMC)?}} % \end{macrocode} % \end{macro} % \end{macro} @@ -340,8 +382,8 @@ Errata can be included using the "related" feature. % \begin{macrocode} \map[overwrite]{ \pertype{article} - \step[fieldsource=volume, match=\reg@exp@one, final] - \step[fieldsource=volume, match=\reg@exp@two, replace={$2}] + \step[fieldsource=volume, match=\hep@reg@exp@one, final] + \step[fieldsource=volume, match=\hep@reg@exp@two, replace={$2}] \step[fieldsource=journal, fieldtarget=journaltitle] \step[fieldset=journaltitle, fieldvalue={\space$1$2}, append=true] } @@ -353,7 +395,8 @@ Errata can be included using the "related" feature. \map{ \step[fieldsource=url, final=true] \step[fieldset=protocollessurl, origfieldval, final=true] - \step[fieldsource=protocollessurl, match=\reg@exp@url, replace={}] + \step[fieldsource=protocollessurl, + match=\hep@reg@exp@url, replace={}] } % \end{macrocode} % \end{macro} @@ -363,7 +406,7 @@ Errata can be included using the "related" feature. \map{ \step[fieldsource=pmcid, final=true] \step[fieldset=pmc, origfieldval, final=true] - \step[fieldsource=pmc, match=\reg@exp@pmc, replace={}] + \step[fieldsource=pmc, match=\hep@reg@exp@pmc, replace={}] } }% } @@ -431,10 +474,10 @@ Errata can be included using the "related" feature. % \end{macrocode} % \end{macro} % -% \begin{macro}{\bib@online} -% Private "\bib@online" macro +% \begin{macro}{\hep@bib@online} +% Private "\hep@bib@online" macro % \begin{macrocode} -\newcommand{\bib@online}[2]{% +\newcommand{\hep@bib@online}[2]{% \ifhyperref{\online{#1}{#2}}{\nolinkurl{#2}}% } % \end{macrocode} @@ -446,11 +489,11 @@ Errata can be included using the "related" feature. % \begin{macrocode} \DeclareFieldFormat{pmid}{% \mkbibacro{PM}\addcolon\space% - \bib@online{https://www.ncbi.nlm.nih.gov/pubmed/#1}{#1}% + \hep@bib@online{https://www.ncbi.nlm.nih.gov/pubmed/#1}{#1}% } \DeclareFieldFormat{pmc}{% \mkbibacro{PMC}\addcolon\space% - \bib@online{https://www.ncbi.nlm.nih.gov/pmc/articles/PMC#1}{#1}% + \hep@bib@online{https://www.ncbi.nlm.nih.gov/pmc/articles/PMC#1}{#1}% } % \end{macrocode} % \end{macro} @@ -479,22 +522,38 @@ Errata can be included using the "related" feature. % \subsection{Eprints} % -% \begin{macro}{\new@eprint} -% Private "\new@eprint" macro +% \begin{macro}{\hep@eprint} +% Private "\hep@eprint" macro % \begin{macrocode} -\NewDocumentCommand{\new@eprint}{smm}{ +\NewDocumentCommand{\hep@eprint}{smm}{ \DeclareFieldFormat{eprint:#2}{% \newcommand{\@path}{\IfBooleanT{#1}{\thefield{eprintclass}/}##1}% - #2\addcolon\space\bib@online{#3/\@path}{\@path}% + #2\addcolon\space\hep@bib@online{#3/\@path}{\@path}% }% } % \end{macrocode} % \end{macro} % +% \begin{macro}{CDS} +% Add CERN Document server as a eprint option +% \begin{macrocode} +\hep@eprint{CDS}{https://cds.cern.ch/record} +\DeclareFieldAlias{eprint:cds}{eprint:CDS} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{HEPData} +% Add the repository for publication-related High-Energy Physics data as a eprint option +% \begin{macrocode} +\hep@eprint{HEPData}{https://www.hepdata.net/record} +\DeclareFieldAlias{eprint:hepdata}{eprint:HEPData} +% \end{macrocode} +% \end{macro} +% % \begin{macro}{CTAN} % Add CTAN as a eprint option % \begin{macrocode} -\new@eprint{CTAN}{https://ctan.org/pkg} +\hep@eprint{CTAN}{https://ctan.org/pkg} \DeclareFieldAlias{eprint:ctan}{eprint:CTAN} % \end{macrocode} % \end{macro} @@ -502,7 +561,7 @@ Errata can be included using the "related" feature. % \begin{macro}{GitHub} % Add GitHub as a eprint option % \begin{macrocode} -\new@eprint*{GitHub}{https://github.com} +\hep@eprint*{GitHub}{https://github.com} \DeclareFieldAlias{eprint:github}{eprint:GitHub} % \end{macrocode} % \end{macro} @@ -510,7 +569,7 @@ Errata can be included using the "related" feature. % \begin{macro}{GitLab} % Add GitLab as a eprint option % \begin{macrocode} -\new@eprint*{GitLab}{https://gitlab.com} +\hep@eprint*{GitLab}{https://gitlab.com} \DeclareFieldAlias{eprint:gitlab}{eprint:GitLab} % \end{macrocode} % \end{macro} @@ -518,7 +577,7 @@ Errata can be included using the "related" feature. % \begin{macro}{Bitbucket} % Add Bitbucket as a eprint option % \begin{macrocode} -\new@eprint*{Bitbucket}{https://bitbucket.org} +\hep@eprint*{Bitbucket}{https://bitbucket.org} \DeclareFieldAlias{eprint:bitbucket}{eprint:Bitbucket} % \end{macrocode} % \end{macro} @@ -526,7 +585,7 @@ Errata can be included using the "related" feature. % \begin{macro}{Launchpad} % Add Launchpad as a eprint option % \begin{macrocode} -\new@eprint{Launchpad}{https://launchpad.net} +\hep@eprint{Launchpad}{https://launchpad.net} \DeclareFieldAlias{eprint:launchpad}{eprint:Launchpad} % \end{macrocode} % \end{macro} @@ -534,7 +593,7 @@ Errata can be included using the "related" feature. % \begin{macro}{SourceForge} % Add SourceForge as a eprint option % \begin{macrocode} -\new@eprint{SourceForge}{https://sourceforge.net/projects} +\hep@eprint{SourceForge}{https://sourceforge.net/projects} \DeclareFieldAlias{eprint:sourceforge}{eprint:SourceForge} % \end{macrocode} % \end{macro} @@ -543,7 +602,7 @@ Errata can be included using the "related" feature. % Add HEPForge as a eprint option % \begin{macrocode} \DeclareFieldFormat{eprint:hepforge}{% - HEPForge\addcolon\space\bib@online{https://#1/hepforge.org}{#1}% + HEPForge\addcolon\space\hep@bib@online{https://#1/hepforge.org}{#1}% } \DeclareFieldAlias{eprint:HEPForge}{eprint:hepforge} % \end{macrocode} @@ -665,7 +724,8 @@ Errata can be included using the "related" feature. @article{Aad:2012tfa, author = "Aad, Georges and others", collaboration = "ATLAS", - title = "{Observation of a new particle in the search for the Standard Model Higgs boson with the ATLAS detector at the LHC}", + title = "{Observation of a new particle in the search for + the Standard Model Higgs boson with the ATLAS detector at the LHC}", eprint = "1207.7214", archivePrefix = "arXiv", primaryClass = "hep-ex", @@ -680,7 +740,8 @@ Errata can be included using the "related" feature. @article{Chatrchyan:2012ufa, author = "Chatrchyan, Serguei and others", collaboration = "CMS", - title = "{Observation of a New Boson at a Mass of 125 GeV with the CMS Experiment at the LHC}", + title = "{Observation of a New Boson at a Mass of 125 GeV with the + CMS Experiment at the LHC}", eprint = "1207.7235", archivePrefix = "arXiv", primaryClass = "hep-ex", @@ -741,7 +802,8 @@ Errata can be included using the "related" feature. } @article{Sjostrand:2006za, - author = "Sjostrand, Torbjorn and Mrenna, Stephen and Skands, Peter Z.", + author = "Sjostrand, Torbjorn and Mrenna, Stephen + and Skands, Peter Z.", title = "{PYTHIA 6.4 Physics and Manual}", eprint = "hep-ph/0603175", archivePrefix = "arXiv", @@ -756,7 +818,8 @@ Errata can be included using the "related" feature. @article{Spergel:2003cb, author = "Spergel, D. N. and others", collaboration = "WMAP", - title = "{First year Wilkinson Microwave Anisotropy Probe (WMAP) observations: Determination of cosmological parameters}", + title = "{First year Wilkinson Microwave Anisotropy Probe (WMAP) + observations: Determination of cosmological parameters}", eprint = "astro-ph/0302209", archivePrefix = "arXiv", doi = "10.1086/377226", @@ -770,7 +833,8 @@ Errata can be included using the "related" feature. author = "Agostinelli, S. and others", collaboration = "GEANT4", title = "{GEANT4--a simulation toolkit}", - reportNumber = "SLAC-PUB-9350, FERMILAB-PUB-03-339, CERN-IT-2002-003", + reportNumber = "SLAC-PUB-9350, FERMILAB-PUB-03-339, + CERN-IT-2002-003", doi = "10.1016/S0168-9002(03)01368-8", journal = "Nucl. Instrum. Meth. A", volume = "506", @@ -794,7 +858,8 @@ Errata can be included using the "related" feature. @article{Perlmutter:1998np, author = "Perlmutter, S. and others", collaboration = "Supernova Cosmology Project", - title = "{Measurements of $\Omega$ and $\Lambda$ from 42 high redshift supernovae}", + title = "{Measurements of $\Omega$ and $\Lambda$ from 42 high + redshift supernovae}", eprint = "astro-ph/9812133", archivePrefix = "arXiv", reportNumber = "LBNL-41801, LBL-41801", @@ -808,7 +873,8 @@ Errata can be included using the "related" feature. @article{Riess:1998cb, author = "Riess, Adam G. and others", collaboration = "Supernova Search Team", - title = "{Observational evidence from supernovae for an accelerating universe and a cosmological constant}", + title = "{Observational evidence from supernovae for an accelerating + universe and a cosmological constant}", eprint = "astro-ph/9805201", archivePrefix = "arXiv", doi = "10.1086/300499", @@ -832,7 +898,8 @@ Errata can be included using the "related" feature. } @article{Gubser:1998bc, - author = "Gubser, S. S. and Klebanov, Igor R. and Polyakov, Alexander M.", + author = "Gubser, S. S. and Klebanov, Igor R. + and Polyakov, Alexander M.", title = "{Gauge theory correlators from noncritical string theory}", eprint = "hep-th/9802109", archivePrefix = "arXiv", @@ -846,7 +913,8 @@ Errata can be included using the "related" feature. @article{Maldacena:1997re, author = "Maldacena, Juan Martin", - title = "{The Large N limit of superconformal field theories and supergravity}", + title = "{The Large N limit of superconformal field + theories and supergravity}", eprint = "hep-th/9711200", archivePrefix = "arXiv", reportNumber = "HUTP-97-A097, HUTP-98-A097", @@ -858,8 +926,10 @@ Errata can be included using the "related" feature. } @article{Schlegel:1997yv, - author = "Schlegel, David J. and Finkbeiner, Douglas P. and Davis, Marc", - title = "{Maps of dust IR emission for use in estimation of reddening and CMBR foregrounds}", + author = "Schlegel, David J. and Finkbeiner, Douglas P. + and Davis, Marc", + title = "{Maps of dust IR emission for use in estimation + of reddening and CMBR foregrounds}", eprint = "astro-ph/9710327", archivePrefix = "arXiv", doi = "10.1086/305772", @@ -872,7 +942,8 @@ Errata can be included using the "related" feature. @article{Guth:1980zm, author = "Guth, Alan H.", editor = "Fang, Li-Zhi and Ruffini, R.", - title = "{The Inflationary Universe: A Possible Solution to the Horizon and Flatness Problems}", + title = "{The Inflationary Universe: A Possible Solution + to the Horizon and Flatness Problems}", reportNumber = "SLAC-PUB-2576", doi = "10.1103/PhysRevD.23.347", journal = "Phys. Rev. D", @@ -907,7 +978,8 @@ Errata can be included using the "related" feature. @article{Kobayashi:1973fv, author = "Kobayashi, Makoto and Maskawa, Toshihide", - title = "{CP Violation in the Renormalizable Theory of Weak Interaction}", + title = "{CP Violation in the Renormalizable Theory of + Weak Interaction}", reportNumber = "KUNS-242", doi = "10.1143/PTP.49.652", journal = "Prog. Theor. Phys.", @@ -966,8 +1038,9 @@ Bibliographies for high energy physics ## Introduction -The `hep-bibliography` package extends the `biblatex` package with some functionality mostly useful for high energy physics. -In particular it makes full use of all `bibtex` fields provided by `inspirehep.net`. +The `hep-bibliography` package extends the `biblatex` package with some +functionality mostly useful for high energy physics. In particular it +makes full use of all `bibtex` fields provided by `inspirehep.net`. The package can be loaded via `\usepackage{hep-bibliography}`. @@ -977,8 +1050,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography.ins b/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography.ins index 06c54faa88f..89fadae4cfd 100644 --- a/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography.ins +++ b/Master/texmf-dist/source/latex/hep-bibliography/hep-bibliography.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-float/hep-float-implementation.dtx b/Master/texmf-dist/source/latex/hep-float/hep-float-implementation.dtx index 55811d9c1d4..7bb77d67c1e 100644 --- a/Master/texmf-dist/source/latex/hep-float/hep-float-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-float/hep-float-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,29 +18,25 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-float}[2022/11/01 v1.1 Float adjustments ] -%<documentation>\ProvidesFile{hep-float-documentation.tex}[2022/11/01 v1.1 hep-float documentation] +%<package>\ProvidesPackage{hep-float}[2023/07/01 v1.2 Float adjustments] +%<documentation>\ProvidesFile{hep-float-documentation.tex}[2023/07/01 v1.2 hep-float documentation] % %<*documentation> - -\RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip, oldstyle]{hep-paper} - -\bibliography{bibliography} - \usepackage{hologo} -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} +\bibliography{bibliography} %</documentation> %<*driver> @@ -72,7 +68,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -224,17 +220,17 @@ If the graphics are located in a sub-folder its path can be indicated by "\graph \let\end@hep@table\endtable% \ifhepfloat@manualplacement% \renewenvironment{figure}[1][tbp]{% - \hep@figure[#1]\centering% + \hep@figure[#1]\centering\small% }{\end@hep@figure}% \renewenvironment{table}[1][tbp]{% - \hep@table[#1]\centering% + \hep@table[#1]\centering\small% }{\end@hep@table}% \else% \renewenvironment{figure}[1][]{% - \hep@figure\centering% + \hep@figure\centering\small% }{\end@hep@figure}% \renewenvironment{table}[1][]{% - \hep@table\centering% + \hep@table\centering\small% }{\end@hep@table} \fi% % \end{macrocode} @@ -242,6 +238,79 @@ If the graphics are located in a sub-folder its path can be indicated by "\graph % \end{environment} % % +% \subsection{floats} +% +% \begin{environment}{figures} +% \begin{macro}{\figure} +% Define the "figures" environment that places figures next to each other. +% \begin{macrocode} +\newcommand{\figurehspace}{0.0333} +\newcommand{\figurevspace}{.5\baselineskip} +\newenvironment{figures}[2][b]{% + \begin{figure} + \let\oldcaption\caption + \renewcommand{\caption}[1]{% + \renewcommand{\caption}{\oldcaption}% + \captionof{figure}{##1}\vspace{\figurevspace}% + } + \ifdim#2pt>1pt% + \newcommand{\hep@figure@space}{\figurehspace\linewidth/#2}% + \renewcommand{\figure}[1][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{\linewidth/#2-\hep@figure@space}% + } + \begin{minipage}[#1]{\linewidth/#2-\hep@figure@space} + \else% + \newcommand{\hep@figure@space}[1]{##1\linewidth*\real{\figurehspace}} + \renewcommand{\figure}[2][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{##2\linewidth-\hep@figure@space{##2}}% + } + \begin{minipage}[#1]{#2\linewidth-\hep@figure@space{#2}} + \fi% +}{% +\end{minipage}\end{figure}% +} +% \end{macrocode} +% \end{macro} +% \end{environment} +% \begin{environment}{tables} +% \begin{macro}{\table} +% Define the "tables" environment that places tables next to each other. +% \begin{macrocode} +\newcommand{\tablehspace}{0.0333} +\newcommand{\tablevspace}{.5\baselineskip} +\newenvironment{tables}[2][b]{% + \begin{table} + \let\oldcaption\caption + \renewcommand{\caption}[1]{% + \renewcommand{\caption}{\oldcaption}% + \captionof{table}{##1}\vspace{\tablevspace}% + } + \ifdim#2pt>1pt% + \newcommand{\hep@table@space}{\tablehspace\linewidth/#2}% + \renewcommand{\table}[1][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{\linewidth/#2-\hep@table@space}\centering% + } + \begin{minipage}[#1]{\linewidth/#2-\hep@table@space}\centering + \else% + \newcommand{\hep@table@space}[1]{##1\linewidth*\real{\tablehspace}} + \renewcommand{\table}[2][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{##2\linewidth-\hep@table@space{##2}}% + \centering% + } + \begin{minipage}[#1]{#2\linewidth-\hep@table@space{#2}}% + \centering + \fi% +}{% +\end{minipage}\end{table}% +} +% \end{macrocode} +% \end{macro} +% \end{environment} +% % \subsection{Sub-floats} % % Load the \software{subcaption} package \cite{subcaption}. @@ -298,18 +367,19 @@ If the graphics are located in a sub-folder its path can be indicated by "\graph % Define the "\panel" macro for the case that the width of the panel is given. % \begin{macrocode} \else% + \newcommand{\hep@panel@space}[1]{##1\linewidth*\real{\panelhspace}}% \newcommand{\panel}[2][b]{% \endminipage\hfill\begin@subcaption@minipage[#1]{% - ##2\linewidth-##2\linewidth*\real{\panelhspace}% + ##2\linewidth-\hep@panel@space{##2}% }% }% \begin@subcaption@minipage[#1]{% - #2\linewidth-#2\linewidth*\real{\panelhspace}% + #2\linewidth-\hep@panel@space{#2}% }% \fi% -}{ -\endsubcaptionblock -\vspace{-\panelvspace} +}{% +\endsubcaptionblock% +\vspace{-\panelvspace}% } % \end{macrocode} % \end{macro} @@ -349,6 +419,127 @@ If the graphics are located in a sub-folder its path can be indicated by "\graph % %</package> % +% \section{Test} +% +%<*test> +% +% \begin{macrocode} +\documentclass{article} + +\usepackage[showframe]{geometry} +\usepackage{hep-float} + +\begin{document} + +\begin{figure} +\graphic[.5]{example-image-4x3} +\caption{test} +\end{figure} + +\begin{figures}{.3} +\graphic{example-image-4x3} +\caption{one} +\figure{.4} +\graphic{example-image-16x9} +\caption{two} +\figure{.3} +\graphic{example-image-4x3} +\caption{three} +\figure{.3} +\graphic{example-image-4x3} +\caption{one} +\figure{.4} +\graphic{example-image-16x9} +\caption{two} +\figure{.3} +\graphic{example-image-4x3} +\caption{three} +\end{figures} + +\begin{figures}{3} +\graphic{example-image-1x1} +\caption{one} +\figure +\graphic{example-image-1x1} +\caption{two} +\figure +\graphic{example-image-1x1} +\caption{three} +\figure +\graphic{example-image-1x1} +\caption{one} +\figure +\graphic{example-image-1x1} +\caption{two} +\figure +\graphic{example-image-1x1} +\caption{three} +\end{figures} + + +\begin{figure} +\begin{panels}{3} +\graphic{example-image-1x1} +\caption{a} +\panel +\graphic{example-image-1x1} +\caption{b} +\panel +\graphic{example-image-1x1} +\caption{c} +\panel +\graphic{example-image-1x1} +\caption{d} +\panel +\graphic{example-image-1x1} +\caption{e} +\panel +\graphic{example-image-1x1} +\caption{f} +\end{panels} +\caption{Panels} +\end{figure} + +\begin{figure} +\begin{panels}{.3} +\graphic{example-image-4x3} +\caption{a} +\panel{.4} +\graphic{example-image-16x9} +\caption{b} +\panel{.3} +\graphic{example-image-4x3} +\caption{c} +\panel{.225} +\graphic{example-image-1x1} +\caption{d} +\panel{.4} +\graphic{example-image-16x9} +\caption{e} +\panel{.225} +\graphic[.8]{example-image-1x1} +\caption{f} +\end{panels} +\caption{Panels 2} +\end{figure} + +\begin{tables}{2} +\begin{tabular}{cc}\toprule +a & b \\ +\bottomrule\end{tabular} +\caption{a} +\table +\begin{tabular}{cc}\toprule +a & b \\ +\bottomrule\end{tabular} +\caption{b} +\end{tables} + +\end{document} +% \end{macrocode} +% +%</test> +% % \section{Readme} % %<*readme> @@ -360,9 +551,9 @@ Convenience package for float placement ## Introduction -The `hep-float` package redefines some `LaTeX` float placement defaults and defines convenience wrappers for floats. - -The `hep-float` package can be loaded with `\usepackage{hep-float}`. +The `hep-float` package redefines some `LaTeX` float placement defaults +and defines convenience wrappers for floats. The `hep-float` package can +be loaded with `\usepackage{hep-float}`. ## Author @@ -370,8 +561,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-float/hep-float.ins b/Master/texmf-dist/source/latex/hep-float/hep-float.ins index be734d91b7a..0290c3c1add 100644 --- a/Master/texmf-dist/source/latex/hep-float/hep-float.ins +++ b/Master/texmf-dist/source/latex/hep-float/hep-float.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later @@ -29,6 +29,7 @@ LaTeX version 2005/12/01 or later. \generate{ \file{hep-float-documentation.tex}{\from{hep-float-implementation.dtx}{documentation}} \file{hep-float.sty}{\from{hep-float-implementation.dtx}{package}} + \file{hep-float-test.tex}{\from{hep-float-implementation.dtx}{test}} \nopreamble\nopostamble\file{README-hep-float.md}{\from{hep-float-implementation.dtx}{readme}} } diff --git a/Master/texmf-dist/source/latex/hep-math/hep-math-implementation.dtx b/Master/texmf-dist/source/latex/hep-math/hep-math-implementation.dtx index 26b9c0ea5bc..9c4284081b0 100644 --- a/Master/texmf-dist/source/latex/hep-math/hep-math-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-math/hep-math-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,23 +18,28 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-math}[2022/11/01 v1.1 Math and physics macros] -%<documentation>\ProvidesFile{hep-math-documentation.tex}[2022/11/01 v1.1 hep-math documentation] +%<package>\ProvidesPackage{hep-math}[2023/07/01 v1.2 Math and physics macros] +%<documentation>\ProvidesFile{hep-math-documentation.tex}[2023/07/01 v1.2 hep-math documentation] % %<*documentation> - \RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip,oldstyle]{hep-paper} +\usepackage{hologo} + +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} +\bibliography{bibliography} +\setlength{\fboxsep}{1pt} \newenvironment{columns}[1][.5]{% \par\vspace{-\bigskipamount}% \begin{minipage}[t]{\linewidth}% @@ -44,14 +49,6 @@ \begin{minipage}[t]{\linewidth-#1\linewidth}% }% }{\end{minipage}\end{minipage}\par} - -\bibliography{bibliography} - -\usepackage{hologo} - -\MacroIndent=1.5em -\setlength{\fboxsep}{1pt} -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -64,7 +61,7 @@ % % \fi % -% \CheckSum{657} +% \CheckSum{702} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -83,7 +80,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -171,7 +168,7 @@ Finer details about mathematical typesetting can be found in \cite{gregorio:2020 \DescribeMacro{\differential} \DescribeMacro{\newderivative} \DescribeMacro{\newpartialderivative} -The three macros "\differential"\marg{symbol}, "\newderivative""{\name}"\marg{symbol}, and "\newpartialderivative""{\name}"\marg{symbol} allow to define a differential with correct spacing, a derivative using this differential, and if necessary a partial derivative that can handle three dimensional derivatives. +The three macros "\differential"\marg{symbol}, "\newderivative" "{\name}"\marg{symbol}, and "\newpartialderivative" "{\name}"\marg{symbol} allow to define a differential with correct spacing, a derivative using this differential, and if necessary a partial derivative that can handle three dimensional derivatives. \DescribeMacro{\d} \DescribeMacro{\dv} @@ -185,7 +182,9 @@ $\dv xf$ & $\dv*xf$ & $\dv x*f$ & $\dv*x*f$ \end{tabular} \end{center} via "\dv*"\oarg{f}\marg{x}"*""^"\marg{n}. -Upright differential can be produced via "\renewcommand" "{\diffsymbol}""{\mathrm d}". +Upright differential can be produced via "\renewcommand""{\diffsymbol}" "{\mathrm d}". +The differential takes care of the correct spacing as long as it is placed at the end of the integral $\int f(x)\d x$. +In order to archive correct spacing when it is placed at the beginning of the integral it is advisable to place the whole expression in a "\mathop{\int\d x} f(x)" such that $\mathop{\int\d x} f(x)$. \DescribeMacro{\pd} \DescribeMacro{\pdv} @@ -450,7 +449,8 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s % \begin{macro}{\i} % Provide an upright imaginary unit in math mode. % \begin{macrocode} -\AtBeginDocument{\mathdef{\i}{\operatorname{i}}} +\newcommand{\imaginaryunit}{\text{i}} +\AtBeginDocument{\mathdef{\i}{\imaginaryunit}} % \end{macrocode} % \end{macro} % @@ -616,8 +616,25 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s % % \begin{macro}{\unit} % Load the \software{units} package \cite{units} which provides the "\units" and "\nicefrac" macros. +% Patch the "\unit" macros to behave like "\mathinner" within an equation % \begin{macrocode} \RequirePackage{units} +\let\oldunit\unit +\renewcommand{\unit}[2][]{% + \ifthenelse{\boolean{mmode}}{% + \mathinner{\oldunit[#1]{#2}}% + }{% + \oldunit[#1]{#2}% + }% +} +\let\oldunitfrac\unitfrac +\renewcommand{\unitfrac}[3][]{% + \ifthenelse{\boolean{mmode}}{% + \mathinner{\oldunitfrac[#1]{#2}{#3}}% + }{% + \oldunitfrac[#1]{#2}{#3}% + }% +} % \end{macrocode} % \end{macro} % @@ -639,10 +656,11 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s % Provide a flat fraction. % \begin{macrocode} \DeclarePairedDelimiterX{\hep@flatfrac}[2]{.}{.}{% - \kern-\nulldelimiterspace#1\delimsize/\hep@left@delim#2\kern-\nulldelimiterspace% + \kern-\nulldelimiterspace#1\delimsize/% + \hep@left@delim#2\kern-\nulldelimiterspace% } \NewDocumentCommand{\flatfrac}{somm}{% - \mathop{ + \mathinner{% \IfBooleanTF{#1}{% \hep@flatfrac*{#3}{#4}% }{% @@ -658,6 +676,17 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s % % \subsubsection{Differentials and derivatives} % +% \begin{macro}{\int} +% Redefine "\int". +% \begin{macrocode} +\let\hep@int\int +\RenewDocumentCommand{\int}{oe{_^}}{% + \def\temp{\hep@int_{\IfValueT{#2}{#2}}^{\IfValueT{#3}{#3}}}% + \IfValueTF{#1}{\mathop{\temp#1}}{\temp}% +} +% \end{macrocode} +% \end{macro} +% % \begin{macro}{\differential} % Define a generic differential "\differential". % \begin{macrocode} @@ -837,6 +866,16 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s % \end{macro} % \end{macro} +% \begin{macro}{\floor} +% \begin{macro}{\ceil} +% Floor and ceiling paired delimiters. +% \begin{macrocode} +\DeclarePairedDelimiter\ceil{\lceil}{\rceil} +\DeclarePairedDelimiter\floor{\lfloor}{\rfloor} +% \end{macrocode} +% \end{macro} +% \end{macro} + % \begin{macro}{\ordersymbol} % \begin{macro}{\order} % Order symbol and macro. @@ -1017,7 +1056,8 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s % Define the bra macro. % \begin{macrocode} \DeclarePairedDelimiterXPP\hep@bra[1]{% - }{\langle}{\rvert}{\braketinnerspace}{\braketouterspace#1\braketinnerspace% + }{\langle}{\rvert}{\braketinnerspace% + }{\braketouterspace#1\braketinnerspace% } \NewDocumentCommand{\bra}{smt\ket sgt\ketbra sgg}{% \IfBooleanTF{#6}{% @@ -1135,7 +1175,8 @@ Extended math macros ## Introduction -The `hep-math` package provides some additional features beyond the `mathtools` and `amsmath` packages. +The `hep-math` package provides some additional features beyond the +`mathtools` and `amsmath` packages. To use the package place `\usepackage{hep-math}` in the preamble. @@ -1145,8 +1186,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-math/hep-math.ins b/Master/texmf-dist/source/latex/hep-math/hep-math.ins index 1d02e20dcee..aca65004d09 100644 --- a/Master/texmf-dist/source/latex/hep-math/hep-math.ins +++ b/Master/texmf-dist/source/latex/hep-math/hep-math.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-paper/hep-paper-implementation.dtx b/Master/texmf-dist/source/latex/hep-paper/hep-paper-implementation.dtx index 1fe7658b0ab..b0b1b39ca60 100644 --- a/Master/texmf-dist/source/latex/hep-paper/hep-paper-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-paper/hep-paper-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019-2022 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,31 +18,28 @@ % \iffalse % %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-paper}[2022/11/01 v2.1 Publications in High Energy Physics] -%<documentation>\ProvidesFile{hep-paper-documentation.tex}[2022/11/01 v2.1 HEP-Paper documentation] +%<package>\ProvidesPackage{hep-paper}[2023/07/01 v2.2 Publications in High Energy Physics] +%<documentation>\ProvidesFile{hep-paper-documentation.tex}[2023/07/01 v2.2 HEP-Paper documentation] % %<*documentation> -% \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \acronym{PDF}{portable document format} \acronym{LM}{latin modern} - -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -65,7 +62,7 @@ % \changes{v1.7}{2021/06/01}{Introduction of dedicated style file for the title, acronyms and bibliography macros. Extension of the title macros.} % \changes{v1.8}{2021/08/01}{Expand thanks to allow for reference label and fine tune the title page. Reimplement the must relevant macros from the physics package. Make mathrm produce upright Greek.} % \changes{v2.0}{2021/09/01}{Move independent logic into dedicated packages.} -% \changes{v2.1}{2022/11/01}{Bug fixes in the underlying packages.} +% \changes{v2.1}{2023/07/01}{Bug fixes in the underlying packages.} % % \ifshort %<*documentation> @@ -703,13 +700,11 @@ The \software{arxiv-collector} python script \cite{arxiv-collector} alleviates t \AtBeginDocument{\renewcommand{\foreignabbrfont}{}} \fi \ifhep@jhep - \hoffset 0in - \voffset 0in - \RequirePackage{geometry} - \AtBeginDocument{\newgeometry{ - textheight=.757\paperheight, - textwidth=.72\paperwidth, - }} + \PassOptionsToPackage{\hep@paper paper}{geometry} + \RequirePackage{geometry} + \geometry{ + offset=0in,textheight=.762\paperheight,textwidth=.72\paperwidth + } \fi % \end{macrocode} % @@ -1058,7 +1053,8 @@ The \software{arxiv-collector} python script \cite{arxiv-collector} alleviates t First affiliation\\ E-mail: \email{second@email.com} } -\author{Third author \thanks{\email{third@email.com}}\\Second affiliation} +\author{Third author \thanks{\email{third@email.com}}\\ +Second affiliation} \author{Fourth author\\Third affiliation} \FullConference{Full conference} \ShortTitle{Short title} @@ -1185,10 +1181,14 @@ A `LaTeX` package for publications in High Energy Physics. ## Introduction -The `hep-paper` package aims to provide a single style file containing most configurations and macros necessary to write appealing publications in High Energy Physics. -Instead of reinventing the wheel by introducing newly created macros `hep-paper` preferably loads third party packages as long as they are lightweight enough. +The `hep-paper` package aims to provide a single style file containing +most configurations and macros necessary to write appealing publications +in High Energy Physics. Instead of reinventing the wheel by introducing +newly created macros `hep-paper` preferably loads third party packages as +long as they are lightweight enough. -For usual publications it is enough to load additionally to the `article` class without optional arguments only the `hep-paper` package. +For usual publications it is enough to load additionally to the `article` +class without optional arguments only the `hep-paper` package. \documentclass{article} \usepackage{hep-paper} @@ -1199,8 +1199,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-paper/hep-paper.ins b/Master/texmf-dist/source/latex/hep-paper/hep-paper.ins index eddbb9aafee..b65927a2e61 100644 --- a/Master/texmf-dist/source/latex/hep-paper/hep-paper.ins +++ b/Master/texmf-dist/source/latex/hep-paper/hep-paper.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2022 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-reference/hep-reference-implementation.dtx b/Master/texmf-dist/source/latex/hep-reference/hep-reference-implementation.dtx index 03722624cb2..507647ac989 100644 --- a/Master/texmf-dist/source/latex/hep-reference/hep-reference-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-reference/hep-reference-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,30 +18,26 @@ % \iffalse % %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-reference}[2022/11/01 v1.1 Publications in High Energy Physics] -%<documentation>\ProvidesFile{hep-reference-documentation.tex}[2022/11/01 v1.1 HEP-Paper documentation] +%<package>\ProvidesPackage{hep-reference}[2023/07/01 v1.2 Convenience macros for references] +%<documentation>\ProvidesFile{hep-reference-documentation.tex}[2023/07/01 v1.2 HEP-reference documentation] % %<*documentation> -% -\RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} - \shortacronym{PDF}{portable document format} - -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -54,7 +50,7 @@ % % \fi % -% \CheckSum{179} +% \CheckSum{180} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -73,7 +69,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2011/08/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -147,8 +143,8 @@ Additionally the reference back to the text where they are called from. } \AtBeginDocument{\@ifpackageloaded{doc}{\hypersetup{hidelinks}}{}} % \end{macrocode} -% Set the \PDF meta data according to the paper information and ensure that unnecessary information is suppressed. % +% Ensure that unnecessary information is suppressed. % \begin{macrocode} \pdfstringdefDisableCommands{\def\varepsilon{\textepsilon}} \pdfstringdefDisableCommands{\def\to{\textrightarrow}} @@ -160,11 +156,22 @@ Additionally the reference back to the text where they are called from. \pdfstringdefDisableCommands{\let\footnote\@gobble} \pdfstringdefDisableCommands{\let\\\@gobble} } -\AtBeginDocument{\hypersetup{pdftitle={\@title}}} -\AtBeginDocument{\hypersetup{pdfauthor={\@author}}} -\AtBeginDocument{\@ifundefined{hep@key@words}{}{% - \hypersetup{pdfkeywords={\hep@key@words}}% -}} +% \end{macrocode} +% +% Set the \PDF meta data according to the paper information +% +% \begin{macrocode} +\AtBeginDocument{ + \@ifundefined{hep@sub@title}{ + \hypersetup{pdftitle={\@title}} + }{ + \hypersetup{pdftitle={\@title: \hep@sub@title}} + } + \hypersetup{pdfauthor={\@author}} + \@ifundefined{hep@key@words}{}{% + \hypersetup{pdfkeywords={\hep@key@words}}% + } +} % \end{macrocode} % \subsection{Footnotes} @@ -207,16 +214,17 @@ Additionally the reference back to the text where they are called from. % \begin{macro}{\usecommand} % Define the "\usecommand" macro providing an anonymous function. % \begin{macrocode} -\providecommand\use@command{} +\providecommand\hep@use@command{} \newcommand\usecommand[2][1]{% - \renewcommand\use@command[#1]{#2}\use@command% + \renewcommand\hep@use@command[#1]{#2}\hep@use@command% } % \end{macrocode} % \end{macro} % % \begin{macro}{\textlabel} -% Define the "\textlabel" macro allowing to link to a piece of text. +% Define the "\textlabel" macro allowing to link to a piece of text using the \software{etoolbox} pcakage \cite{etoolbox}. % \begin{macrocode} +\RequirePackage{etoolbox} \NewDocumentCommand\textlabel{O{}mO{}m}{% \protected@write\@auxout{}{% \string\newlabel{#2}{% @@ -335,13 +343,17 @@ Additionally the reference back to the text where they are called from. \section{Section} \label{sec:Section} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis section \ref{sec:Section} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam lobortis section \ref{sec:Section} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis \cref{sec:Section} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam lobortis \cref{sec:Section} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam loborti equation \eqref{eq:Equation} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam loborti equation \eqref{eq:Equation} -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam loborti reference \cite{cite} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. +Etiam loborti reference \cite{cite} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. \footnote{ @@ -373,13 +385,9 @@ A `LaTeX` package for publications in High Energy Physics. ## Introduction -The `hep-reference` package aims to provide a single style file containing most configurations and macros necessary to write appealing publications in High Energy Physics. -Instead of reinventing the wheel by introducing newly created macros `hep-reference` preferably loads third party packages as long as they are lightweight enough. - -For usual publications it is enough to load additionally to the `article` class without optional arguments only the `hep-reference` package. - - \documentclass{article} - \usepackage{hep-reference} +The `hep-reference` package applies some light convenience modifications +to the reference, citation and footnote macros after loading standard +classes improving on the default LaTeX behaviour. ## Author @@ -387,8 +395,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-reference/hep-reference.ins b/Master/texmf-dist/source/latex/hep-reference/hep-reference.ins index c2ed685ccfc..40390ff9771 100644 --- a/Master/texmf-dist/source/latex/hep-reference/hep-reference.ins +++ b/Master/texmf-dist/source/latex/hep-reference/hep-reference.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx b/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx index cb1228d9fad..cec31e76362 100644 --- a/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,30 +18,31 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-text}[2022/11/01 v1.1 Some text macros] -%<documentation>\ProvidesFile{hep-text-documentation.tex}[2022/11/01 v1.1 HEP-Text documentation] +%<package>\ProvidesPackage{hep-text}[2023/07/01 v1.2 Some text macros] +%<documentation>\ProvidesFile{hep-text-documentation.tex}[2023/07/01 v1.2 HEP-Text documentation] % %<*documentation> \RequirePackage[l2tabu, orthodox]{nag} - \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} \acronym{CM}{computer modern} \acronym{LM}{latin modern} -\usepackage{hologo} - \newenvironment{columns}[1][.5]{% \par\vspace{-\bigskipamount}% \begin{minipage}[t]{\linewidth}% @@ -51,9 +52,6 @@ \begin{minipage}[t]{\linewidth-#1\linewidth}% }% }{\end{minipage}\end{minipage}\par} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} %</documentation> %<*driver> @@ -85,7 +83,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2019/01/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -365,7 +363,8 @@ List and text extensions ## Introduction -The `hep-text` package extends `LaTeX` lists using the `enumitem package and provides some text macros. +The `hep-text` package extends `LaTeX` lists using the `enumitem package +and provides some text macros. The package can be loaded by `\usepackage{hep-text}`. @@ -375,8 +374,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-text/hep-text.ins b/Master/texmf-dist/source/latex/hep-text/hep-text.ins index 1b8b9381d57..d94b15b0016 100644 --- a/Master/texmf-dist/source/latex/hep-text/hep-text.ins +++ b/Master/texmf-dist/source/latex/hep-text/hep-text.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/source/latex/hep-title/hep-title-implementation.dtx b/Master/texmf-dist/source/latex/hep-title/hep-title-implementation.dtx index da2445a4d12..195f54ec915 100644 --- a/Master/texmf-dist/source/latex/hep-title/hep-title-implementation.dtx +++ b/Master/texmf-dist/source/latex/hep-title/hep-title-implementation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Jan Hajer +% Copyright (C) 2019-2023 by Jan Hajer % ----------------------------------- % % This file may be distributed and/or modified under the @@ -18,32 +18,31 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] -%<package>\ProvidesPackage{hep-title}[2022/11/01 v1.1 Extend title page macros] -%<documentation>\ProvidesFile{hep-title-documentation.tex}[2022/11/01 v1.1 hep-title documentation] +%<package>\ProvidesPackage{hep-title}[2023/07/01 v1.2 Extend title page macros] +%<documentation>\ProvidesFile{hep-title-documentation.tex}[2023/07/01 v1.2 hep-title documentation] % %<*documentation> \RequirePackage[l2tabu, orthodox]{nag} \documentclass{ltxdoc} + +\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}} +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} +\renewcommand{\MacroFont}{\codestyle} \AtBeginDocument{\DeleteShortVerb{\|}} \AtBeginDocument{\MakeShortVerb{\"}} - \EnableCrossrefs \CodelineIndex \RecordChanges -\usepackage[parskip]{hep-paper} +\usepackage{hologo} +\usepackage[parskip,oldstyle,font=10pt]{hep-paper} \bibliography{bibliography} \acronym{PDF}{portable document format} -\usepackage{hologo} - -\MacroIndent=1.5em -\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} - %</documentation> %<*driver> @@ -75,7 +74,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2021/09/01}{Initial version of the style file.} -% \changes{v1.1}{2022/11/01}{Bug fixes.} +% \changes{v1.1}{2023/07/01}{Bug fixes.} % % \ifshort %<*documentation> @@ -152,7 +151,7 @@ Their font can be adjusted by the "\editorfont"\marg{font} and "\endorserfont"\m \DescribeMacro{\editortitlefont} \DescribeMacro{\endorsertitlefont} The titles of these lines can be adjusted using the "\editortitle"\marg{singluar}\marg{plural} and "\endorsertitle"\marg{singluar}\marg{plural} macros. -Their font can be adjust with the "\editortitlefont"\marg{font} and "\endorsertitlefont"\marg{font}. +Their font can be adjust with the "\editortitlefont"\marg{font} and "\endorsertitlefont"\allowbreak\marg{font}. \subsection{Abstract} @@ -552,7 +551,9 @@ The "\preprintfont" macro can be used to change the font of the preprint. % \begin{macro}{\endorser} % Copy of the "authblk" author code adjusted for endorsers. % \begin{macrocode} -\DeclareRobustCommand\endorser{\@ifnextchar[{\hep@@endorser}{\hep@@@endorser}} +\DeclareRobustCommand\endorser{% + \@ifnextchar[{\hep@@endorser}{\hep@@@endorser}% +} \def\hep@@endorser[#1]#2{\hep@@@@endorser[#1]{#2}} \def\hep@@@endorser#1{\hep@@@@endorser{#1}} \newcommand\hep@@@@endorser[2][]{% @@ -913,7 +914,8 @@ Extensions for the title page ## Introduction -The `hep-title` package extends the title macros of the standard classes with macros for a preprint, affiliation, editors, and endorsers. +The `hep-title` package extends the title macros of the standard classes +with macros for a preprint, affiliation, editors, and endorsers. To use the `hep-title` package include it with `\usepackage{hep-title}`. @@ -923,8 +925,11 @@ Jan Hajer ## License -This file may be distributed and/or modified under the conditions of the `LaTeX` Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. +This file may be distributed and/or modified under the conditions of the +`LaTeX` Project Public License, either version 1.3c of this license or +(at your option) any later version. The latest version of this license is +in `http://www.latex-project.org/lppl.txt` and version 1.3c or later is +part of all distributions of LaTeX version 2005/12/01 or later. % \end{macrocode} % %</readme> diff --git a/Master/texmf-dist/source/latex/hep-title/hep-title.ins b/Master/texmf-dist/source/latex/hep-title/hep-title.ins index 7ad98b6490a..cef4b265c27 100644 --- a/Master/texmf-dist/source/latex/hep-title/hep-title.ins +++ b/Master/texmf-dist/source/latex/hep-title/hep-title.ins @@ -1,4 +1,4 @@ -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ \preamble This is a generated file. -Copyright (C) 2019-2020 by Jan Hajer +Copyright (C) 2019-2023 by Jan Hajer This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later diff --git a/Master/texmf-dist/tex/latex/hep-acronym/hep-acronym.sty b/Master/texmf-dist/tex/latex/hep-acronym/hep-acronym.sty index aea9164920f..73c72b50973 100644 --- a/Master/texmf-dist/tex/latex/hep-acronym/hep-acronym.sty +++ b/Master/texmf-dist/tex/latex/hep-acronym/hep-acronym.sty @@ -6,7 +6,7 @@ %% %% hep-acronym-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,11 +15,17 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-acronym}[2022/11/01 v1.1 Acronyms using glossaries] +\ProvidesPackage{hep-acronym}[2023/07/01 v1.2 Acronyms using glossaries] +\RequirePackage{kvoptions} +\SetupKeyvalOptions{ + family=hepacronym, + prefix=hepacronym@ +} +\DeclareBoolOption[true]{hyper} +\ProcessKeyvalOptions* \PassOptionsToPackage{nostyles}{glossaries-extra} \RequirePackage{glossaries-extra} -\setabbreviationstyle{long-hyphen-short-hyphen} \glsenableentrycount \glssetcategoryattribute{abbreviation}{entrycount}{1} \AtBeginDocument{ @@ -46,6 +52,9 @@ \newcommand{\hep@disable}[1]{% \@ifpackageloaded{hyperref}{\pdfstringdefDisableCommands{#1}}{}% } +\ifhepacronym@hyper\else + \glsdisablehyper +\fi \PassOptionsToPackage{excludeor}{everyhook} \RequirePackage{everyhook} \newcommand{\begin@sentence}{1001} @@ -100,7 +109,7 @@ \IfNoValueTF{#2}{#3}{#2} }% } \expandafter\mathdef\csname#3\endcsname{% - \text{\glsxtrshort{#3}}\@gls@increment@currcount{#3}% + \mathinner{\text{\glsxtrshort{#3}}}\@gls@increment@currcount{#3}% } \expandafter\newcommand\csname#3s\endcsname[1][]{% \if@begin@of@sentence{\cGlspl{#3}[##1]}{\cglspl{#3}[##1]}% @@ -110,7 +119,7 @@ \IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}} }% } \expandafter\mathdef\csname#3s\endcsname{% - \text{\glsxtrshortpl{#3}}\@gls@increment@currcount{#3}% + \mathinner{\text{\glsxtrshortpl{#3}}}\@gls@increment@currcount{#3}% } \expandafter\newcommand\csname#3long\endcsname[1][]{% \if@begin@of@sentence{\Glsdesc*{#3}[##1]}{\glsdesc*{#3}[##1]}% @@ -135,7 +144,7 @@ \IfNoValueTF{#2}{#3}{#2} }% } \expandafter\mathdef\csname#3\endcsname{% - \text{\IfNoValueTF{#2}{#3}{#2}}% + \mathinner{\text{\IfNoValueTF{#2}{#3}{#2}}}% } \expandafter\newcommand\csname#3s\endcsname[1][]{% \IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}}% @@ -145,7 +154,7 @@ \IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}} }% } \expandafter\mathdef\csname#3s\endcsname{% - \text{\IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}}}% + \mathinner{\text{\IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}}}}% }% \expandafter\let\csname#3long\expandafter\endcsname\csname#3\endcsname \expandafter\let\csname#3slong\expandafter\endcsname\csname#3s\endcsname @@ -168,6 +177,45 @@ \expandafter\let\csname#3long\expandafter\endcsname\csname#3\endcsname \expandafter\let\csname#3slong\expandafter\endcsname\csname#3s\endcsname } + +\NewDocumentCommand{\acronymalternative}{mmsm}{% + \GlsXtrSetField{#1}{useri}{#4}% + \expandafter\newcommand\csname#2\endcsname[1][]{% + \let\hep@glsaccesslong\glsaccesslong% + \let\hep@Glsaccesslong\Glsaccesslong% + \let\glsaccesslong\glsuseri% + \let\Glsaccesslong\Glsuseri% + \if@begin@of@sentence{% + \ifglsused{#1}{\cgls{#1}[##1]}{\cGls{#1}[##1]}% + }{\cgls{#1}[##1]}% + \let\glsaccesslong\hep@glsaccesslong% + \let\Glsaccesslong\hep@Glsaccesslong% + \ifnum\glsentrycurrcount{#1}>1\relax% + \IfBooleanTF{#3}{}{\@\xspace}% + \else\@\xspace\fi% + } + \hep@disable{\expandafter\def\csname#2\endcsname{% + \csname#1\endcsname }% + } + \expandafter\mathdef\csname#2\endcsname{% + \mathinner{\text{\glsxtrshort{#1}}}\@gls@increment@currcount{#1}% + } + \expandafter\newcommand\csname#2long\endcsname[1][]{% + \let\hep@glsentrydesc\glsentrydesc% + \let\hep@Glsentrydesc\Glsentrydesc% + \renewrobustcmd*{\glsentrydesc}[1]{\@gls@entry@field{#1}{useri}}% + \renewrobustcmd*{\Glsentrydesc}[1]{\@Gls@entry@field{#1}{useri}}% + \if@begin@of@sentence{\Glsdesc*{#1}[##1]}{\glsdesc*{#1}[##1]}% + \IfBooleanTF{#3}{}{\@\xspace}% + \let\glsentrydesc\hep@glsentrydesc% + \let\Glsentrydesc\hep@Glsentrydesc% + } + \hep@disable{% + \expandafter\def\csname#2long\endcsname{% + \@Gls@entry@field{#1}{useri} % + }% + }% +} \renewcommand*{\@gls@write@entrycounts}{% \immediate\write\@auxout{% \string\providecommand*{\string\@gls@entry@count}[2]{} diff --git a/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.dbx b/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.dbx index 82542fdfc5c..fff713c9706 100644 --- a/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.dbx +++ b/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.dbx @@ -6,7 +6,7 @@ %% %% hep-bibliography-implementation.dtx (with options: `datamodel') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,7 +15,7 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -\ProvidesFile{hep-bibliography.dbx}[2022/11/01 v1.1 HEP-Bibliography biblatex data model] +\ProvidesFile{hep-bibliography.dbx}[2023/07/01 v1.2 HEP-Bibliography biblatex data model] \DeclareDatamodelFields[type=field, datatype=literal]{ collaboration, pmid, pmcid, pmc, diff --git a/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.sty b/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.sty index a80a8a43c27..fef88484549 100644 --- a/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.sty +++ b/Master/texmf-dist/tex/latex/hep-bibliography/hep-bibliography.sty @@ -6,7 +6,7 @@ %% %% hep-bibliography-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -16,7 +16,7 @@ %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-bibliography}[2022/11/01 v1.1 HEP-Bibliography] +\ProvidesPackage{hep-bibliography}[2023/07/01 v1.2 HEP-Bibliography] \RequirePackage{kvoptions} @@ -45,7 +45,10 @@ \seq_use:Nnnn \hep@items@sequence{~and~}{,~}{,~and~} } \ExplSyntaxOff -\PassOptionsToPackage{style=\hepbib@style, datamodel=hep-bibliography}{biblatex} +\PassOptionsToPackage{ + style=\hepbib@style, + datamodel=hep-bibliography +}{biblatex} \RequirePackage{biblatex} \providecommand{\DeclareSortingTemplate}{\DeclareSortingScheme} \DeclareSortingTemplate{hep-bibliography}{ @@ -62,28 +65,53 @@ safeinputenc, giveninits=true, maxbibnames=7, - backref=true } -\renewbibmacro*{pageref}{}% -\def\blxjk@grabfirslisttitem#1#2\@nil{#1} -\DeclareFieldFormat{labelnumberwidth}{% - \iflistundef{pageref}{% - \mkbibbrackets{#1}% - }{% - \edef\blxjk@firstpage{% - \expandafter\blxjk@grabfirslisttitem\abx@list@pageref{}\@nil% - }% - \ifhyperref{% - \hyperlink{page.\blxjk@firstpage}{\mkbibbrackets{#1}}% - }{% - \mkbibbrackets{#1}% - }% +\newcommand\hep@strip@zero[1]{\expandafter\hep@strip@zero@helper#1} +\newcommand\hep@strip@zero@helper[1]{% + \ifx0#1\expandafter\hep@strip@zero@helper\else#1\fi% +} +\DeclareFieldFormat{pages}{% + \mkpageprefix[bookpagination][{\mknormrange[][\hep@strip@zero]}]{#1}% +} +\DeclareFieldFormat{bibhypertarget}{% + \bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{#1}% +} +\renewbibmacro*{cite:comp}{% + \printtext[bibhypertarget]{% + \stepcounter{cbx@tempcntb}% + \iffieldundef{shorthand}{% + \ifbool{bbx:subentry}{% + \iffieldundef{entrysetcount}{% + \usebibmacro{cite:comp:comp}}{\usebibmacro{cite:comp:inset}% + }% + }{\usebibmacro{cite:comp:comp}}% + }{\usebibmacro{cite:comp:shand}}% }% + \usebibmacro{cite:save}% +} +\newbibmacro*{cite:save}{% + \ifcsundef{cbx@\thefield{entrykey}}{% + \csxdef{cbx@\thefield{entrykey}}{\the\value{instcount}}% + }{}% +} +\newbibmacro{cbx:linktofirstcite}[1]{% + \ifcsdef{cbx@\thefield{entrykey}}{% + \bibhyperlink{% + \thefield{entrykey}:\csuse{cbx@\thefield{entrykey}}% + }{#1}% + }{#1}% +} +\providecommand{\tstyle}{} +\DeclareFieldFormat{labelnumberwidth}{% + \usebibmacro{cbx:linktofirstcite}{\mkbibbrackets{\tstyle#1}}% +} +\AtBeginDocument{\@ifpackageloaded{caption}{% + \g@addto@macro\caption@prepareslc{\let\blx@citeprint\relax}}{}% } - \if@twocolumn - \AtBeginBibliography{\small} - \setlength\biblabelsep{\labelsep} - \fi +\if@twocolumn + \AtBeginBibliography{\small} + \setlength\biblabelsep{\labelsep} +\fi \DefineBibliographyStrings{english}{translationof={Original}} \NewBibliographyString{erratum,erratums} \DefineBibliographyStrings{english}{erratum={Erratum},erratums={Errata}} @@ -93,10 +121,10 @@ \let\hep@printbibliography\printbibliography \renewcommand{\printbibliography}{\sloppy\hep@printbibliography} -\newcommand{\reg@exp@one}{\regexp{\A(\p{L}+)?\d+(\p{L}+)?\Z}} -\newcommand{\reg@exp@two}{\regexp{\A(\p{L}+)?(\d+)(\p{L}+)?\Z}} -\newcommand{\reg@exp@url}{\regexp{\A(ht|f)tp(s)?:\/\/}} -\newcommand{\reg@exp@pmc}{\regexp{\A(PMC)?}} +\newcommand{\hep@reg@exp@one}{\regexp{\A(\p{L}+)?\d+(\p{L}+)?\Z}} +\newcommand{\hep@reg@exp@two}{\regexp{\A(\p{L}+)?(\d+)(\p{L}+)?\Z}} +\newcommand{\hep@reg@exp@url}{\regexp{\A(ht|f)tp(s)?:\/\/}} +\newcommand{\hep@reg@exp@pmc}{\regexp{\A(PMC)?}} \DeclareSourcemap{% \maps[datatype=bibtex, overwrite=true]{% \map{% @@ -109,20 +137,21 @@ }% \map[overwrite]{ \pertype{article} - \step[fieldsource=volume, match=\reg@exp@one, final] - \step[fieldsource=volume, match=\reg@exp@two, replace={$2}] + \step[fieldsource=volume, match=\hep@reg@exp@one, final] + \step[fieldsource=volume, match=\hep@reg@exp@two, replace={$2}] \step[fieldsource=journal, fieldtarget=journaltitle] \step[fieldset=journaltitle, fieldvalue={\space$1$2}, append=true] } \map{ \step[fieldsource=url, final=true] \step[fieldset=protocollessurl, origfieldval, final=true] - \step[fieldsource=protocollessurl, match=\reg@exp@url, replace={}] + \step[fieldsource=protocollessurl, + match=\hep@reg@exp@url, replace={}] } \map{ \step[fieldsource=pmcid, final=true] \step[fieldset=pmc, origfieldval, final=true] - \step[fieldsource=pmc, match=\reg@exp@pmc, replace={}] + \step[fieldsource=pmc, match=\hep@reg@exp@pmc, replace={}] } }% } @@ -156,16 +185,16 @@ \DeclareFieldFormat{url}{% \mkbibacro{URL}\addcolon\space\online{#1}{\thefield{protocollessurl}}% } -\newcommand{\bib@online}[2]{% +\newcommand{\hep@bib@online}[2]{% \ifhyperref{\online{#1}{#2}}{\nolinkurl{#2}}% } \DeclareFieldFormat{pmid}{% \mkbibacro{PM}\addcolon\space% - \bib@online{https://www.ncbi.nlm.nih.gov/pubmed/#1}{#1}% + \hep@bib@online{https://www.ncbi.nlm.nih.gov/pubmed/#1}{#1}% } \DeclareFieldFormat{pmc}{% \mkbibacro{PMC}\addcolon\space% - \bib@online{https://www.ncbi.nlm.nih.gov/pmc/articles/PMC#1}{#1}% + \hep@bib@online{https://www.ncbi.nlm.nih.gov/pmc/articles/PMC#1}{#1}% } \letbibmacro{hep-doi+eprint+url}{doi+eprint+url} \renewbibmacro*{doi+eprint+url}{% @@ -179,26 +208,30 @@ }% } -\NewDocumentCommand{\new@eprint}{smm}{ +\NewDocumentCommand{\hep@eprint}{smm}{ \DeclareFieldFormat{eprint:#2}{% \newcommand{\@path}{\IfBooleanT{#1}{\thefield{eprintclass}/}##1}% - #2\addcolon\space\bib@online{#3/\@path}{\@path}% + #2\addcolon\space\hep@bib@online{#3/\@path}{\@path}% }% } -\new@eprint{CTAN}{https://ctan.org/pkg} +\hep@eprint{CDS}{https://cds.cern.ch/record} +\DeclareFieldAlias{eprint:cds}{eprint:CDS} +\hep@eprint{HEPData}{https://www.hepdata.net/record} +\DeclareFieldAlias{eprint:hepdata}{eprint:HEPData} +\hep@eprint{CTAN}{https://ctan.org/pkg} \DeclareFieldAlias{eprint:ctan}{eprint:CTAN} -\new@eprint*{GitHub}{https://github.com} +\hep@eprint*{GitHub}{https://github.com} \DeclareFieldAlias{eprint:github}{eprint:GitHub} -\new@eprint*{GitLab}{https://gitlab.com} +\hep@eprint*{GitLab}{https://gitlab.com} \DeclareFieldAlias{eprint:gitlab}{eprint:GitLab} -\new@eprint*{Bitbucket}{https://bitbucket.org} +\hep@eprint*{Bitbucket}{https://bitbucket.org} \DeclareFieldAlias{eprint:bitbucket}{eprint:Bitbucket} -\new@eprint{Launchpad}{https://launchpad.net} +\hep@eprint{Launchpad}{https://launchpad.net} \DeclareFieldAlias{eprint:launchpad}{eprint:Launchpad} -\new@eprint{SourceForge}{https://sourceforge.net/projects} +\hep@eprint{SourceForge}{https://sourceforge.net/projects} \DeclareFieldAlias{eprint:sourceforge}{eprint:SourceForge} \DeclareFieldFormat{eprint:hepforge}{% - HEPForge\addcolon\space\bib@online{https://#1/hepforge.org}{#1}% + HEPForge\addcolon\space\hep@bib@online{https://#1/hepforge.org}{#1}% } \DeclareFieldAlias{eprint:HEPForge}{eprint:hepforge} \NewBibliographyString{refname} diff --git a/Master/texmf-dist/tex/latex/hep-float/hep-float.sty b/Master/texmf-dist/tex/latex/hep-float/hep-float.sty index f23be0f008c..99c08cb29db 100644 --- a/Master/texmf-dist/tex/latex/hep-float/hep-float.sty +++ b/Master/texmf-dist/tex/latex/hep-float/hep-float.sty @@ -6,7 +6,7 @@ %% %% hep-float-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -16,7 +16,7 @@ %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-float}[2022/11/01 v1.1 Float adjustments ] +\ProvidesPackage{hep-float}[2023/07/01 v1.2 Float adjustments] \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -38,19 +38,75 @@ \let\end@hep@table\endtable% \ifhepfloat@manualplacement% \renewenvironment{figure}[1][tbp]{% - \hep@figure[#1]\centering% + \hep@figure[#1]\centering\small% }{\end@hep@figure}% \renewenvironment{table}[1][tbp]{% - \hep@table[#1]\centering% + \hep@table[#1]\centering\small% }{\end@hep@table}% \else% \renewenvironment{figure}[1][]{% - \hep@figure\centering% + \hep@figure\centering\small% }{\end@hep@figure}% \renewenvironment{table}[1][]{% - \hep@table\centering% + \hep@table\centering\small% }{\end@hep@table} \fi% +\newcommand{\figurehspace}{0.0333} +\newcommand{\figurevspace}{.5\baselineskip} +\newenvironment{figures}[2][b]{% + \begin{figure} + \let\oldcaption\caption + \renewcommand{\caption}[1]{% + \renewcommand{\caption}{\oldcaption}% + \captionof{figure}{##1}\vspace{\figurevspace}% + } + \ifdim#2pt>1pt% + \newcommand{\hep@figure@space}{\figurehspace\linewidth/#2}% + \renewcommand{\figure}[1][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{\linewidth/#2-\hep@figure@space}% + } + \begin{minipage}[#1]{\linewidth/#2-\hep@figure@space} + \else% + \newcommand{\hep@figure@space}[1]{##1\linewidth*\real{\figurehspace}} + \renewcommand{\figure}[2][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{##2\linewidth-\hep@figure@space{##2}}% + } + \begin{minipage}[#1]{#2\linewidth-\hep@figure@space{#2}} + \fi% +}{% +\end{minipage}\end{figure}% +} +\newcommand{\tablehspace}{0.0333} +\newcommand{\tablevspace}{.5\baselineskip} +\newenvironment{tables}[2][b]{% + \begin{table} + \let\oldcaption\caption + \renewcommand{\caption}[1]{% + \renewcommand{\caption}{\oldcaption}% + \captionof{table}{##1}\vspace{\tablevspace}% + } + \ifdim#2pt>1pt% + \newcommand{\hep@table@space}{\tablehspace\linewidth/#2}% + \renewcommand{\table}[1][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{\linewidth/#2-\hep@table@space}\centering% + } + \begin{minipage}[#1]{\linewidth/#2-\hep@table@space}\centering + \else% + \newcommand{\hep@table@space}[1]{##1\linewidth*\real{\tablehspace}} + \renewcommand{\table}[2][b]{% + \end{minipage}\hfill% + \begin{minipage}[##1]{##2\linewidth-\hep@table@space{##2}}% + \centering% + } + \begin{minipage}[#1]{#2\linewidth-\hep@table@space{#2}}% + \centering + \fi% +}{% +\end{minipage}\end{table}% +} \PassOptionsToPackage{subrefformat=parens}{subcaption} \RequirePackage{subcaption} \captionsetup{font=small} @@ -81,18 +137,19 @@ }% \begin@subcaption@minipage[#1]{\linewidth/#2-\hep@panel@space}% \else% + \newcommand{\hep@panel@space}[1]{##1\linewidth*\real{\panelhspace}}% \newcommand{\panel}[2][b]{% \endminipage\hfill\begin@subcaption@minipage[#1]{% - ##2\linewidth-##2\linewidth*\real{\panelhspace}% + ##2\linewidth-\hep@panel@space{##2}% }% }% \begin@subcaption@minipage[#1]{% - #2\linewidth-#2\linewidth*\real{\panelhspace}% + #2\linewidth-\hep@panel@space{#2}% }% \fi% -}{ -\endsubcaptionblock -\vspace{-\panelvspace} +}{% +\endsubcaptionblock% +\vspace{-\panelvspace}% } \RequirePackage{booktabs} \RequirePackage{multirow} diff --git a/Master/texmf-dist/tex/latex/hep-font/hep-font.sty b/Master/texmf-dist/tex/latex/hep-font/hep-font.sty index fe6749cdd4a..4c8751ea7b9 100644 --- a/Master/texmf-dist/tex/latex/hep-font/hep-font.sty +++ b/Master/texmf-dist/tex/latex/hep-font/hep-font.sty @@ -6,7 +6,7 @@ %% %% hep-font-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,7 +15,7 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-font}[2022/11/01 v1.1 hep-font] +\ProvidesPackage{hep-font}[2023/07/01 v1.2 hep-font] \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -34,6 +34,7 @@ \@ifclasswith{\hepfont@class}{10pt}{\setkeys{hepfont}{size=10pt}}{} \@ifclasswith{\hepfont@class}{11pt}{\setkeys{hepfont}{size=11pt}}{} \@ifclasswith{\hepfont@class}{12pt}{\setkeys{hepfont}{size=12pt}}{} +\@ifpackageloaded{jheppub}{\setkeys{hepfont}{size=default}}{} \RequirePackage{ifluatex} \RequirePackage{ifxetex} \newif\ifxetexorluatex @@ -73,9 +74,17 @@ \fi \RequirePackage{cfr-lm} \fi -\let\verbatim@font\tmstyle +\RequirePackage{xpatch} +\xpretocmd{\@dottedtocline}{\tstyle}{}{} +\xpatchcmd{\@dottedtocline}{\normalfont}{\normalfont\tstyle}{}{} +\xpretocmd{\l@section}{\tstyle}{}{} +\xpretocmd{\l@chapter}{\tstyle}{}{} +\xpretocmd{\l@part}{\tstyle}{}{} +\newcommand{\codestyle}{\tmstyle\lstyle} +\let\verbatim@font\codestyle \RequirePackage{xparse} -\ProvideDocumentCommand{\code}{v}{{\tmstyle #1}} +\ProvideDocumentCommand{\code}{v}{{\codestyle #1}} +\g@addto@macro\@floatboxreset{\tlstyle} \RequirePackage{textcomp} \newcommand{\hepfont@sf@shape}[3]{% \DeclareFontShape{\hepfont@encoding}{\sfdefault}{#1}{#2}{#3}{}% diff --git a/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty b/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty index a2284fb22cc..39b6d808750 100644 --- a/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty +++ b/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty @@ -6,7 +6,7 @@ %% %% hep-math-font-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -16,7 +16,7 @@ %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-math-font}[2022/11/01 v1.1 selection of math fonts for latin modern] +\ProvidesPackage{hep-math-font}[2023/07/01 v1.2 selection of math fonts for latin modern] \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -34,7 +34,11 @@ \fi \RequirePackage{pdftexcmds} \newif\ifhepmathfont@symbols -\ifnum\pdf@strcmp{\hepmathfont@symbols}{false}=0\else\hepmathfont@symbolstrue\fi +\ifnum + \pdf@strcmp{\hepmathfont@symbols}{false}=0 +\else + \hepmathfont@symbolstrue +\fi \newif\ifhep@ams \ifnum\pdf@strcmp{\hepmathfont@symbols}{ams}=0 \hep@amstrue\fi \newif\ifhep@minion @@ -48,6 +52,9 @@ \newcommand\hep@font@sf{cmssm} \DeclareMathAlphabet{\mathsf}{OML}{\hep@font@sf}{m}{it} \SetMathAlphabet{\mathsf}{bold}{OML}{\hep@font@sf}{b}{it} + \newcommand\hep@textfont@sf{lmss} + \DeclareMathAlphabet{\mathsftext}{OT1}{\hep@textfont@sf}{m}{n} + \SetMathAlphabet{\mathsftext}{bold}{OT1}{\hep@textfont@sf}{bx}{n} \else \newcommand\hep@font@sf{lmr} \newcommand\hep@font@text{lmss} diff --git a/Master/texmf-dist/tex/latex/hep-math/hep-math.sty b/Master/texmf-dist/tex/latex/hep-math/hep-math.sty index 6b1db517ce8..78703dd14f4 100644 --- a/Master/texmf-dist/tex/latex/hep-math/hep-math.sty +++ b/Master/texmf-dist/tex/latex/hep-math/hep-math.sty @@ -6,7 +6,7 @@ %% %% hep-math-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -16,7 +16,7 @@ %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-math}[2022/11/01 v1.1 Math and physics macros] +\ProvidesPackage{hep-math}[2023/07/01 v1.2 Math and physics macros] \RequirePackage{mathtools} \mathtoolsset{centercolon} @@ -39,7 +39,8 @@ \next }% } -\AtBeginDocument{\mathdef{\i}{\operatorname{i}}} +\newcommand{\imaginaryunit}{\text{i}} +\AtBeginDocument{\mathdef{\i}{\imaginaryunit}} \RequirePackage{soulutf8} \newcommand\textoverline[1]{{\setul{-1.9ex}{}\ul{#1}}} \let\overline\textoverline @@ -91,13 +92,30 @@ \DeclareMathOperator{\csch}{csch} \DeclareMathOperator{\sech}{sech} \RequirePackage{units} +\let\oldunit\unit +\renewcommand{\unit}[2][]{% + \ifthenelse{\boolean{mmode}}{% + \mathinner{\oldunit[#1]{#2}}% + }{% + \oldunit[#1]{#2}% + }% +} +\let\oldunitfrac\unitfrac +\renewcommand{\unitfrac}[3][]{% + \ifthenelse{\boolean{mmode}}{% + \mathinner{\oldunitfrac[#1]{#2}{#3}}% + }{% + \oldunitfrac[#1]{#2}{#3}% + }% +} \newcommand{\inv}[2][1]{#2\ensuremath{^{-#1}}} \newcommand{\textfrac}[2]{\ensuremath{\nicefrac{\text{#1}}{\text{#2}}}} \DeclarePairedDelimiterX{\hep@flatfrac}[2]{.}{.}{% - \kern-\nulldelimiterspace#1\delimsize/\hep@left@delim#2\kern-\nulldelimiterspace% + \kern-\nulldelimiterspace#1\delimsize/% + \hep@left@delim#2\kern-\nulldelimiterspace% } \NewDocumentCommand{\flatfrac}{somm}{% - \mathop{ + \mathinner{% \IfBooleanTF{#1}{% \hep@flatfrac*{#3}{#4}% }{% @@ -108,6 +126,11 @@ }% }% } +\let\hep@int\int +\RenewDocumentCommand{\int}{oe{_^}}{% + \def\temp{\hep@int_{\IfValueT{#2}{#2}}^{\IfValueT{#3}{#3}}}% + \IfValueTF{#1}{\mathop{\temp#1}}{\temp}% +} \newcommand{\differential}[1]{\mathop{}\!#1} \newcommand\newderivative[2]{ \NewDocumentCommand{#1}{somse{^}}{% @@ -180,6 +203,9 @@ }{\optionalargument{#3}}% } +\DeclarePairedDelimiter\ceil{\lceil}{\rceil} +\DeclarePairedDelimiter\floor{\lfloor}{\rfloor} + \providecommand{\ordersymbol}{\mathcal{O}} \DeclarePairedDelimiterXPP\order[1]{\ordersymbol}(){}{#1} @@ -270,7 +296,8 @@ } \DeclarePairedDelimiterXPP\hep@bra[1]{% - }{\langle}{\rvert}{\braketinnerspace}{\braketouterspace#1\braketinnerspace% + }{\langle}{\rvert}{\braketinnerspace% + }{\braketouterspace#1\braketinnerspace% } \NewDocumentCommand{\bra}{smt\ket sgt\ketbra sgg}{% \IfBooleanTF{#6}{% diff --git a/Master/texmf-dist/tex/latex/hep-paper/hep-paper.sty b/Master/texmf-dist/tex/latex/hep-paper/hep-paper.sty index e00fd3faab6..eeaf89fa151 100644 --- a/Master/texmf-dist/tex/latex/hep-paper/hep-paper.sty +++ b/Master/texmf-dist/tex/latex/hep-paper/hep-paper.sty @@ -6,7 +6,7 @@ %% %% hep-paper-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2022 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,7 +15,7 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-paper}[2022/11/01 v2.1 Publications in High Energy Physics] +\ProvidesPackage{hep-paper}[2023/07/01 v2.2 Publications in High Energy Physics] \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -109,13 +109,11 @@ \AtBeginDocument{\renewcommand{\foreignabbrfont}{}} \fi \ifhep@jhep - \hoffset 0in - \voffset 0in - \RequirePackage{geometry} - \AtBeginDocument{\newgeometry{ - textheight=.757\paperheight, - textwidth=.72\paperwidth, - }} + \PassOptionsToPackage{\hep@paper paper}{geometry} + \RequirePackage{geometry} + \geometry{ + offset=0in,textheight=.762\paperheight,textwidth=.72\paperwidth + } \fi \PassOptionsToPackage{ size=\hep@font, diff --git a/Master/texmf-dist/tex/latex/hep-reference/hep-reference.sty b/Master/texmf-dist/tex/latex/hep-reference/hep-reference.sty index b1e9465058c..9aeb281f86f 100644 --- a/Master/texmf-dist/tex/latex/hep-reference/hep-reference.sty +++ b/Master/texmf-dist/tex/latex/hep-reference/hep-reference.sty @@ -6,7 +6,7 @@ %% %% hep-reference-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -15,7 +15,7 @@ %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-reference}[2022/11/01 v1.1 Publications in High Energy Physics] +\ProvidesPackage{hep-reference}[2023/07/01 v1.2 Convenience macros for references] \RequirePackage{hyperref} \hypersetup{ @@ -34,11 +34,17 @@ \pdfstringdefDisableCommands{\let\footnote\@gobble} \pdfstringdefDisableCommands{\let\\\@gobble} } -\AtBeginDocument{\hypersetup{pdftitle={\@title}}} -\AtBeginDocument{\hypersetup{pdfauthor={\@author}}} -\AtBeginDocument{\@ifundefined{hep@key@words}{}{% - \hypersetup{pdfkeywords={\hep@key@words}}% -}} +\AtBeginDocument{ + \@ifundefined{hep@sub@title}{ + \hypersetup{pdftitle={\@title}} + }{ + \hypersetup{pdftitle={\@title: \hep@sub@title}} + } + \hypersetup{pdfauthor={\@author}} + \@ifundefined{hep@key@words}{}{% + \hypersetup{pdfkeywords={\hep@key@words}}% + } +} \def\BackrefFootnoteTag{} \RequirePackage{footnotebackref} @@ -52,10 +58,11 @@ \AtBeginDocument{\@ifpackageloaded{amsmath}{% \renewcommand\eqref{\no@break@before\labelcref}% }{}} -\providecommand\use@command{} +\providecommand\hep@use@command{} \newcommand\usecommand[2][1]{% - \renewcommand\use@command[#1]{#2}\use@command% + \renewcommand\hep@use@command[#1]{#2}\hep@use@command% } +\RequirePackage{etoolbox} \NewDocumentCommand\textlabel{O{}mO{}m}{% \protected@write\@auxout{}{% \string\newlabel{#2}{% diff --git a/Master/texmf-dist/tex/latex/hep-text/hep-text.sty b/Master/texmf-dist/tex/latex/hep-text/hep-text.sty index ba774e7d899..ec7be682a45 100644 --- a/Master/texmf-dist/tex/latex/hep-text/hep-text.sty +++ b/Master/texmf-dist/tex/latex/hep-text/hep-text.sty @@ -6,7 +6,7 @@ %% %% hep-text-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -16,7 +16,7 @@ %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-text}[2022/11/01 v1.1 Some text macros] +\ProvidesPackage{hep-text}[2023/07/01 v1.2 Some text macros] \RequirePackage{kvoptions} \SetupKeyvalOptions{ diff --git a/Master/texmf-dist/tex/latex/hep-title/hep-title.sty b/Master/texmf-dist/tex/latex/hep-title/hep-title.sty index e3e217774da..c248924dfc1 100644 --- a/Master/texmf-dist/tex/latex/hep-title/hep-title.sty +++ b/Master/texmf-dist/tex/latex/hep-title/hep-title.sty @@ -6,7 +6,7 @@ %% %% hep-title-implementation.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2019-2020 by Jan Hajer +%% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -16,7 +16,7 @@ %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{hep-title}[2022/11/01 v1.1 Extend title page macros] +\ProvidesPackage{hep-title}[2023/07/01 v1.2 Extend title page macros] \providecommand{\online}[2]{\texttt{#2}}% \providecommand{\hep@email}[1]{\online{mailto:#1}{#1}} @@ -218,7 +218,9 @@ \newcommand\hep@endorsers{} \@namedef{hep@editor@sep1}{} \@namedef{hep@editor@sep2}{\Authand} -\DeclareRobustCommand\endorser{\@ifnextchar[{\hep@@endorser}{\hep@@@endorser}} +\DeclareRobustCommand\endorser{% + \@ifnextchar[{\hep@@endorser}{\hep@@@endorser}% +} \def\hep@@endorser[#1]#2{\hep@@@@endorser[#1]{#2}} \def\hep@@@endorser#1{\hep@@@@endorser{#1}} \newcommand\hep@@@@endorser[2][]{% |