我非常喜欢文档末尾的参考书目“哲学-现代”风格。我还喜欢将详细的引文作为脚注。
bibstyle=philosophy-modern,
citestyle=philosophy-verbose,
使我能够同时拥有两者。但是“philosophy-modern”在脚注中占用了大量空间。我可以在脚注中更改为不同的样式,但在参考书目中仍然保留“philosophy-modern”吗?
梅威瑟:
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex,
bibstyle=philosophy-modern,
citestyle=philosophy-verbose,
]{biblatex}
\addbibresource{sample}
\title{Bibliography management: \texttt{biblatex} package}
\author{Share\LaTeX}
\begin{document}
\maketitle
This document is an example of \texttt{biblatex} package using in bibliography
management. Three items are cited: \textit{The \LaTeX\ Companion} book
\autocite{latexcompanion}, the Einstein journal paper \autocite{einstein}, and
the Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related items
are \autocite{latexcompanion,knuthwebsite}.
\medskip
\printbibliography
\end{document}
答案1
重新定义postsep
日期的 bibmacro,但仅针对 citekeys,即可达到目的。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,
style=philosophy-verbose,
bibstyle=philosophy-modern,
]{biblatex}
\addbibresource{biblatex-examples.bib}
\AtEveryCitekey{%
\renewcommand{\postsep}{\space}%
\renewbibmacro*{date+extrayear}{%
\begingroup%
\clearfield{month}%
\clearfield{day}%
\printtext{%
\ifboolexpr{%
test {\iffieldundef{date}}
and
test {\iffieldundef{year}}
}%
{\iftoggle{bbx:nodate}{\printtext{%
\midsentence\bibstring{nodate}}}{}}%
{\printtext{\printdateextra}}%
}
\endgroup}%
}
\setlength{\textheight}{11cm}
\begin{document}
\pagestyle{empty}
This document is an example of \texttt{biblatex} package using in
bibliography management. Three items are cited: The
\LaTeX\ Companion book \autocite{companion}, the Einstein
journal paper \autocite{aristotle:physics}, and the Donald
Knuth's website \autocite{westfahl:space}. The \LaTeX\ related items
\medskip
\printbibliography
\end{document}