0

Using the tufte-latex package, the tufte-book class replaces the page argument from the cite command with a positioning argument, therefore impariring the possibility of citing pages. Is there a way to go around it an keep citing with pages?

The normal way of using tufte-book without pages is like this:

tufte-mwe.tex :

\documentclass{tufte-book} 
\begin{document} 
A citation\cite{Tufte2001}. 
\bibliography{tufte-mwe} 
\bibliographystyle{plainnat} 
\end{document} 

tufte-mwe.bib:

@BOOK{Tufte2001,
    author = {Edward R. Tufte},
    title = {The Visual Display of Quantitative Information},
    publisher = {Graphics Press},
    year = {2001},
    address = {Cheshire, Connecticut},
    isbn = {0-9613921-4-2}
}

Produces this: Normal tufte-book citation

But using cite to insert page numbers like this:

\documentclass{tufte-book} 
\begin{document} 
A citation\cite[p.50]{Tufte2001}. 
\bibliography{tufte-mwe} 
\bibliographystyle{plainnat} 
\end{document} 

Doesn't work and produces this: tufte-book with page numbers

This is because the tufte-book class expects a measure of position and not a page number (to append to the citation) as an argument.

Thanks.

edit: added mwe and precisions

  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Oct 9 '14 at 21:45
  • I don't know how it works in natbib but I think you can add the pages field in your reference, and then maybe they'll appear in your citation. – Aradnix Oct 10 '14 at 2:28
  • Thanks, Aradnix, you're right. But that doesn't work to reference a specific page within a reference, a book page for instance. – Erispoe Oct 10 '14 at 3:17
  • You can use ´biblatex´. There is a related question here. The patch is described on the original tufte page. – Andy Oct 10 '14 at 4:57
  • Thanks for the reference. It works, with a modification of the renewcommand for cite. Also, the package version in CRAN is older than the sources, you need to go to the sources directly. – Erispoe Oct 10 '14 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.