summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-science/science.cbx
blob: 128f68dd2ad8e580360ed78d14a6b3585d183f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%% ---------------------------------------------------------------
%% biblatex-science --- A biblatex implementation of the Science
%%   bibliography style
%% Maintained by Joseph Wright
%% E-mail: joseph.wright@morningstar2.co.uk
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%% 

\ProvidesFile{science.cbx}[2018/10/18 v1.2 biblatex citation style]

\RequireCitationStyle{numeric-comp}

\ExecuteBibliographyOptions{sorting = none}

\DeclareFieldFormat{labelnumber}{\mkbibemph{#1}}

\renewcommand*\bibleftbracket{%
  (% )
}
\renewcommand*\bibrightbracket{% (
  )%
  \midsentence
}

%% 
%% Copyright (C) 2010-2013,2016,2018 by
%%   Joseph Wright <joseph.wright@morningstar2.co.uk>
%% 
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version.  The latest
%% version of this license is in the file:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% This work is "maintained" (as per LPPL maintenance status) by
%%   Joseph Wright.
%% 
%% This work consists of the file biblatex-science.bib,
%%                                biblatex-science.tex,
%%                                science.bbx and
%%                                science.cbx,
%%           and the derived file biblatex-science.pdf.
%% 
%%
%% End of file `science.cbx'.