Biber, BibLatex?

326 views
Skip to first unread message

Carl-Henrik Buschmann

unread,
May 30, 2015, 6:42:21 AM5/30/15
to tufte...@googlegroups.com
It seems to me that Biber and biblatex has much to offer. Is it possible to convert tufts to this?

Kevin Godby

unread,
May 30, 2015, 1:24:36 PM5/30/15
to tufte-latex
Hi, Carl-Henrik.
It is. This is the route I was taking with your previous request, but
I still need to read through the BibLaTeX manual to learn what I need
to replace \fullcite with to make it only print the author, year, and
title per your request.

\documentclass[nobib]{tufte-book}% or tufte-handout

% Bibliography
\usepackage[backend=biber,style=numeric]{biblatex}
\addbibresource{whatever.bib}
\renewcommand{\cite}[2][0pt]{%
\sidenote[][#1]{\fullcite{#2}}%
}

\begin{document}

Blah blah\cite{Someone2015}...

\printbibliography

\end{document}

—Kevin

Steve quinlan

unread,
Nov 26, 2015, 10:45:44 AM11/26/15
to tufte...@googlegroups.com
This is quite a late response, but here is how I have adapted tufte-latex to be used with biblatex and xelatex.

As I use a lot of margin notes, margin figures, etc but I also cite references within sidenotes. This became cumbersome and messy, so I had to alter the default citations in Tufte to be a bit more compact. Basically a citation here is setup to be  "Author, [bibliography number]" instead of the usual tufte version.

With this setup I use \textcite{YourReferenceLabel} when referencing something inside a \sidenote{}, which will print the citation inline in the sidenote text. Then in the main text I use \autocite{YourReferenceLabel} which will print the reference as a sidenote.

\documentclass[nobib]{tufte-book}%

%XeLatex specifics

\usepackage{fontspec}
\usepackage{xunicode,xltxtra}

%% font definitions
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Your Roman Font Name}[Mapping=tex-text]
\setsansfont{Your Sans Font Name}[Scale=MatchLowercase, Mapping=tex-text]
\setmonofont{Your Mono Font Name}[Scale=MatchLowercase]

%Tufte-Latex Spacing Work around for XeLaTeX
\renewcommand{\allcapsspacing}[1]{{\addfontfeature{LetterSpace=20.0}#1}}
\renewcommand{\smallcapsspacing}[1]{{\addfontfeature{LetterSpace=5.0}#1}}
\renewcommand{\textsc}[1]{\smallcapsspacing{\textsmallcaps{#1}}}
\renewcommand{\smallcaps}[1]{\smallcapsspacing{\scshape\MakeTextLowercase{#1}}}

%BibLatex Setup

\usepackage[
natbib=true,
bibstyle=numeric,
block=nbpar,
citetracker=true,
citestyle=numeric,
backend=biber]{biblatex}

%% Add bibliography files
\addbibresource{YourBibliographyFile.bib}

%Recommended for Biblatex/Biber
\usepackage[autostyle]{csquotes}

%% Commands for cites to work with biblatex
\usepackage{hyphenat}
\usepackage{hyperref}

\hypersetup{%
  unicode=true, %non-Latin chars
  colorlinks=true, %false: boxed links, true=coloured links
  linkcolor=blue,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=red           % color of external links

}%

%%% End Preamble

-Steve


--
You received this message because you are subscribed to the Google Groups "tufte-latex" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tufte-latex...@googlegroups.com.
To post to this group, send email to tufte...@googlegroups.com.
Visit this group at http://groups.google.com/group/tufte-latex.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages