From fd3037eb0bf26bb8a2cd10cfdee039cca07d8509 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 17 Apr 2022 20:02:23 +0000 Subject: jacow (17apr22) git-svn-id: svn://tug.org/texlive/trunk@63060 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.pdf | Bin 920558 -> 206089 bytes .../texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.tex | 54 ++++--- .../doc/latex/jacow/JACoW_LaTeX_Letter.pdf | Bin 1038775 -> 206006 bytes .../doc/latex/jacow/JACoW_LaTeX_Letter.tex | 71 +++++---- Master/texmf-dist/doc/latex/jacow/JACpic2.jpg | Bin 802614 -> 0 bytes Master/texmf-dist/doc/latex/jacow/README | 12 +- .../texmf-dist/doc/latex/jacow/TeamMeeting2019.jpg | Bin 0 -> 88350 bytes Master/texmf-dist/tex/latex/jacow/jacow.cls | 168 ++++++++++++++++++--- 8 files changed, 228 insertions(+), 77 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/jacow/JACpic2.jpg create mode 100644 Master/texmf-dist/doc/latex/jacow/TeamMeeting2019.jpg diff --git a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.pdf b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.pdf index daf5300703c..51141f37b96 100644 Binary files a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.pdf and b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.pdf differ diff --git a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.tex b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.tex index 4dee33ef9d3..a0b3fcce0da 100644 --- a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.tex +++ b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_A4.tex @@ -1,20 +1,38 @@ -% !TeX spellcheck = en_GB +% +%%%% !BIB TS-program = biber +%%%% !BIB program = biber +% !BIB TS-program = bibtex +% !BIB program = bibtex +% !TeX spellcheck = en_US % !TeX program = lualatex % -% v 2.3 Feb 2019 Volker RW Schaa -% # changes in the collaboration therefore updated file "jacow-collaboration.tex" -% # all References with DOIs have their period/full stop before the DOI (after pp. or year) -% # in the author/affiliation block all ZIP codes in square brackets removed as it was not % understood as optional parameter and ZIP codes had bin put in brackets -% # References to the current IPAC are changed to "IPAC'19, Melbourne, Australia" -% # font for ‘url’ style changed to ‘newtxtt’ as it is easier to distinguish "O" and "0" +% v 2.7 Feb 2022 Volker RW Schaa +% +% maintenance release to fix problems with changes in required package +% - Option "keeplastbox" deprecated in "flushend" +% - Option "binary-units" removed from "siunitx" +% - Option "detect-mode" deprecated in "siunitx" release: v3.0.32 +% Use "mode=match" as a replacement. +% - Option "detect-weight" deprecated in "siunitx" release: v3.0.32 +% Use "reset-text-series=false, text-series-to-math=true" as a replacement. +% - "fixltx2e" is not required with releases after 2015 +% - "ifluatex" and "ifxetex" dropped for "iftex" +% - some biblatex macros addded to achieve better JACoW reference formatting +% +% no changes in +% # "jacow-collaboration.tex" +% # "annexes-Letter.tex" +% # "annexes-A4.tex" +% +% to generate the "JACoW_LaTeX_Letter.pdf" or "JACoW_LaTeX_A4.pdf" uncomment +% all line with "%===" (3 in total) % \documentclass[a4paper, %boxit, % check whether paper is inside correct margins %titlepage, % separate title page %refpage % separate references %biblatex, % biblatex is used - keeplastbox, % flushend option: not to un-indent last line in References - %nospread, % flushend option: do not fill with whitespace to balance columns + nospread, % flushend option: do not fill with whitespace to balance columns %hyphens, % allow \url to hyphenate at "-" (hyphens) %xetex, % use XeLaTeX to process the file %luatex, % use LuaLaTeX to process the file @@ -22,7 +40,7 @@ % % ONLY FOR \footnote in table/tabular % -\usepackage{pdfpages,multirow,ragged2e} % +%===\usepackage{pdfpages,multirow,ragged2e} % % % CHANGE SEQUENCE OF GRAPHICS EXTENSION TO BE EMBEDDED % ---------------------------------------------------- @@ -67,7 +85,7 @@ \begin{document} -\title{preparation OF papers for \NoCaseChange{JACoW} conferences\thanks{Work supported by ...}} +\title{preparation OF papers\\ for \NoCaseChange{JACoW} conferences\thanks{Work supported by ...}} \author{A. N. Author\thanks{email address}, H. Coauthor, Name of Institute or Affiliation, City, Country \\ P. Contributor\textsuperscript{1}, Name of Institute or Affiliation, City, Country \\ @@ -75,7 +93,6 @@ \maketitle -% \begin{abstract} Many conference series have adopted the same standards for electronic publication and have joined the Joint @@ -118,7 +135,7 @@ requirements. Manuscripts should have: \item Single-spaced text in two columns of \SI{82.5}{mm} (\SI{3.25}{in}) with \SI{5.3}{mm} (\SI{0.2}{in}) separation. More recent versions of Microsoft Word have a default spacing of 1.5 lines; authors must change this to 1 line. - \item The text located within the margins specified in Table~\ref{l2ea4-t1}. + \item The text located within the margins specified in Table~\ref{tab:margins}. \end{Itemize} \begin{table}[!hbt] \centering @@ -163,11 +180,11 @@ text (which should flow from top to bottom in each column). \begin{figure*}[!tbh] \centering - \includegraphics*[width=\textwidth]{JACpic2} + \includegraphics*[width=\textwidth]{TeamMeeting2019} \caption{Example of a full-width figure showing the JACoW Team at their annual - meeting in December 2018. This figure has a multi-line caption that has to be - justified rather than centred.} + meeting in December 2019 in Santos, Brazil. This figure has a multi-line + caption that has to be justified rather than centred.} \label{fig:jacow_team} \end{figure*} @@ -433,6 +450,7 @@ Authors are requested to go over the following checklist for electronic publicat Please also check the list of common oversights which can be found in \textbf{ANNEX C}. +\flushcolsend \section{CONCLUSION} Any conclusions should be in a separate section directly preceding @@ -478,8 +496,8 @@ this should be the last section of the paper. % for use as JACoW template the inclusion of the ANNEX parts have been commented out % to generate the complete documentation please remove the "%" of the next two commands % -%%%\newpage +%===\newpage -%%%\include{annexes-A4} +%===\include{annexes-A4} \end{document} diff --git a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.pdf b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.pdf index 50dab6fe47a..62463719d82 100644 Binary files a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.pdf and b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.pdf differ diff --git a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.tex b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.tex index 1513cfabaea..6da67fa07ad 100644 --- a/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.tex +++ b/Master/texmf-dist/doc/latex/jacow/JACoW_LaTeX_Letter.tex @@ -1,21 +1,38 @@ +% +%%%% !BIB TS-program = biber +%%%% !BIB program = biber +% !BIB TS-program = bibtex +% !BIB program = bibtex % !TeX spellcheck = en_US +% !TeX program = lualatex +% +% v 2.7 Feb 2022 Volker RW Schaa +% +% maintenance release to fix problems with changes in required package +% - Option "keeplastbox" deprecated in "flushend" +% - Option "binary-units" removed from "siunitx" +% - Option "detect-mode" deprecated in "siunitx" release: v3.0.32 +% Use "mode=match" as a replacement. +% - Option "detect-weight" deprecated in "siunitx" release: v3.0.32 +% Use "reset-text-series=false, text-series-to-math=true" as a replacement. +% - "fixltx2e" is not required with releases after 2015 +% - "ifluatex" and "ifxetex" dropped for "iftex" +% - some biblatex macros addded to achieve better JACoW reference formatting % +% no changes in +% # "jacow-collaboration.tex" +% # "annexes-Letter.tex" +% # "annexes-A4.tex" % -% v 2.3 Feb 2019 Volker RW Schaa -% # changes in the collaboration therefore updated file "jacow-collaboration.tex" -% # all References with DOIs have their period/full stop before the DOI (after pp. or year) -% # in the author/affiliation block all ZIP codes in square brackets removed as it was not -% understood as optional parameter and ZIP codes had bin put in brackets -% # References to the current IPAC are changed to "IPAC'19, Melbourne, Australia" -% # font for "url" style changed to "newtxtt" as it is easier to distinguish "O" and "0" +% to generate the "JACoW_LaTeX_Letter.pdf" or "JACoW_LaTeX_A4.pdf" uncomment +% all line with "%===" (3 in total) % -\documentclass[letter, +\documentclass[letterpaper, %boxit, % check whether paper is inside correct margins %titlepage, % separate title page %refpage % separate references %biblatex, % biblatex is used - keeplastbox, % flushend option: not to un-indent last line in References - %nospread, % flushend option: do not fill with whitespace to balance columns + nospread, % flushend option: do not fill with whitespace to balance columns %hyphens, % allow \url to hyphenate at "-" (hyphens) %xetex, % use XeLaTeX to process the file %luatex, % use LuaLaTeX to process the file @@ -23,7 +40,7 @@ % % ONLY FOR \footnote in table/tabular % -\usepackage{pdfpages,multirow,ragged2e} % +%===\usepackage{pdfpages,multirow,ragged2e} % % % CHANGE SEQUENCE OF GRAPHICS EXTENSION TO BE EMBEDDED % ---------------------------------------------------- @@ -50,7 +67,6 @@ \usepackage[USenglish]{babel} - % % if BibLaTeX is used % @@ -69,7 +85,7 @@ \begin{document} -\title{preparation OF papers for \NoCaseChange{JACoW} conferences\thanks{Work supported by ...}} +\title{preparation OF papers\\ for \NoCaseChange{JACoW} conferences\thanks{Work supported by ...}} \author{A. N. Author\thanks{email address}, H. Coauthor, Name of Institute or Affiliation, City, Country \\ P. Contributor\textsuperscript{1}, Name of Institute or Affiliation, City, Country \\ @@ -77,7 +93,6 @@ \maketitle -% \begin{abstract} Many conference series have adopted the same standards for electronic publication and have joined the Joint @@ -142,14 +157,14 @@ requirements. Manuscripts should have: In order to produce good Adobe Acrobat PDF files, authors using the `jacow' \LaTeX{} template are asked to use only the fonts -defined in the `jacow' class file (v2.3 of 2019/01/15) in standard, +defined in the ‘jacow’ class file (v2.3 of 2019/01/15) in standard, bold (i.\,e., \verb|\textbf|) or italic (i.\,e., \verb|\textit|) form and symbols from the standard set of fonts. In Word use only Symbol and, depending on your platform, Times or Times New Roman fonts in standard, bold or italic form. The layout of the text on the page is illustrated in -Fig.~\ref{fig:paper_layout}. Note that the paper's title and the author list should +Fig.~\ref{fig:paper_layout}. Note that the paper’s title and the author list should be the width of the full page. Tables and figures may span the whole \SI{170}{mm} page width, if desired (see Fig.~\ref{fig:jacow_team}), but if they span both columns, they should be placed at either @@ -165,11 +180,11 @@ text (which should flow from top to bottom in each column). \begin{figure*}[!tbh] \centering - \includegraphics*[width=\textwidth]{JACpic2} + \includegraphics*[width=\textwidth]{TeamMeeting2019} \caption{Example of a full-width figure showing the JACoW Team at their annual - meeting in December 2018. This figure has a multi-line caption that has to be - justified rather than centred.} %US + meeting in December 2019 in Santos, Brazil. This figure has a multi-line + caption that has to be justified rather than centred.} \label{fig:jacow_team} \end{figure*} @@ -248,8 +263,8 @@ caption itself. Single-line captions are centered in the column, while captions that span more than one line should be justified. -The \LaTeX{} template uses the “booktabs” package to -format tables. +The \LaTeX{} template uses the ‘booktabs’ package to +format tables. When referring to a figure from within the text, the convention is to use the abbreviated form [e.\,g., Fig.~1] @@ -277,7 +292,7 @@ achieved in \LaTeX{} using \verb|\eqref{eq:label}|. Units should be written using the standard, roman font, not the italic font, as shown in Eq.~\eqref{eq:label}. An unbreakable space should precede a unit (in \LaTeX{} use a “\verb|\,|”, -the template uses the “siunitx” package to format units). +the template uses the ‘siunitx’ package to format units). Some examples are: \SI{3}{keV}, \SI{100}{kW}, \SI{7}{µm}. When a unit appears in a hyphenated, compound adjective that precedes a noun, it takes on the @@ -299,7 +314,7 @@ with ranges where appropriate~[1--4, 10]. A URL or DOI may be included as part of a reference, but its hyperlink should NOT be added. The usual practice is to use a monospaced font for the URL so as to help distinguish -it from normal text. In \LaTeX{} the “url” package is used with its +it from normal text. In \LaTeX{} the ‘url’ package is used with its default font now being switched to ``newtxtt'' which offers a better distinction between ``\texttt{O}'' and ``\texttt{0}''. @@ -357,7 +372,7 @@ and properly formatted references. Captions & & & \\[5pt] %\midrule Table & \SI{10}{pt} & $\ge$\SI{3}{pt} & \SI{3}{pt} \\ - Captions & & & \\[5pt] + Captions & & & \\[5pt] %\midrule Equations & \SI{10}{pt} base font & $\ge$\SI{6}{pt} & $\ge$\SI{6}{pt} \\[5pt] %\midrule @@ -391,7 +406,7 @@ both in the abstract and in the rest of the paper. Table~\ref{tab:styles} summarizes the fonts and spacing used in the styles of a JACoW template. In \LaTeX, these -are implemented in the “jacow” class file. +are implemented in the ‘jacow’ class file. \section{PAGE NUMBERS} @@ -435,6 +450,7 @@ Authors are requested to go over the following checklist for electronic publicat Please also check the list of common oversights which can be found in \textbf{ANNEX C}. +\flushcolsend \section{CONCLUSION} Any conclusions should be in a separate section directly preceding @@ -476,13 +492,12 @@ this should be the last section of the paper. \end{thebibliography} } % end \ifboolexpr - % % for use as JACoW template the inclusion of the ANNEX parts have been commented out % to generate the complete documentation please remove the "%" of the next two commands % -%%%%\newpage +%===\newpage -%%%%\include{annexes-Letter} +%===\include{annexes-Letter} \end{document} diff --git a/Master/texmf-dist/doc/latex/jacow/JACpic2.jpg b/Master/texmf-dist/doc/latex/jacow/JACpic2.jpg deleted file mode 100644 index dc611f79181..00000000000 Binary files a/Master/texmf-dist/doc/latex/jacow/JACpic2.jpg and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/jacow/README b/Master/texmf-dist/doc/latex/jacow/README index 1680a414472..bb6596fd7c6 100644 --- a/Master/texmf-dist/doc/latex/jacow/README +++ b/Master/texmf-dist/doc/latex/jacow/README @@ -6,9 +6,9 @@ Class File: jacow.cls Authors: John Jowett (CERN), Michel Goossens (CERN), Martin Comyn (TRIUMF), John Poole (CERN), Todd Satogata (BNL), Ulrike Fischer, Volker RW Schaa (GSI) -Version: 2.4 -Date: 01 April 2019 -Copyright: 1996-2019 by JACoW, Geneva, Switzerland +Version: 2.7 (maintenance release) +Date: 02 Februar 2022 +Copyright: 1996-2022 by JACoW, Geneva, Switzerland Homepage: http://www.jacow.org License: LPPL 1.3c Status: Maintained @@ -32,7 +32,7 @@ particular requirements for electronic publication at www.JACoW.org. The package consists of the following files class file - jacow.cls JACoW class file v2.4 of 2019/04/01 + jacow.cls JACoW class file v2.7 of 2022/02/02 templates JACoW_LaTeX_A4.tex basic A4/letter templates to demonstrate the @@ -57,9 +57,9 @@ The package consists of the following files figures/includes JACpic_mc.pdf a graphic showing the JACoW page format (being the smaller side of A4 and letter respectively) - JACpic2.jpg a graphic for a full width figure (spanning + TeamMeeting2019.jpg a graphic for a full width figure (spanning the two columns and multiline caption) showing - the participants of the 2017 JACoW Team Meeting + the participants of the 2019 JACoW Team Meeting jacow-collaboration.tex (an example) title page showing the JACoW Collaboration. jacow-collaboration.pdf This PDF is included in Annex A. diff --git a/Master/texmf-dist/doc/latex/jacow/TeamMeeting2019.jpg b/Master/texmf-dist/doc/latex/jacow/TeamMeeting2019.jpg new file mode 100644 index 00000000000..43e4a253a53 Binary files /dev/null and b/Master/texmf-dist/doc/latex/jacow/TeamMeeting2019.jpg differ diff --git a/Master/texmf-dist/tex/latex/jacow/jacow.cls b/Master/texmf-dist/tex/latex/jacow/jacow.cls index 36df55ad00d..2f560b41640 100644 --- a/Master/texmf-dist/tex/latex/jacow/jacow.cls +++ b/Master/texmf-dist/tex/latex/jacow/jacow.cls @@ -15,18 +15,18 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status "maintained". -%% +%% %% This Current Maintainer of this work is Volker RW Schaa. -%% +%% %% This work consists of the following files %% jacow.cls this class file -%% JACoW_LaTeX_A4.tex A4/letter templates to demonstrate the +%% JACoW_LaTeX_A4.tex A4/letter templates to demonstrate the %% JACoW_LaTeX_Letter.tex .. use and explain the various parameters %% .. and settings for a submission to %% .. a JACoW conference proceedings -%% JACoW_LaTeX_A4.pdf template in format A4 and European +%% JACoW_LaTeX_A4.pdf template in format A4 and European %% settings (citation and hyphenation) %% JACoW_LaTeX_Letter.pdf template in format letter and American %% setting (citation and hyphenation) @@ -41,7 +41,7 @@ %% editors for the various platform %% dependent templates (LaTeX, Word on PC and %% Mac, ODF). The PDF is included in the template -%% +%% % % v0.1 to 1.3 : JAC2000.cls % Special thanks to John Jowett and Michel Goossens from CERN and @@ -104,17 +104,17 @@ % Volker RW Schaa, 02 May 2014 % % v1.95 -% - only change to the version 1.94 are the extended documenation and license +% - only change to the version 1.94 are the extended documentation and license % statement (lppl1.3c) as preparation for publication on CTAN. % Volker RW Schaa, 02 May 2014 % % v1.96 -% - modification of bibatex style information. Since the JACoW template Feb-2016 +% - modification of bibatex style information. Since the JACoW template Feb-2016 % the bibliography requires the IEEEtran style. Heine provided an adapted % version using the required values of the template: % + ieee biblatex style instead of numeric-compv % + doi field is cleared for all entries -% + et al. is used when there are > 6 authors (maxnames=6). In that case, +% + et al. is used when there are > 6 authors (maxnames=6). In that case, % only the first author is mentioned (minnames=1) % + url field is cleared for articles and inproceedings % + giveninits=true reduces all given names to initials @@ -146,15 +146,34 @@ % v2.4 % - version 2.3 did not work for XeTeX/LuaTeX, therefore font change using % \def\UrlFont and switching the fontencoding to T1 (suggested by Ulrike Fischer) -% - package amsmath included to provide +% - package amsmath included to provide % Volker RW Schaa, 01 Apr 2019 +%% v2.5 +% - flushend dropped the option keeplastbox, therefore removed from jacow package +% option list +% - Option "binary-units" has been removed from siunitx release. +% - Option "detect-mode" has been deprecated in this (siunitx) release: v3.0.32 +% Use "mode=match" as a replacement. +% - Option "detect-weight" has been deprecated in this (siunitx) release: v3.0.32 +% Use "reset-text-series=false, text-series-to-math=true" as a replacement. +% - fixltx2e is not required with releases after 2015 +% Volker RW Schaa, 14 Oct 2021 +%% v2.6 +% - ifluatex/ifxetex dropped for iftex +% Volker RW Schaa, 11 Nov 2021 % -\def\fileversion{2.4} -\def\filedate{2019/04/01} -\def\docdate {2019/04/01} +%% v2.7 +% - addded some biblatex macros to achieve closer JACoW reference formatting +% than standard ieeetran +% Volker RW Schaa, 02 Feb 2022 +% +% +\def\fileversion{2.7} +\def\filedate{2022/02/02} +\def\docdate {2022/02/02} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{jacow}[\filedate\space Version \fileversion] +\ProvidesClass{jacow}[\filedate\space v\fileversion fixes for siunitx, stfloats, biblatex ref formatting] \typeout{------------------------------------------------------------------------} \typeout{LaTeX2e Class file for Accelerator Conference publication for LaTeX2e users} @@ -197,11 +216,10 @@ \RequirePackage{fix-cm} \LoadClass[10pt,twocolumn]{article} -\RequirePackage[keeplastbox]{flushend} %% modified +\RequirePackage[]{flushend} %% modified 2.5 % Tools: \RequirePackage{etoolbox} -\RequirePackage{ifxetex} -\RequirePackage{ifluatex} +\RequirePackage{iftex} \RequirePackage{textcase} % %Add thanks to the list of "\@nonchangecase"-commands from textcase: @@ -222,8 +240,14 @@ \protected@edef\reserved@a{\endgroup \noexpand\@skipmath#3#4$\valign$}% \reserved@a} - -\RequirePackage[detect-mode,detect-weight, binary-units=true]{siunitx} +% +% Option "binary-units" has been removed from (siunitx) +% Option "detect-mode" has been deprecated in this (siunitx) release: v3.0.32 +% Use "mode=match" as a replacement. +% Option "detect-weight" has been deprecated in this (siunitx) release: v3.0.32 +% Use "reset-text-series=false, text-series-to-math=true" as a replacement. +% +\RequirePackage[mode=match, reset-text-series=false, text-series-to-math=true]{siunitx} \RequirePackage{graphicx} \RequirePackage{booktabs} \RequirePackage[figureposition=bottom,tableposition=top,skip=5pt]{caption} @@ -264,7 +288,7 @@ {} { \catcode`\^^^=9 } - + \ifboolexpr{bool{xetex} or bool{luatex}} { \let\ori@vdots\vdots \RequirePackage{unicode-math} @@ -428,16 +452,110 @@ %% when to activate this? Paper format acus/letter % \DefineBibliographyExtras{american}{\stdpunctuation} % mod % Drop urls for article and inproceedings entries -%2.00 \DeclareFieldFormat -%2.00 [article,inproceedings] -%2.00 {url}{} +%2.7 +% check https://tex.stackexchange.com/questions/6743/biblatex-changing-the-order-of-entries +% https://tex.stackexchange.com/questions/12806/guidelines-for-customizing-biblatex-styles/13076#13076 +% https://tex.stackexchange.com/questions/10203/biblatex-putting-thin-spaces-between-initials +% https://tex.stackexchange.com/questions/560346/how-to-suppress-annotation-field-from-bbl-file-in-biblatex +% https://tex.stackexchange.com/questions/496995/advanced-introduction-to-biblatex-coding-guidelines-for-database +%------------------------------------- +% +% if BibLaTeX is used +% +% modify macros so the formatted output corresponds to JACoW's idea of IEEEtran + % set vertical distance between items + \setlength\bibitemsep{3pt plus 1.5pt minus 0.5pt} + % remove stretchability from biblatex URLs/DOIs + \toks0\expandafter{\biburlsetup}\edef\biburlsetup{\the\toks0 \Urlmuskip =0mu\relax} + % Removing period after DOI + \renewcommand*{\finentrypunct}{\ifboolexpr{togl {bbx:doi} and not test {\iffieldundef{doi}}}{}{\addperiod}} + % format doi: as part of the link using the same font + \DeclareFieldFormat{doi}{% + \ifhyperref + {\href{https://doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{doi:#1}}% + } + % + % make sure that there is no break between initial and lastname + % and thinspaces between muliple initials + % + \renewcommand*\bibnamedelimd{~} + \renewcommand\bibinitdelim{\addnbthinspace} + % + % format venue, event, date without round brackets + % https://tex.stackexchange.com/questions/446732/biblatex-field-venueeventdate-without-round-brackets + \renewbibmacro*{event+venue+date}{% + \printfield{eventtitle}% + \newunit + \printfield{eventtitleaddon}% + \newunit + \printfield{venue}% + \setunit*{\addcomma\space}% + \printeventdate% + \newunit% + } + \DeclareFieldFormat{eid}{% + {paper #1}% + } + % + \renewbibmacro*{volume+number+eid}{% + \printfield{volume}% + \newunit + \printfield{number}% + \newunit + \printfield{eid}% + } + % + % Clean up the bibtex rather than editing it for extensive JACoW BibTeX records + % + \AtEveryBibitem{% + \clearlist{address} + \clearfield{date} + \clearfield{eprint} + \clearfield{isbn} + \clearfield{issn} + % + % use/print "note" if "booktitle" is not given: example "data for this conference" + % + \iffieldundef{booktitle}{}{\clearfield{note}} + \clearlist{location} + \clearfield{month} + \clearfield{series} + \ifentrytype{book}{}{% Remove publisher and editor except for books + \clearlist{publisher} + \clearname{editor} + } + } + % + % print url if no doi + % + \renewbibmacro*{doi+eprint+url}{% + \printfield{doi}% + \newunit\newblock% + \iftoggle{bbx:eprint}{% + \usebibmacro{eprint}% + }{}% + \newunit\newblock% + \iffieldundef{doi}{% + \usebibmacro{url+urldate}}% + {}% + } + % format ISSN like URLs + \DeclareFieldFormat{issn}{% + {\texttt{ISSN:#1}}% + } + % format ISSN like URLs + \DeclareFieldFormat{issn}{% + {\texttt{ISSN:#1}}% + } % \setlength\bibitemsep{0pt} \setlength\bibparsep{0pt} \setlength\biblabelsep{5pt} \ifjacowrefpage\preto\blx@bibliography{\clearpage}\fi \AtBeginBibliography{\small\clubpenalty4000\widowpenalty4000}% - } + } % end if biblatex + % {\RequirePackage{cite} % Redefine to use smaller fonts \def\thebibliography#1{\setlength{\itemsep}{0pt}\setlength{\parsep}{0pt}% @@ -461,7 +579,7 @@ %avoid bug of fixltx2e: %http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex/4023 -\RequirePackage{fixltx2e}% +%\RequirePackage{fixltx2e}% \def\@outputdblcol{% \if@firstcolumn \global\@firstcolumnfalse -- cgit v1.2.3