BibTeX, biblatex and biber ⇒ square bracket in references
-
- Posts: 5
- Joined: Wed Aug 07, 2013 6:53 am
square bracket in references
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
square bracket in references
-
- Posts: 5
- Joined: Wed Aug 07, 2013 6:53 am
square bracket in references
Code: Select all
% Chapter 2
\documentclass[a4paper, 11pt, oneside]{book}
% Include any extra LaTeX packages required
\usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{apacite}
\begin{document}
\chapter{Related Work} % Write in your own chapter title
\label{Chapter2}
\lhead{Chapter 2. \emph{Related Work}} % Write in your own chapter title to set the page header
\section{Welcome and Thank You}
The books are available for you to \citeA{Benz2010} download for\citeA{Waycott} free. They were originally plain text files but were quickly and easily converted into beautifully typeset and well presented eBooks through \LaTeX{} for you to enjoy.
\bibliographystyle{apacite}
\bibliography{Ref}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
square bracket in references
However, modifying BibTeX-styles is complicated.
Using the newer biblatex and the corresponding bibliographyprocessor biber is recommended nowadays. This also gives you complete utf8 support. Take a look at the following example.
Code: Select all
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{biblatex-examples.bib}
\begin{document}
\textcite{herrmann}
\cite{herrmann}
\parencite{herrmann}
\printbibliography
\end{document}
-
- Posts: 5
- Joined: Wed Aug 07, 2013 6:53 am