I am working on my Master’s thesis using the book
class. I need to write the citations both as footnotes in the text and to collect them at the end in the Bibliography chapter. To do this, I need two different styles, one for the footnote citations and one for the bibliography entries.
I have created the footnote style that I need thanks to the xpatch
package. However, I do not understand how to change the style of the entries in the bibliography at the end of the thesis (at the moment, the two styles are the same).
For the footnote citations, they have to appear as:
N. Surname et al., Title of the paper. Title of the journal, Editor, Year, pages
For the bibliography entries, they have to appear as:
Surname Name, Title of the paper. Title of the journal, Editor, Year
This is the MWE (the footnote citation style is correct, the bibliography style is wrong). I compile using XeLaTeX and Biber:
\documentclass[a4paper,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage[style=verbose,
doi=false,
firstinits=true,
maxbibnames=99
]{biblatex}
\usepackage{fontspec}
\usepackage{titlesec}
\usepackage{titletoc}
\usepackage{xpatch}
\usepackage[english]{babel}
\setmainfont{Arial}
\pagestyle{plain}
\titleformat{\chapter}[hang]
{\normalfont\huge\bfseries}{\thechapter}{1em}{}
\addbibresource{Bib.bib}
% et al. italics
\xpatchbibmacro{name:andothers}{%
\bibstring{andothers}%
}{%
\bibstring[\emph]{andothers}%
}{}{}
\usepackage{xpatch}
\xpretobibmacro{title}{\unspace\addcomma\addspace}{}{}
\DeclareFieldFormat[article]{title}{\textit{#1}\addcomma}
\DeclareFieldFormat[book]{title}{\textit{#1}\nopunct}
\DeclareFieldFormat[book]{title}{\textit{#1}\addcomma}
\renewbibmacro{in:}{ in\nopunct}
\DeclareFieldFormat{journaltitle}{\guillemotleft #1\guillemotright \addcomma}
\DeclareFieldFormat{pages}{#1}
\setlength\bibitemsep{1.5\itemsep}
%**BEGIN DOCUMENT**
\begin{document}
\chapter{Introduction}
Lorem ipsum\footcite{Aiello2014}
Lorem ipsum\footcite{Arksey1999}
\printbibliography
\end{document}
This is the Bib.bib file
%Aiello_Bulgherano
@article{Aiello2014,
title={{An assessment of the Beerkan method for determining the hydraulic properties of a sandy loam soil}},
author={Aiello, R and Bagarello, V and Barbagallo, S and Consoli, S and Di Prima, S and Giordano, G and Iovino, M},
journal={Geoderma},
volume={235},
pages={300--307},
year={2014},
doi={10.1016/j.geoderma.2014.07.024}
}
%Arksey
@book{Arksey1999,
title={Interviewing for social scientists: An introductory resource with examples},
author={Arksey, Hilary and Knight, Peter T},
year={1999},
publisher={Sage}
}
The footnote citations should look like this (the first is a paper and the second is a book):
The bibliography citations should look like this (the first is a paper and the second is a book):
\usepackage[utf8]{inputenc}
(XeLaTeX is always UTF-8, this one is harmless I think, but it still should be dropped) and\usepackage[T1]{fontenc}
(this chooses different fonts, is probably overridden byfontspec
later, but I would still remove it as it should basically never be used with Unicode engines).\usepackage{xpatch}
. You may want to consider loadingcsquotes
for proper quotation mark support inbiblatex
, that may allow us to find a more elegant way to say\DeclareFieldFormat{journaltitle}{\guillemotleft #1\guillemotright \addcomma}
.