Beamer:透​​過 biber 更改參考書目樣式,刪除一些欄位並消除警告

Beamer:透​​過 biber 更改參考書目樣式,刪除一些欄位並消除警告

這是我第一次嘗試在 Beamer 簡報中包含 biber 的參考書目,我不知道如何改變風格並擺脫一些字段。我嘗試過自訂 .bst 文件我獲得了馬克布斯特比伯好像沒看懂…

所以這是我的微量元素:

\documentclass{beamer}
\setbeameroption{hide notes}

\usepackage{lmodern}

\usepackage[backend=biber, style=authoryear]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{Forrest2014,
    author = {Forrest, Alistair R. R. and Kawaji, Hideya and Rehli, Michael and {Kenneth Baillie}, J. and de Hoon, Michiel J. L. and Haberle, Vanja and Lassmann, Timo},
    doi = {10.1038/nature13182},
    issn = {0028-0836},
    journal = {Nature},
    pages = {462--470},
    pmid = {24670764},
    title = {{A promoter-level mammalian expression atlas}},
    url = {http://dx.doi.org/10.1038/nature13182{\%}5Cnhttp://www.nature.com/doifinder/10.1038/nature13182},
    volume = {507},
    year = {2014}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\setbeamertemplate{bibliography item}{}

\mode<presentation> {
    \usetheme{Singapore}
}
\begin{document}


\section{Frame 1}
\begin{frame}
\frametitle{Frame 1}
    Here I want a citation:

    \cite{Forrest2014}
\end{frame}


\begin{frame}[allowframebreaks]
\frametitle{References}
    \printbibliography
\end{frame}


\end{document}

產生以下結果:

A 乙

我想要完成的任務如下:

  • 首先,刪除以下內容警告:

修補腳註失敗。

字體形狀OT1/lmss/m/sc' in size <10.95> not available(Font) Font shapeOT1/lmr/m/sc' 已嘗試

我在完整的演示中還遇到了以下情況:

字體形狀EU2/lmss/m/sc' in size <10.95> not available(Font) Font shapeEU2/lmr/m/sc' 嘗試改為

那我想自訂引文這樣:

  • 兩個地方的「et al」均為斜體

  • 僅限名字首字母

  • 年末

  • 沒有“在:”

  • 沒有 DOI、ISSN、URL 或類似內容

結果應盡可能接近:

福雷斯特等人。2014年

福雷斯特 ARR等人。「啟動子層級的哺乳動物表達圖譜」。自然 507:462–470(2014)。

做什麼的警告意味著什麼以及如何擺脫它們?我已經用過\l現代

我如何自訂參考書目比伯,當它不接受時來自 makebst 的 .bst 文件

非常感謝!

答案1

總結重複:

  • 首先,去掉警告

腳註警告是正常的,因為 beamer 有自己的方式來處理腳註,請參閱Beamer 修補腳註警告:“修補腳註失敗。腳註檢測將不起作用。”

  • 兩個地方的「et al」均為斜體

https://tex.stackexchange.com/a/40999/36296

  • 僅限名字首字母

https://tex.stackexchange.com/a/128823/36296

  • 年末

更改欄位的順序可以在以下位置找到Biblatex:更改條目的順序Biblatex:更改條目的順序更改欄位順序並抑制額外的 arXiv 標識符Biblatex:更改記錄/收集的欄位順序(註+頁面)

  • 沒有“在:”

抑制「在:」biblatex

  • 沒有 DOI、ISSN、URL 或類似內容

Biblatex:擺脫參考文獻中的 ISSN、URL 和 DOI


\documentclass{beamer}
\setbeameroption{hide notes}

\usepackage{lmodern}

\usepackage[backend=biber, style=authoryear, doi=false,isbn=false,url=false, giveninits=true]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{Forrest2014,
    author = {Forrest, Alistair R. R. and Kawaji, Hideya and Rehli, Michael and {Kenneth Baillie}, J. and de Hoon, Michiel J. L. and Haberle, Vanja and Lassmann, Timo},
    doi = {10.1038/nature13182},
    issn = {0028-0836},
    journal = {Nature},
    pages = {462--470},
    pmid = {24670764},
    title = {{A promoter-level mammalian expression atlas}},
    url = {http://dx.doi.org/10.1038/nature13182{\%}5Cnhttp://www.nature.com/doifinder/10.1038/nature13182},
    volume = {507},
    year = {2014}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\setbeamertemplate{bibliography item}{}

\usepackage{xpatch}

\xpatchbibmacro{name:andothers}{%
  \bibstring{andothers}%
}{%
  \bibstring[\emph]{andothers}%
}{}{}

\renewbibmacro{in:}{}

\mode<presentation> {
    \usetheme{Singapore}
}
\begin{document}


\section{Frame 1}
\begin{frame}
\frametitle{Frame 1}
    Here I want a citation:

    \cite{Forrest2014}
\end{frame}


\begin{frame}[allowframebreaks]
\frametitle{References}
    \printbibliography
\end{frame}


\end{document}

在此輸入影像描述

相關內容