X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=blobdiff_plain;f=posts%2Fbiblatex_gi_style.mdwn;h=8791bb46eec437c9330ebadccda8e4e69aa7b4ed;hp=313e01c7451921088fac4ec88b4757d1261ab6cf;hb=1e6afca06cae5428aa07ac0f915ce474afb2d2a8;hpb=279512b816272631ce8a67d0810c00262dadc159 diff --git a/posts/biblatex_gi_style.mdwn b/posts/biblatex_gi_style.mdwn index 313e01c..8791bb4 100644 --- a/posts/biblatex_gi_style.mdwn +++ b/posts/biblatex_gi_style.mdwn @@ -12,7 +12,7 @@ The following code in the preamble does almost all of the hard lifting: \ifentrytype{article}{}{% \printtext{\bibstring{in}\intitlepunct}}} % from http://tex.stackexchange.com/questions/12806/guidelines-for-customizing-biblatex-styles -\DeclareCiteCommand{\parencite}[\mkbibbrackets] +\\DeclareCiteCommand{\parencite}[\mkbibbrackets] {\usebibmacro{cite:init}% \usebibmacro{prenote}} {\usebibmacro{citeindex}% @@ -20,15 +20,15 @@ The following code in the preamble does almost all of the hard lifting: {} {\usebibmacro{cite:dump}% \usebibmacro{postnote}} -\DeclareMultiCiteCommand{\parencites}[\mkbibbrackets]{\parencite}{\multicitedelim} -\DeclareFieldFormat +\\DeclareMultiCiteCommand{\parencites}[\mkbibbrackets]{\parencite}{\multicitedelim} +\\DeclareFieldFormat [article,inbook,incollection,inproceedings,patent,thesis,unpublished,manual] {title}{#1\isdot} -\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}} -\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}\addcolon} -\DeclareFieldFormat{year}{#1} -\DeclareNameAlias{default}{last-first} -\DeclareFieldFormat{pages}{#1} +\\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}} +\\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}\addcolon} +\\DeclareFieldFormat{year}{#1} +\\DeclareNameAlias{default}{last-first} +\\DeclareFieldFormat{pages}{#1} % from http://tex.stackexchange.com/questions/17583/biblatex-remove-commas-between-last-and-first-names-in-bibliography % remove commas between authors and first inits \renewcommand*{\revsdnamepunct}{}