summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jacow
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-04 20:17:44 +0000
committerKarl Berry <karl@freefriends.org>2018-04-04 20:17:44 +0000
commit01ff252228c328be5750044baea8343d08737c93 (patch)
treec18538ec0c22ed6cb33c57d10ebdad42fdc4bf51 /Master/texmf-dist/tex/latex/jacow
parent96713a32275c0b6c81fc2b7c0f9116f659180f84 (diff)
jacow (4apr18)
git-svn-id: svn://tug.org/texlive/trunk@47287 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jacow')
-rw-r--r--Master/texmf-dist/tex/latex/jacow/jacow.cls53
1 files changed, 47 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/jacow/jacow.cls b/Master/texmf-dist/tex/latex/jacow/jacow.cls
index 6f8b8aeb7ad..4a314fe3c66 100644
--- a/Master/texmf-dist/tex/latex/jacow/jacow.cls
+++ b/Master/texmf-dist/tex/latex/jacow/jacow.cls
@@ -104,9 +104,39 @@
% statement (lppl1.3c) as preparation for publication on CTAN.
% Volker RW Schaa, 02 May 2014
%
-\def\fileversion{1.95}
-\def\filedate{2016/05/10}
-\def\docdate {2016/04/10}
+% v1.96
+% - 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,
+% only the first author is mentioned (minnames=1)
+% + url field is cleared for articles and inproceedings
+% + giveninits=true reduces all given names to initials
+% Heine Dølrath Thomsen, 30 June 2016
+%
+% v2.00
+% - after using v1.96 during conferences where DOIs/URLs were present in biblio-
+% graphic records, the following changes to Heine's version have been made:
+% + doi field allowed
+% + url field allowed
+%
+% v2.1 new options introduced
+% flushend: new: keeplastbox
+% siunitx: new: binary-units=true
+% BibLaTeX: changed: style=ieee => bibstyle=ieee, citestyle=numeric-comp
+% new: dashed=false
+% removed: doi=false
+%
+% v2.2
+% - adapted to the changes of template version 2018-02
+% - made this one official
+% Volker RW Schaa, 23 Feb 2018
+%
+\def\fileversion{2.2}
+\def\filedate{2018/02/23}
+\def\docdate {2018/02/23}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{jacow}[\filedate\space Version \fileversion]
@@ -149,9 +179,10 @@
\ExecuteOptions{aca4}
\ProcessOptions
+\RequirePackage{cmap}
\RequirePackage{fix-cm}
\LoadClass[10pt,twocolumn]{article}
-\RequirePackage{flushend}
+\RequirePackage[keeplastbox]{flushend} %% modified
% Tools:
\RequirePackage{etoolbox}
\RequirePackage{ifxetex}
@@ -177,7 +208,7 @@
\noexpand\@skipmath#3#4$\valign$}%
\reserved@a}
-\RequirePackage[detect-mode,detect-weight]{siunitx}
+\RequirePackage[detect-mode,detect-weight, binary-units=true]{siunitx}
\RequirePackage{graphicx}
\RequirePackage{booktabs}
\RequirePackage[figureposition=bottom,tableposition=top,skip=5pt]{caption}
@@ -356,7 +387,10 @@
{\par}
}
\ifboolexpr{bool{jacowbiblatex}}
- {\RequirePackage[style=numeric-comp,sorting=none]{biblatex}
+%2.00 {\RequirePackage[style=ieee,sorting=none,giveninits=true,doi=false,maxnames=6,minnames=1]{biblatex}
+%2.1 {\RequirePackage[style=ieee,sorting=none,giveninits=true,maxnames=6,minnames=1]{biblatex}
+%2.2
+ {\RequirePackage[bibstyle=ieee,citestyle=numeric-comp,dashed=false,sorting=none,giveninits=true,maxnames=6,minnames=1]{biblatex}
\renewbibmacro*{url+urldate}{%
\iffieldundef{url}
{}
@@ -364,6 +398,13 @@
\nopunct}}%
\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{eprint}{#1}
+%% 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}{}
+ %
\setlength\bibitemsep{0pt}
\setlength\bibparsep{0pt}
\setlength\biblabelsep{5pt}