\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{authblk}
\usepackage{graphicx}
\usepackage{mathptmx}
\usepackage[english]{babel}
\usepackage[singlespacing]{setspace}
\usepackage[headheight=1in,margin=1in]{geometry}
\usepackage{fancyhdr}
\usepackage[english]{babel}
%\usepackage[backend=bibtex,style=numeric,natbib=true]{biblatex}
\usepackage{float}
\usepackage{biblatex}
\addbibresource{sample.bib}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\chead{
THIS IS HEADER
}
\chead{%
TITLE
}
\graphicspath{{images/}}
\title{Insert Title Here}
\author[]{} % Please leave Author-field blank for blind review and remove information that may identify the author(s)
\date{}
\begin{document}
\maketitle
\thispagestyle{fancy}
\vspace{-6em}
\begin{center}
\textbf{\textit{Keywords: Please provide 5 keywords that describe your work}}
\newline
\end{center}
\section*{Abstract}
MainBody \ref{A}.
\printbibliography
\end{document}
下边是sample.bib
:
@misc{A, title={some title}, volume={25}, number={11}, journal={First Monday}, author={A,B,C}, year={2020}, month={Oct.} }
答案1
发布参考书目的列标题是biblatex
(和标准 LaTeX thebibliography
) 的标准行为,并且这些标题会被拾取fancyhdr
。
该效果可以biblatex
在
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\chead{TITLE}
% just for testing
\usepackage{blindtext}
\begin{document}
\section{Lorem}
\blindtext
\Blinddocument
MainBody \cite{sigfridsson}.
\printbibliography
\end{document}
并使用标准thebibliography
/BibTeX
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\chead{TITLE}
\usepackage{blindtext}
\begin{document}
\section*{Abstract}
\section{Lorem}
\blindtext
\Blinddocument
MainBody \cite{inbook-full}.
\bibliographystyle{plain}
\bibliography{xampl}
\end{document}
在这些示例中,请注意其他\section
命令如何生成列标题。
解决方案取决于你想要什么。如果你想删除所有分区列标题,请替换
\pagestyle{fancy}
\chead{
THIS IS HEADER
}
\chead{%
TITLE
}
和
\pagestyle{fancy}
\fancyhead{}
\fancyhead[c]{TITLE}
IE
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[c]{TITLE}
% just for testing
\usepackage{blindtext}
\begin{document}
\section{Lorem}
\blindtext
\Blinddocument
MainBody \cite{sigfridsson}.
\printbibliography
\end{document}
如果你想保留分区列标题,你可以尝试类似
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\fancyhead[c]{TITLE}
\makeatletter
\defbibheading{bibliography}[\refname]{%
\section*{#1}%
\@mkboth{\abx@MakeMarkcase{#1}}{}}
\makeatother
% just for testing
\usepackage{blindtext}
\begin{document}
\section{Lorem}
\blindtext
\Blinddocument
MainBody \cite{sigfridsson}.
\printbibliography
\end{document}