我的书目有问题。每次引用/来源后,书目中都会写上“打印”,我不知道如何删除或摆脱它。
\documentclass[12pt,twoside,a4paper,openright]{report}
\usepackage[utf8]{inputenc}
\usepackage[english,danish]{babel}
\usepackage{mathptmx}
\usepackage[
backend=biber,
style=mla,
]{biblatex} %kildehenvisning \parencite{}, husk selv at skrive årstal.
\addbibresource{sample.bib} %Imports bibliography file
\usepackage[final]{pdfpages}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{textcomp}
%\usepackage{float}
\usepackage{pdflscape}
\usepackage{tabularx}
\usepackage{pifont}
\usepackage{verbatim}
\usepackage{enumitem} % Required for make compact versions of itemize, description, and enumerate.
\usepackage[list=true]{subcaption} % Used for having multiple figures side by side, as well as their aligment -- MUST be loaded before the hyperref package !!!
\usepackage[most]{tcolorbox} % Required for creating a border around math-theorems
% The standard graphics inclusion package
\usepackage{graphicx}
% Set up how figure and table captions are displayed
\usepackage{caption}
\captionsetup{%
font=footnotesize,% set font size to footnotesize
labelfont=bf % bold label (e.g., Figure 3.2) font
}
% Make the standard latex tables look so much better
\usepackage{array,booktabs}
% Enable the use of frames around, e.g., theorems
% The framed package is used in the example environment
\usepackage{framed}
% Modify how \chapter, \section, etc. look
% The titlesec package is very configureable
\usepackage{titlesec}
\titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat*{\section}{\normalfont\Large\bfseries}
\titleformat*{\subsection}{\normalfont\large\bfseries}
\titleformat*{\subsubsection}{\normalfont\normalsize\bfseries}
%\titleformat*{\paragraph}{\normalfont\normalsize\bfseries}
%\titleformat*{\subparagraph}{\normalfont\normalsize\bfseries}
% Clear empty pages between chapters
%\let\origdoublepage\cleardoublepage
%\newcommand{\clearemptydoublepage}{%
% \clearpage
% {\pagestyle{empty}\origdoublepage}%
%}
%\let\cleardoublepage\clearemptydoublepage
% Change the headers and footers
\usepackage{fancyhdr}
\pagestyle{fancy} % Changes the header style.
\fancyhf{}
\setlength{\headheight}{15pt}
\usepackage{fancyhdr}
% Spaces around titles
\usepackage{titlesec}
\titlespacing*{\section}{6pt}{15pt}{9pt}
\titlespacing*{\subsection}{5pt}{12pt}{7pt}
\titlespacing*{\subsubsection}{4pt}{11pt}{6pt}
\titlespacing*{\paragraph}{3pt}{10pt}{5pt}
\titlespacing*{\subparagraph}{3pt}{8pt}{3pt}
\definecolor{greyshade}{rgb}{0.800,0.800,0.800}
\definecolor{aau}{rgb}{0.2,0.39,0.6}
\usepackage[absolute]{textpos}
\TPGrid[40mm,23mm]{100}{100}
% Chapter headings design
\makeatletter
\def\@makechapterhead#1{{
\begin{textblock}{27}(74,0)
\begin{flushright}
{\fontsize{8}{10}\selectfont\bfseries\textcolor{white}{1.}\@chapapp}\;\;\;\\
\vspace{3pt}
{\fontsize{85}{85}\selectfont\bfseries\textcolor{greyshade}{\thechapter}}
\end{flushright}
\end{textblock}
\vspace*{0.7cm}
\begin{textblock}{68}[0,1](0,13.5)\Huge\bfseries \noindent #1\end{textblock}
\vspace*{0.25cm}
\hrule
\vspace*{0.5cm}
}}
\makeatother
% Enable arithmetics with length. Useful when
% typesetting the layout.
\usepackage{calc}
\rfoot{Side \thepage \hspace{1pt} af \pageref{LastPage}}
\usepackage{lastpage}
%\usepackage{hyperref}
%\hypersetup{
% pdfpagelabels=true,
% plainpages=false,
% pdfauthor={Author(s)},
%pdftitle={Title},%
% pdfsubject={Subject},%
% bookmarksnumbered=true,%
% colorlinks=false,%
% citecolor=black,%
% filecolor=black,%
% linkcolor=black,% you should probably change this to black before printing
% urlcolor=black,%
% pdfstartview=FitH%
%}
\newcommand{\blankpage} {
\newpage
\thispagestyle{empty}
\mbox{}
\newpage
}
\renewcommand{\baselinestretch}{1.5}
\newcommand{\quotePlain}[1] {
\begin{quotation}
" \em #1 "
\end{quotation}
}
\newcommand{\quoteWithCite}[2] {
\begin{quotation}
" \em #1 "\normalfont{\cite{#2}}
\end{quotation}
}
\usepackage{csquotes}
%links
\usepackage{hyperref} %url
\hypersetup{pdfborder={0 0 0},
linkcolor=red
}
答案1
简短回答:
重写 biblatex 命令如下:
\usepackage[backend=biber, style=mla, showmedium=false]{biblatex} % kildehenvisning \parencite{}, husk selv at skrive årstal.
问题:
由于提问者没有提供 MWE,因此这里重现了所提到的参考书目中多余的“打印”字的问题:
\documentclass{report}
\usepackage[backend=bibtex, style=mla]{biblatex} % or backend=biber
\addbibresource{reference.bib}
\usepackage[hidelinks, colorlinks=true]{hyperref}
%
\begin{document}
%
%
\chapter{Reference and Citation} \label{ch:reference}
%
\section{Introduction} \label{sec:intro}
In order to cite one reference, you can use cite command like this \cite{Doe_2020}. You can also cite two references like this \cite{Doe_2020,Tenis_2000}.
%
\printbibliography
%
\end{document}
产生带有额外“打印”的输出
解决方案:
使用该mla
样式时,应指定出版的媒介,如果没有,则参考书目中每个书目条目旁边将显示默认的“打印”,就像提问者所发生的那样。
解决方案就是添加biblatex
选项showmedium=false
。添加该选项后,使用上面相同的 MWE 代码,如下所示
\usepackage[backend=bibtex, style=mla, showmedium=false]{biblatex}
将删除多余的打印,如下所示:
语言翻译:
如果您的问题还与语言翻译格式有关,正如您的问题标题所示,并且猜测它是丹麦语(根据您的评论判断),那么您可以使用babel
带有丹麦语选项的包,方法是在序言中添加以下行
\usepackage[danish]{babel}
你将获得以下输出,而无需showmedium=false
并使用showmedium=false