
嘿嘿,
我用來\fullcite
列印文字中的參考書目條目。在那裡,我錯過了最後一個點(在年份之後),因為它正確地出現在帶有 的參考文獻列表中\printbibliography
。
我希望在使用該\fullcite
命令時有最後一個點。
例子:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Trzesniowski:2011,
address = {Wiesbaden},
author = {Trzesniowski, M.},
edition = {3},
publisher = {Vieweg-Teubner},
subtitle = {Handbuch mit praktischen Konstruktionsbeispielen},
title = {CAD mit CATIA V5},
year = {2011}}
\end{filecontents}
\usepackage[backend=biber,]{biblatex}
\bibliography{\jobname.bib}
\begin{document}
\fullcite{Trzesniowski:2011}
\printbibliography
\end{document}
答案1
答案2
參考書目條目末尾的句點\finentrypunct
通常是透過呼叫bibmacro\finentry
中的巨集產生的finentry
。
biblatex
明確未\finentrypuntc
在 中設定\fullcite
。這使得處理一次中的多個引用變得稍微容易一些\fullcite
,並且使用戶可以完全控制以下標點符號。
一般來說,我認為\fullcite
應該謹慎使用,所以我想知道這裡的確切用例是什麼。也許有更優雅的方法可以\fullcite
完全避免顯式並且已經帶有所需的周期或更容易獲得周期。
的標準定義\footcite
可以在biblatex.def
(ll.2157-2163,v3.18b)。我會添加一個\finentry
(排版\finentrypunct
)如下
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,]{biblatex}
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}%
\finentry}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem
\fullcite{sigfridsson}
\printbibliography
\end{document}
答案3
一個簡單但不太複雜的解決方案是簡單地在命令後面加上句號\fullcite .
,例如 ,這應該會導致相同的結果,只是它比 scd 的解決方案不太優雅:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Trzesniowski:2011,
address = {Wiesbaden},
author = {Trzesniowski, M.},
edition = {3},
publisher = {Vieweg-Teubner},
subtitle = {Handbuch mit praktischen Konstruktionsbeispielen},
title = {CAD mit CATIA V5},
year = {2011}}
\end{filecontents}
\usepackage[backend=biber,]{biblatex}
\bibliography{\jobname.bib}
\begin{document}
\fullcite{Trzesniowski:2011}.
\printbibliography
\end{document}