BibTeX, biblatex and biber ⇒ Bibliography with Citation in Author-Year Format
-
- Posts: 12
- Joined: Sat May 07, 2011 3:03 pm
Bibliography with Citation in Author-Year Format
I would like authors to be cited in the following format: Smith [1997].
Any ideas? Basic internet search did not return much.
Regards,
august_month
P.S.: I guess natbib offers some interesting functionality. Could anybody give me a link with example on how to use it (including citation and bibliography). It seems like bibliography needs to be in separate file. Sounds crazy to me.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Bibliography with Citation in Author-Year Format
I really don't believe you.august_month wrote: Any ideas? Basic internet search did not return much.
Have a look at TeX{SX} for a starting point. There are also linked questions on the right hand side. Plaese have a look.
btw: just typing
latex bibliography
into my standard search engines directs me to WikiBook: LaTeX/Bibliography Management.There is the same advice: Use biblatex in conjunction with biber.
If you are speaking german by any chance, please also have a look at GoLaTeX: Erstellung von Literaturverzeichnissen
-
- Posts: 12
- Joined: Sat May 07, 2011 3:03 pm
Re: Bibliography with Citation in Author-Year Format
But I will keep reading.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Bibliography with Citation in Author-Year Format
\usepackage[style=authoryear]{biblatex}
should do the trick for you.-
- Posts: 12
- Joined: Sat May 07, 2011 3:03 pm
Bibliography with Citation in Author-Year Format
Code: Select all
\documentclass[12pt,oneside,reqno,fleqn]{article}
\usepackage{amsmath}
\usepackage{blindtext}
\usepackage[style=authoryear]{biblatex}
\setlength{\mathindent}{\parindent}
\begin{document}
\begin{align}
y_1=ax_1+b\\
y_2=ax_2+b
\end{align}
\blindtext
blah, blah \cite{BL}
\begin{thebibliography}{BH}
\bibitem{BL} Black F. and Litterman R.:\textit{ Global Portfolio Optimization}, Financial Analysts Journal, September 1992, pp. 28–43
\end{thebibliography}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Bibliography with Citation in Author-Year Format
filecontents
. You can manage your references with Jabref.Run latex (or pdflatex), biber, latex and latex again on the main file (without the ending), or just use
latexmk
Code: Select all
\RequirePackage{filecontents}
\begin{filecontents}{my\jobname.bib}
@book{ilias,
author = {Homer},
title = {Die Ilias},
date = 2004,
translator = {Schadewaldt, Wolfgang},
introduction = {Latacz, Joachim},
edition = 3,
publisher = {Artemis \& Winkler},
location = {D{\"u}sseldorf and Z{\"u}rich},
langid = {german},
sorttitle = {Ilias},
indextitle = {Ilias, Die},
shorttitle = {Ilias},
annotation = {A German translation of the \emph{Iliad}. Note the
\texttt{translator} and \texttt{introduction} fields and the
format of the \texttt{location} field in the database
file. Also note the \texttt{sorttitle} and \texttt{indextitle}
fields},
}
\end{filecontents}
\documentclass[12pt,oneside,reqno,fleqn]{article}
\usepackage{amsmath}
\usepackage{blindtext}
\usepackage[style=authoryear]{biblatex}
\addbibresource{my\jobname.bib}
\setlength{\mathindent}{\parindent}
\begin{document}
\begin{align}
y_1=ax_1+b\\
y_2=ax_2+b
\end{align}
\blindtext
blah, blah \cite{ilias}
\printbibliography
\end{document}