shorter citations in the margin

440 views
Skip to first unread message

Anil Raj

unread,
Jun 9, 2011, 1:26:02 AM6/9/11
to tufte...@googlegroups.com
Hi,
First off, thanks so much for this incredibly great class and for the
great support on this group!!

My question: How can I make shorter citations in the margin and how
much control does one have over this? e.g., is it possible to include
the {author,year,title} or {author,year,title,journal} instead of just
{author,year}?

A few earlier threads discussing a similar question suggest using
different commands in the natbib package. However, I was unable to
find a command that would allow for more control on what information
to include. (Most commands only allow including the author and/or
year.) It is sometimes useful to have the title or journal in the
margin citations as well (DOI, url etc tend to clutter things up
though).

Any suggestions on how I could go about doing this?

Thanks much!

Best,
Anil

Kevin Godby

unread,
Jun 9, 2011, 2:14:24 AM6/9/11
to tufte...@googlegroups.com
Hello, Anil.

On Thu, Jun 9, 2011 at 12:26 AM, Anil Raj <anil....@gmail.com> wrote:
> Hi,
>  First off, thanks so much for this incredibly great class and for the
> great support on this group!!

Thanks for your kind words!

>  My question: How can I make shorter citations in the margin and how
> much control does one have over this? e.g., is it possible to include
> the {author,year,title} or {author,year,title,journal} instead of just
> {author,year}?
>
> A few earlier threads discussing a similar question suggest using
> different commands in the natbib package. However, I was unable to
> find a command that would allow for more control on what information
> to include. (Most commands only allow including the author and/or
> year.) It is sometimes useful to have the title or journal in the
> margin citations as well (DOI, url etc tend to clutter things up
> though).
>
>  Any suggestions on how I could go about doing this?

Unfortunately, I think this might be beyond the capabilities of the
natbib package.

It looks like the biblatex package provides an interface for pulling
out data from individual bibliography entry fields (such as author(s)
name(s), publication date, title, journal, etc.), but I haven't had a
chance to play with biblatex yet, so I can't offer any specific advice
or code.

If you do want to give biblatex a shot, you can pass the 'nocite'
option to the \documentclass command:

\documentclass[nocite]{tufte-book}% of tufte-handout

This will suppress the Tufte-LaTeX citation modifications and will not
load the natbib package. At that point, you can start adding biblatex
commands to the preamble of your document and experimenting.

I'm sorry I couldn't be of more help. But if you (or any other
readers) do find a solution, I'd love to hear about it!

--Kevin Godby

Shaima

unread,
Sep 8, 2011, 6:25:12 PM9/8/11
to tufte...@googlegroups.com
Anil, I'm another Natbib user who would love to hear if you come up with a solution to the problem.

Kevin Godby

unread,
Sep 8, 2011, 7:18:26 PM9/8/11
to tufte...@googlegroups.com
Hello, Shaima.

On Thu, Sep 8, 2011 at 5:25 PM, Shaima <slna...@gmail.com> wrote:
> Anil, I'm another Natbib user who would love to hear if you come up with a
> solution to the problem.

The answer to this question may be useful to you:

<http://tex.stackexchange.com/questions/25596/can-i-cite-something-while-specifying-exactly-what-text-will-appear-at-that-place>

--Kevin Godby

Shaima

unread,
Sep 9, 2011, 11:16:40 AM9/9/11
to tufte...@googlegroups.com
While not a solution to Anil's problem, I did find a solution to my natbib/tufte-latex problem.  I'm a physical scientist and citations are frequent, even in my personal research journal.  What I really wanted was to be able to choose when full references were shown in the margin.  I feel a bit like an idiot because the solution is so simple, but I'm a tufte-latex novice.

In this example, I can cite a paper by \citet{cite-key}\cite{cite-key} and have Author (year) in the text and the full citation in the margin.  

The next time I reference the paper, I'll only use first \citet command and I don't get the margin citation.

Thanks your help and time.

 - S

David Garbutt

unread,
Sep 9, 2011, 11:21:28 AM9/9/11
to tufte...@googlegroups.com, tufte...@googlegroups.com
I hope Kevin will now jump in with a macro you can put in the preamble to make this a default behavior ... 
:-)

Dave

Sent from my iPhone 4
--
You received this message because you are subscribed to the Google Groups "tufte-latex" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tufte-latex/-/FPY04pU_NQoJ.
To post to this group, send email to tufte...@googlegroups.com.
To unsubscribe from this group, send email to tufte-latex...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tufte-latex?hl=en.

Kevin Godby

unread,
Sep 9, 2011, 2:57:44 PM9/9/11
to tufte...@googlegroups.com
On Fri, Sep 9, 2011 at 10:21 AM, David Garbutt
<david.j...@gmail.com> wrote:
> I hope Kevin will now jump in with a macro you can put in the preamble to
> make this a default behavior ...
> :-)

So you'd like \cite{Garbutt2011} to put (Garbutt, 2011) in the text
and only put the full bibliography entry in the margin the first time
you cite that entry?

--Kevin

David Garbutt

unread,
Sep 9, 2011, 3:48:14 PM9/9/11
to tufte...@googlegroups.com, tufte...@googlegroups.com
Yes it's an idea
And the second time it is called only in the text ....

Dave

Sent from my iPhone 4

> --
> You received this message because you are subscribed to the Google Groups "tufte-latex" group.

Kevin Godby

unread,
Sep 9, 2011, 4:50:37 PM9/9/11
to tufte...@googlegroups.com
Hello.

I've attached a .tex file that modifies the \cite command to do this.
You may want to customize it a bit to your liking. Right now it it's
using \citep, but you could use \citet instead.

There's also a \resetcitations command that forces it to forget about
any previous citations. This may be helpful if you'd like the full
citations to appear in each new chapter, for instance.

--Kevin

firstcite.tex
Reply all
Reply to author
Forward
0 new messages