如何调整冗长的引用风格以适应我所在部门的要求

如何调整冗长的引用风格以适应我所在部门的要求

我正在准备我的博士论文(社会科学),我需要调整脚注和参考书目的样式以符合我所在院系(波兰一所大学)的正式要求。

我需要在脚注中几乎完整地引用。所以我开始使用详细

我开始使用

biblatex (与 biber 一起)

样式=verbose-inote-luh-ipw

因为这是我能找到的最接近的风格。但它仍然需要一些改进/修改。

通过使用它我得到了如下结果: 在此处输入图片描述

而我需要这样的东西:

在此处输入图片描述

我希望的脚注和参考书目的格式是:

  1. 对于文章:作者姓名:文章标题用斜体表示,不加引号。“引号中的期刊名称(不带斜体,且前面没有“[in:]”)”年份,卷号
  2. 收藏本页: 作者姓名:章节标题用斜体表示,不加引号。 [在:]书名以斜体显示、编辑姓名及其后的内容(括号中为编辑)。城市 出版年份(中间无逗号)
  3. 对于编辑过的书籍:作者姓名,(括号中为编辑)。书名以斜体显示. 城市 出版年份 (中间无逗号)
  4. 对于书籍:我唯一需要的改变是城市和出版年份之间没有逗号

总之,上述风格包含了我需要的所有元素,但它们的顺序和格式需要稍微改变一下。

平均能量损失

主要文件

\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[totalwidth=180mm,totalheight=247mm]{geometry}
\usepackage[style=verbose-inote-luh-ipw,isbn=false,doi=false,backend=biber]{biblatex}
\addbibresource{Przypisy.bib}
\usepackage{hyperref}
\usepackage{bookmark}
\begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit\footcite{Balmaceda.2008}.

Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis\footcite{Aalto.2012c}.

Curabitur dictum gravida mauris\footcite{Belyi.2015}.
\printbibliography
\end{document}

参考书目(Przypisy.bib)

@incollection{Aalto.2012c,
 author = {Aalto, Pami and Dusseault, David and Kivinen, Markku and Kennedy, Michael D.},
 title = {{H}ow are {R}ussian energy policies formulated? {L}inking the actors and structures of energy policy},
 editor = {Aalto, Pami},
 booktitle = {{R}ussia's energy policies},
 year = {2012},
 address = {Cheltenham and Northampton, MA}
}


@article{Balmaceda.2008,
 author = {Balmaceda, Margarita Mercedes},
 year = {2008},
 title = {{C}orruption, {I}ntermediary {C}ompanies, and {E}nergy {S}ecurity: {L}ithuania's {L}essons for {C}entral and {E}astern {E}urope},
 volume = {55},
 number = {4},
 journal = {Problems of Post-Communism},
}


@book{Belyi.2015,
 year = {2015},
 title = {{S}tates and markets in hydrocarbon sectors},
 address = {Basingstoke and New York, NY},
 editor = {Belyi, Andrei V. and Talus, Kim}
}

总之,上述风格包含了我需要的所有元素,但它们的顺序和格式需要稍微改变一下。

答案1

由于verbose-inote-luh-ipw与 差别不大verbose-inote,我决定使用后者作为基础。直接修改标准样式通常比修改(有时非常具体的)自定义样式更好。

尝试(filecontents警告:该文档将覆盖.bib同名文件)

\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[style=verbose-inote,isbn=false,doi=false,backend=biber]{biblatex}
\usepackage{hyperref}

\begin{filecontents*}{\jobname.bib}
@incollection{Aalto.2012c,
 author    = {Aalto, Pami and Dusseault, David and Kivinen, Markku and Kennedy, Michael D.},
 title     = {{H}ow are {R}ussian energy policies formulated? {L}inking the actors and structures of energy policy},
 editor    = {Aalto, Pami},
 booktitle = {{R}ussia's energy policies},
 year      = {2012},
 address   = {Cheltenham and Northampton, MA},
}

@article{Balmaceda.2008,
 author  = {Balmaceda, Margarita Mercedes},
 year    = {2008},
 title   = {{C}orruption, {I}ntermediary {C}ompanies, and {E}nergy {S}ecurity: {L}ithuania's {L}essons for {C}entral and {E}astern {E}urope},
 volume  = {55},
 number  = {4},
 journal = {Problems of Post-Communism},
}

@book{Belyi.2015,
 year    = {2015},
 title   = {{S}tates and markets in hydrocarbon sectors},
 address = {Basingstoke and New York, NY},
 editor  = {Belyi, Andrei V. and Talus, Kim},
}
\end{filecontents*}
\addbibresource{\jobname.bib}

\DeclareFieldFormat*{title}{\mkbibemph{#1}}
\DeclareFieldFormat*{citetitle}{\mkbibemph{#1}}
\DeclareFieldFormat{journaltitle}{\mkbibquote{#1\isdot}}
\DeclareFieldFormat[article,periodical]{volume}{\bibstring{jourvol}~#1}% volume of a journal
\DeclareFieldFormat[article,periodical]{number}{\bibstring{number}~#1}% number of a journal

\renewcommand*{\labelnamepunct}{\addcolon\space}
\renewcommand*{\nametitledelim}{\labelnamepunct}

\newbibmacro*{in:}{%
  \ifentrytype{article}
    {}
    {\printtext[brackets]{%
       \bibstring{in}\addcolon}\space}}

\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
  \setunit{\addcomma\space}%
  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}

\newbibmacro*{puborginst+location+date}[1]{%
  \printlist{location}%
  \iflistundef{#1}
    {\setunit*{\addspace}}
    {\setunit*{\addcolon\space}}%
  \printlist{#1}%
  \setunit*{\addspace}%
  \usebibmacro{date}%
  \newunit}

\renewbibmacro*{publisher+location+date}{\usebibmacro{puborginst+location+date}{publisher}}
\renewbibmacro*{institution+location+date}{\usebibmacro{puborginst+location+date}{institution}}
\renewbibmacro*{organization+location+date}{\usebibmacro{puborginst+location+date}{organization}}

\renewbibmacro*{journal+issuetitle}{%
  \usebibmacro{journal}%
  \setunit*{\addspace}%
  \iffieldundef{series}
    {}
    {\newunit
     \printfield{series}%
     \setunit{\addspace}}%
  \usebibmacro{issue+date}%
  \setunit{\addcomma\space}%
  \usebibmacro{volume+number+eid}%
  \setunit{\addcolon\space}%
  \usebibmacro{issue}%
  \newunit}

\renewbibmacro*{issue+date}{%
  \printfield{issue}%
  \setunit*{\addspace}%
  \usebibmacro{date}%
  \newunit}

\renewbibmacro*{byeditor}{%
  \ifnameundef{editor}
    {}
    {\printnames[byeditor]{editor}%
     \setunit{\addcomma\space}%
     \usebibmacro{editorstrg}
     \newunit}%
  \usebibmacro{byeditorx}}


\renewbibmacro*{byeditor+others}{%
  \ifnameundef{editor}
    {}
    {\printnames[byeditor]{editor}%
     \setunit{\addcomma\space}%
     \usebibmacro{editor+othersstrg}
     \clearname{editor}%
     \newunit}%
  \usebibmacro{byeditorx}%
  \usebibmacro{bytranslator+others}}

\begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit\footcite{Balmaceda.2008}.

Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis\footcite{Aalto.2012c}.

Curabitur dictum gravida mauris\footcite{Belyi.2015}.
\printbibliography
\end{document}

相关内容