
다음 MWE에서 저자의 이름을 삭제하려면 어떻게 해야 합니까? 나는 이미 항목의 양과 페이지를 억제했습니다. 나는 이것을 읽고 싶습니다 :
브라브와 히튼(2002). 금융 이상 현상에 대한 경쟁 이론. 금융 연구 검토.
\documentclass{beamer}
\usetheme{Boadilla}
\usepackage{chngcntr}
\usepackage{lmodern}
\begingroup\newif\ifmy
\IfFileExists{\jobname.bib}{}{\mytrue}
\ifmy
\begin{filecontents}{\jobname.bib}
@ARTICLE{Brav2002,
author = {Alon Brav and J. B. Heaton},
title = {Competing Theories of Financial Anomalies},
journal = {Reveiw of Financial Studies},
year = {2002},
volume = {15:2},
pages = {575-606},
owner = {User},
timestamp = {2013.11.03}
}
\end{filecontents}
\fi\endgroup
\usepackage[backend=bibtex,citestyle=verbose]{biblatex}
\addbibresource{delete.bib}
\renewbibmacro{in:}{\hspace{-5pt}}
\AtEveryCitekey{\clearfield{pages}\clearfield{volume}}
\begin{document}
\begin{frame}
\frametitle{Stuff famous linguists asked}
\begin{block}{A block}
\begin{enumerate}
\item Is it part?\footcite{Brav2002}
\item More Saussure.
\end{enumerate}
\end{block}
\end{frame}
\end{document}
답변1
\DeclareNameFormat
지시문을 사용하여 이름을 버릴 수 있습니다 . 방금 코드에 다음 줄을 추가했습니다.
\DeclareNameFormat{}{\usebibmacro{name:first-last}{}{#5}{#1}{#7}}
아래 샘플 페이지에서 볼 수 있듯이 이름 출력은 생략됩니다.
name:first-last
나는 그것이 bibmacro를 남용하고 이름 접미사와 접두사를 올바르게 처리하는지 확인하지 않았기 때문에 어떤 부분에서는 약간의 해키 솔루션이라는 것을 인정해야 하지만 MWE 환경에서는 작동합니다.
답변2
다음 재정의를 사용하는 것이 좋습니다 cite:full
.
\renewbibmacro*{cite:full}{%
\usebibmacro{cite:full:citepages}%
\printtext[bibhypertarget]{%
\usedriver
{\DeclareNameAlias{sortname}{labelname}}
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}
cite:full
스타일 에서는 verbose
일반적으로 참고문헌에 인쇄되는 것처럼 전체 참고문헌 항목을 인쇄하지만 그 전에는 ( ) sortname
로 변경되므로 형식 에 이름이 표시됩니다 ( 기본적으로 ...로 설정됨).default
\DeclareNameAlias{sortname}{default}
first-last
default
간단히 sortname
로 변경하여 labelname
가능한 경우 성을 얻고 그렇지 않은 경우에는 명확한 이름을 얻습니다( uniqeuname
옵션에 따라 다르지만 이름 형식은 후속 인용과 동일합니다).
무슨 일이 있어도 성을 고집한다면 나는 제안하고 싶습니다.
\DeclareNameFormat{family}{%
\usebibmacro{name:family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\usebibmacro{name:andothers}}
\renewbibmacro*{cite:full}{%
\usebibmacro{cite:full:citepages}%
\printtext[bibhypertarget]{%
\usedriver
{\DeclareNameAlias{sortname}{family}}
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}
다음에 대해 편집됨biblatex
>= 3.3 의 새로운 이름 형식, 3.3 이전 코드의 편집 기록을 참조하세요.
MWE
\documentclass{beamer}
\usetheme{Boadilla}
\usepackage{chngcntr}
\usepackage{lmodern}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{Brav2002,
author = {Alon Brav and J. B. Heaton},
title = {Competing Theories of Financial Anomalies},
journal = {Reveiw of Financial Studies},
year = {2002},
volume = {15:2},
pages = {575-606},
}
\end{filecontents*}
\usepackage[backend=bibtex,style=verbose]{biblatex}
\addbibresource{\jobname.bib}
\renewbibmacro{in:}{\hspace{-5pt}}
\AtEveryCitekey{\clearfield{pages}\clearfield{volume}}
\renewbibmacro*{cite:full}{%
\usebibmacro{cite:full:citepages}%
\printtext[bibhypertarget]{%
\usedriver
{\DeclareNameAlias{sortname}{labelname}}
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}
\begin{document}
\begin{frame}
\frametitle{Stuff famous linguists asked}
\begin{block}{A block}
\begin{enumerate}
\item Is it part?\footcite{Brav2002}
\item More Saussure.\footcite{Brav2002}
\end{enumerate}
\end{block}
\end{frame}
\end{document}