Coder Social home page Coder Social logo

tufte-latex / tufte-latex Goto Github PK

View Code? Open in Web Editor NEW
1.6K 69.0 294.0 4.21 MB

A Tufte-inspired LaTeX class for producing handouts, papers, and books

Home Page: https://tufte-latex.github.io/tufte-latex/

TeX 94.07% Shell 4.82% Asymptote 1.12%
tufte-latex tex latex latex-template latex-class tufte tufte-style template-latex template templates

tufte-latex's Introduction

Hi,

Welcome to the beginnings of Tufte LaTeX package to help you produce Tufte-style handouts, reports, and notes.

Quick Start

Try typesetting sample-handout.tex with the following sequence of commands,

pdflatex sample-handout
bibtex   sample-handout
pdflatex sample-handout
pdflatex sample-handout

The result should look like sample-handout.pdf.

The sample book can be compiled with the following:

pdflatex sample-book
bibtex sample-book
texindy --language english sample-book.idx
# or makeindex sample-book.idx
pdflatex sample-book
pdflatex sample-book
pdflatex sample-book

Troubleshooting

If you encounter errors of the form,

! LaTeX Error: File `paralist.sty' not found.

you will need to obtain missing packages from CTAN. For package installation instructions and answers to many other questions, see the UK TeX FAQ or search the comp.text.tex group.

The following packages are required:

  • chngpage or changepage
  • fancyhdr
  • fontenc
  • geometry
  • hyperref
  • natbib and bibentry
  • optparams
  • paralist
  • placeins
  • ragged2e
  • setspace
  • textcase
  • textcomp
  • titlesec
  • titletoc
  • xcolor
  • xifthen

The following packages are optional and will be automatically used if installed:

  • beramono
  • helvet
  • ifpdf
  • ifxetex
  • letterspace (in the microtype package)
  • mathpazo
  • soul

Bugs/Features/Support

For kudos, feature requests, patches, or support requests that you feel are particular to this Tufte-LaTeX package, i.e., not a general LaTeX issue, please use this project's issue tracker available at https://github.com/Tufte-LaTeX/tufte-latex/issues.

Contributing

Patches and pull requests are most welcome via the issue tracker! Submit a series of high quality patches, and you'll find yourself a developer on this project.

License

Copyright 2007โ€“2015 by Kevin Godby, Bil Kleb, and Bill Wood.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

tufte-latex's People

Contributors

adunning avatar ascherer avatar godbyk avatar kleb avatar youam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tufte-latex's Issues

Captions as sidenotes

Find a way to set captions as sidenotes.  If the figure/table fits in the
\textwidth, the caption should be a sidenote alongside the figure/table. 
If the figure/table stretches across the full page width, the caption
should be set as a sidenote above or below the figure/table.

Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 12:23

\thanks command with author name string produces compilation error.

(Please attach an example .tex file demonstrating the problem or bug.)

Please describe the feature, problem, or bug:
When the \thanks command is used with author name string, pdflatex shows
compilation error. Logfile is attached. Lines 624-637 and 638-645 describe
the errors. 

What is the expected output? What do you see instead?
Apparently, output is produced correctly though there is compilation error.

What version of Tufte-LaTeX are you using?  With which TeX distribution?
tufte-3.5.0
pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.9.18)
26 DEC 2009 19:38


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Dec 2009 at 3:36

Attachments:

Tufte-book: No \part or \subsubsection?

(Please attach an example .tex file demonstrating the problem or bug.)

Please describe the feature, problem, or bug:

Reading the sample-book.pdf file, page 15, leads me to believe that \part
and \subsubsection are defined in the tufte-book class.  However when I try
to use these commands TeX emits an error to the effect that they are undefined.


What is the expected output? What do you see instead?
I expect to see the output formatted as described in page 15 of the
tufte-book manual.  Instead I see nothing: TeX stops.


What version of Tufte-LaTeX are you using?  With which TeX distribution?
Version 3.0 with texlive (Ubuntu Jaunty).

Please provide any additional information below.

Thanks for your great work so far.  Please let me know if I can be more
helpful with bug reports.  I have attached my actual working file.  Would
you prefer the absolute minimum TeX markup to reproduce the bug, or
real-life documents?

Original issue reported on code.google.com by [email protected] on 19 Jun 2009 at 11:24

Attachments:

Referencing tables not working when using subfigure package

First of all, thank you very much for these great document classes. I'm
using tufte-book for my Diplomarbeit and I'm really happy with it.

However, there seems to be a bug in the current SVN version (as of
9/4/2010) regarding referencing tables and using the subfigure package at
the same time. 

If one compiles the attached .tex-file without uncommenting the line

\usepackage[FIGBOTCAP,TABBOTCAP]{subfigure}

then the \ref-command produces the number 1.2 (which is the current section
number) instead of 1.1 (which is the correct table number). In contrast,
when commenting the above line everything works as expected (besides that I
have to do a manual \stepcounter{figure} after using the \subfigure command.

In the meantime I uncommented the following lines in tufte-common.def as a
workaround:

\ifthenelse{\boolean{@tufte@packages@subfigure}}{%
% don't move the label while inside a \subfigure or \subtable command
\global\let\label\@tufte@orig@label%
}{}% subfigure package is not loaded


The error occurs with recent texlive and Miktex installations.

Thank you very much in advance.

Roy


Original issue reported on code.google.com by [email protected] on 9 Apr 2010 at 12:19

Attachments:

Including package subfig breaks text size and font of Figure captions

(Please attach an example .tex file demonstrating the problem or bug.)
Just add \usepackage{subfig} to any of the samples.

Please describe the feature, problem, or bug:
As per the title, including the subfig package breaks text size and font of
Figure captions, switching them to the main text's font type and size.

What version of Tufte-LaTeX are you using?  With which TeX distribution?
TeXLive-2009, but with Tufte-LaTeX 3.5.0 from this site.


Original issue reported on code.google.com by [email protected] on 5 Apr 2010 at 11:14

  • Merged into: #40

synchronization with the algorithm environnements (caption in pargin)

Hi,

in what's below, the caption of the algorithm is not in the margin.
Maybe the provided example is not the most general one and should be
considered with care but offering algorithm captions to be in the margin
would be nice.

Thank you (version 133 used)


\documentclass[fleqn,justified]{tufte-book}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{algorithmic}
\usepackage{algorithm2e}

\begin{document}
\flushbottom

% Front matter
\frontmatter

\section{section 1}
\subsection{subsection 1}
\begin{algorithm}[H]\small
B\;
C\;
\For{i}{
D:
E\;
\eIf{j}{
F\;
}{
H\;
}
}
\caption{How to write algorithms}
\end{algorithm}


\end{document}

Original issue reported on code.google.com by [email protected] on 8 Dec 2009 at 8:27

Error using TexLive-2008 - SOLUTION

What steps will reproduce the problem?
1. Compiling a tufte-document with TexLive-2008 leads to Error!

SOLUTION:

replace this line in the tufte class file:

\newcommand{\footnotelayout}{\@tufteh@marginfont\@tufteh@justification}

with:

\renewcommand{\footnotelayout}{\@tufteh@marginfont\@tufteh@justification}




Original issue reported on code.google.com by [email protected] on 9 Oct 2008 at 4:47

Check the \ifpdf and \ifxetex conditionals

See bug report here:

  http://groups.google.com/group/comp.text.tex/msg/0dffae26e0b3ccb7

Some of the Tufte-LaTeX code has been rewritten sense, but we should make
sure that this issue has actually been resolved and that the pdfLaTeX- and
XeTeX-specific code is working properly.

Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 12:25

Custom trim sizes

If someone wants to use the tufte-book class on a trim size other than A4
or US letter, then we should document how they can do that.

Also, wrap the internal T-L length calculations in a command that can be
called by the end user  if they've redefined the margin or paper sizes.  

Original issue reported on code.google.com by [email protected] on 19 May 2009 at 11:33

Package microtype breaks newthought

(Please attach an example .tex file demonstrating the problem or bug.)

Please describe the feature, problem, or bug:

When using microtype the space between the last word in a newthought and the 
following word 
is crushed. 

What is the expected output? What do you see instead?

I expect the space to be preserved, which it isn't.

What version of Tufte-LaTeX are you using?  With which TeX distribution?

Tufte-LaTeX book class r93 on MacTeX Live . 

Please provide any additional information below.

Adding an xspace in the newthought command fixes the problem:

%%
% An environment for paragraph-style section

\providecommand\newthought[1]{%
   \addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}%
   \noindent\textsc{#1}\xspace%
}

Original issue reported on code.google.com by [email protected] on 12 May 2009 at 4:28

XeTeX and euler

The euler package has a conflict with tufte-book in XeLaTeX mode, as
tufte-common.def loads indirectly fontspec (via xltxtra) and euler needs to
be loaded before fontspec.

A quick and dirty patch against r166 is attached. If applied, the user
needs to say 

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

manually in his document.

--
Greetings,
Oleg

Original issue reported on code.google.com by [email protected] on 11 Apr 2010 at 5:10

Attachments:

`fullwidth' environment doesn't work across pages in twoside+symmetric mode

The `fullwidth' environment doesn't properly adjust the margins when its
contents fill multiple pages and the twoside+symmetric modes are enabled.

%---- BEGIN
\documentclass[symmetric,twoside]{tufte-handout}
\title{My title}
\author{Me}
\usepackage{lipsum}
\begin{document}
\maketitle
\lipsum[1-2]
\begin{fullwidth}
\lipsum[3-10]
\end{fullwidth}
\lipsum[11-12]
\end{document}
%---- END

The following code (mostly) fixes the problem, but needs to be tested more
thoroughly.  Also, it adversely affects the margins on the running heads.

%---- BEGIN
% \changetext{textheight}{textwidth}{evensidemargin}{oddsidemargin}{columnsep}
\makeatletter
\changetext{}{\@tufte@overhang}{-\@tufte@overhang}{}{}
\makeatother
\lipsum[1-20]
\makeatletter
\changetext{}{-\@tufte@overhang}{\@tufte@overhang}{}{}
\makeatother
%---- END


Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 12:36

Fix letterspacing with plain latex

The logic for loading the correct letterspacing package fails if compiled
with plain latex (cf. pdflatex).  The soul package should be used with
plain latex.

Original issue reported on code.google.com by [email protected] on 19 May 2009 at 11:36

\cite{} in \sidenotes

Would like to be able to \cite{} things inside of a \sidenote{}.  

%---- BEGIN
\documentclass{tufte-handout}
\usepackage{lipsum}

\begin{document}
\lipsum[1]\sidenote{This is a sidenote.\cite{Source2008}}
\lipsum[2]
\end{document}
%---- END

The citation should appear as a normal citation immediately following the
sidenote.  

Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 12:09

footnote with the raggedright option

Hi, 

I'm trying to get a justified main text and unjustified footnotes,
sidenotes and captions. I could modify the .sty file for the captions but
surprisingly, it does not change the footnotes, which remain justified.

I tried as follows:

%\providecommand*{\footnotelayout}{\@tufte@marginfont\@tufte@justification}
%\renewcommand{\footnotelayout}{\@tufte@marginfont\@tufte@justification}
\providecommand*{\footnotelayout}{\@tufte@marginfont\RaggedRight}
\renewcommand{\footnotelayout}{\@tufte@marginfont\RaggedRight}

and also replaced the \@tufte@justification option by \RaggedRight
where ever I could but still without success.

Thank you

Original issue reported on code.google.com by [email protected] on 17 Aug 2009 at 9:51

\newthought eats UTF-8 double quotes

I'm using XeLaTeX, and usually use the UTF-8 double quotes instead of the
normal ``''.

The command \newthought{The term โ€œparticipleโ€} results in the close quotes
being "eaten": THE TERM "PARTICIPLE is not a real part of speech....

There is a workaround: \newthought{The term โ€œparticiple\protect{โ€}} works
correctly. But I don't think the \protect should be necessary, IMO.

I'm using svn revision r79 of Tufte-LaTeX.

Original issue reported on code.google.com by [email protected] on 21 Feb 2009 at 3:44

Toc depth in hyperref

Hi.

When the pdf file is generated hyperref adds the toc links. The (printed) toc 
should only show 
chapters. But that is not true in the pdf toc that is 'collapsable'. Clicking 
on a chapter reveals the 
section which I think is a good thing.

I added line76 in r81:
\hypersetup{bookmarksdepth=section}

Andy




Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 8:33

labels of subfigures not working

the following piece of code :

\begin{figure}[htp]
\subfigure[title1]{
\includegraphics{figure1}\label{subfig:figure1}}
\subfigure[title2]{
\includegraphics{figure2}\label{subfig:figure2}}
\caption{general title}
\label{fig:figure}
\end{figure}

some texte \ref{subfig:figure1} does not seem to compile correctly and will
not show the correct label.

Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:38

Captions for algorithm environment are put on the wrong side

Please describe the feature, problem, or bug:

When using the algorithm environment with T-L book style with two side and 
symmetric options, 
the marginnote with the caption is sometimes put on the wrong side. You see it 
in the PDF 
output from the minimal example on page 4.

I have the similar experience with marginnotes in theorems, but cannot 
construct a minimal 
example for now.

What is the expected output? What do you see instead?

The "normal" marginnote respects the front/back side detection, but the caption 
of algorithm 
environment does not.

What version of Tufte-LaTeX are you using?  With which TeX distribution?

r166 of T-L. pdflatex of MacTeX 2009. xelatex had the same effect.

Please provide any additional information below.

I have the minimal example and a screenshot attached.

Original issue reported on code.google.com by [email protected] on 13 Apr 2010 at 2:23

Attachments:

Citations in tables don't generate sidenote

(Please attach an example .tex file demonstrating the problem or bug.)
Tested on line 232 of sample-handout.tex

Please describe the feature, problem, or bug:
Citations in tables increment citation counter but don't generate sidenotes.

What is the expected output? What do you see instead?
That there would be a side citation in the margin near the table.

What version of Tufte-LaTeX are you using?  With which TeX distribution?
latest unreleased version in MikTeX with PDFLaTeX.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 7:51

cite whitespace error

Hi.

I am using r81 and encountered the following issue

\cite{xxx,yyy} works fine

\cite{xxx, yyy} does not

Andy

Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 9:24

Dependencies undocumented

Dependencies of the tufte-latex classes are not documented in the README
file, and the dependency list on the website is incomplete/out-of-date.

In my case, I had to install these packages:

  xifthen
  ifmtargs
  optparams

I am using the gwTeX distribution of TeX.

Original issue reported on code.google.com by [email protected] on 24 Jan 2009 at 2:32

margin figure hypcap warning

Hi, 

all margin figure generate the following warning in e.g. sample-handout r81:

<use graphics/helix.pdf>

Package caption Warning: The option `hypcap=true' will be ignored for this
(caption)                particular \caption on input line 180.
See the caption package documentation for explanation.

I could fix it by inserting the following code between l704 and l705 of r81 in 
tufte-common.sty:

\captionsetup{type=figure}

Explanation is in section 6.5 of ftp://ctan.tug.org/tex-
archive/macros/latex/contrib/caption/caption-eng.pdf

Andy


Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 8:49

Document incompatibilities

The documentation should make note of any incompatibilities that exist
between the Tufte-LaTeX classes and the standard LaTeX classes.  That is,
what changes would need to be made to a document aside from changing the
\documentclass{...} line for things to work as they should?

Original issue reported on code.google.com by [email protected] on 19 May 2009 at 11:28

Package bidi bolixes \cite{}

For tufte-handout.cls 2.0.0, the fix for the incompatibility with bidi was
to add \usepackage{bidi} just before the
\RequirePackage[side,multiple,stable]{footmisc} line in tufte-handout.cls.

However, with the refactoring of code into tufte-handout.cls and
tufte-common.sty, the command
\RequirePackage[side,multiple,stable]{footmisc} is no longer in either of
the files.

Would it be possible to also put a conditional in the code at the place
where \usepackage{bidi} is supposed to be put, so that the code checks for
"\usepackage{bidi}" in the source tex document, and then inserts the
command at the proper place where it doesn't conflict with tuft-handout
sidenotes?

I'm using MacTeX 2008 and XeLaTeX (for Middle Eastern languages, hence the
need for bidi).

Original issue reported on code.google.com by [email protected] on 2 Feb 2009 at 12:15

Files do not compile with XeTeX if \author or \title used

(Please attach an example .tex file demonstrating the problem or bug.)

Please describe the feature, problem, or bug:

Whereas previous versions of tufte-latex would compile with XeTeX, the 3.5 
series (SVN revision 141)  throws a number of errors.  The error seems to 
be similar to that reported by Joachim.

What is the expected output? What do you see instead?

The file fails to compile when using XeTeX (version 2007) on Ubuntu Linux 
(or version 2009 on Mac OS X).

What version of Tufte-LaTeX are you using?  With which TeX distribution?

Version 3.5 SVN revision 141


Please provide any additional information below.

All files fail to build, including the sample handout and book included 
with the class.  First error:

! Argument of \MakeTextLowercase has an extra }.


Original issue reported on code.google.com by [email protected] on 7 Jan 2010 at 4:27

\maketitle needs newline at the end

The following code:

%---- BEGIN
\documentclass{tufte-handout}
\title{My title}
\author{Me}
\usepackage{lipsum}
\begin{document}
\maketitle
\lipsum[1-2]
\end{document}
%---- END

produces a title block, but the first paragraph is abutted to the end of
the title block's last line, instead of starting a new paragraph.

Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 12:38

Class fails when "old pdfTeX" in use

A typo in today's bleedin-edge tufte-common.sty prevents the tufte-latex
classes from loading when an "old pdfTeX" is detected. The following patch
fixes the problem:

Index: tufte-common.sty
===================================================================
--- tufte-common.sty    (revision 73)
+++ tufte-common.sty    (working copy)
@@ -368,7 +368,7 @@
       \PackageInfo{\@tufte@pkgname}{XeTeX detected. Reverting to `soul'
package for letterspacing.}
       \@tufte@loadsoul}
       {% use `soul' package for letterspacing
-      \PackageInfo{\tufte@pkgname}{Old version of pdfTeX detected. 
Reverting to `soul' package for letterspacing.}
+      \PackageInfo{\@tufte@pkgname}{Old version of pdfTeX detected. 
Reverting to `soul' package for letterspacing.}
       \@tufte@loadsoul}
   \else
     \IfFileExists{letterspace.sty}{% 


Original issue reported on code.google.com by [email protected] on 24 Jan 2009 at 2:28

handout's tableofcontents not in line with Tufte?

I am using tufte-latex 3.0.0 (and miktex 2.7) and think this is great 
stuff. Maybe I am understanding something wrong, in this case please delete 
my report.

I am using the handout (and not the book) class. For some reason I need a 
tableofcontents on the first page. The toc I got using handout.cls had 
boldface section-entries and roman subsection-entries. This is in my 
opinion not good since then on the first page there are at least four 
different fonts. 

Next I tried to use titletoc to modify the table of contents. 
Unfortunately, I was unable even to understand the manual. So I gave up on 
that. 

I am now using tocloft and the following code

    \usepackage{tocloft}
    \renewcommand{\cfttoctitlefont}{\Large\itshape}
    \renewcommand{\cftsecleader}{} %pagenumbers immediately after entry
    \renewcommand{\cftsecafterpnum}{\cftparfillskip}%new line after section
    \renewcommand{\cftsecfont}{\itshape}%maybe scshape?
    \renewcommand{\cftsubsecleader}{}
    \renewcommand{\cftsubsecafterpnum}{\cftparfillskip}
    \renewcommand{\cftsubsecfont}{\small\itshape}

So I suggest either fixing the problem or using tocloft. Best, Andreas 
Loeffler.

PS In some time we will see requests for putting a company logo on the 
first page of any handout. One can argue whether this is good or bad, but 
there are of course some PR-people who will require that. We should think 
about where to put such a logo and how to program that (I have done it 
using handout-local but I would love to see how a "real" designer does it).

Original issue reported on code.google.com by [email protected] on 2 Jun 2009 at 9:59

problem with pdf bookmarks

The sample-handout.pdf document distributed with tufte-latex has pdf 
bookmarks that don't direct to the correct section of the document.  They all 
direct to the same point.



Original issue reported on code.google.com by [email protected] on 13 Oct 2009 at 8:36

twoside option breaks sidenote placement

* What steps will reproduce the problem?

Use the [twoside] document class option.

* What is the expected output? What do you see instead?

Expect that the second page is formatted as every other even page. 
Instead, the second page (only) has its three sidenotes cut off on the
right-hand side, and the larger left-hand margin is empty.

On the last page (a right-hand page), the first sidenote is cut off on the
left-hand side, but the larger right-hand margin has another three
sidenotes.  Expect all four sidenotes in the larger right-hand margin.

* What version of the product are you using? On what operating system?

2007/09/24 v1.0.1 Tufte-handout class, on Red Hat Enterprise Linux 4.

* Please provide any additional information below.

Thanks for making a consistent, beautiful class!  It's significantly better
than the ACM Transactions style I use.

Original issue reported on code.google.com by [email protected] on 26 Sep 2007 at 6:05

float commands generate spaces

% cat > float_space.tex <<EOF
\documentclass{tufte-handout}
\begin{document}
A float should not produce any extra spaces
\begin{table}
  [table]
\end{table}
even when inserted in the middle of a sentence.
\end{document}
EOF

produces

  A float should not produce any extra spaces      even when inserted in the middle of a sentence.

but should produce

 A float should not produce any extra spaces even when inserted in the middle of a sentence.

I've briefly scanned the figure and table definitions, but all the %s seem to 
be in the correct 
spots.

Original issue reported on code.google.com by [email protected] on 30 Mar 2010 at 10:00

a4 paper

Hi.

I changed the A4 paper preferences. I basically did a 'rule of three' for the 
proportions. Looks 
pretty good to me now, but maybe someone has more experience.

l222 in r81 of tufte-common.sty changed to
{\geometry{a4paper,left=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm
,margi
nparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\basel
ineskip}}

Andy

Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 8:43

baseline of sidenotes off

The side/foot notes are slightly off to the bottom. I added

    \leavevmode%

in l646 of tufte-common.sty of r86 to move the sidenotes up on the same 
baseline as the text. 
l624 has the command in \@footnotemark instead of \@footnotetext. 

This breaks the handout example layout, l159 of sample-handout.tex has a 
vertical offset.

Andy

Original issue reported on code.google.com by [email protected] on 13 Apr 2009 at 7:49

Multiple Authors

Please describe the feature, problem, or bug:

For my tufte-book I would like to have more than one author.

What is the expected output? What do you see instead?

Usually I can do this with the \and command: \author{Mr. X \and Mrs. Y}. This 
does not work here. I 
tried doing it like this: \author{A\\\noindent B}, but the two lines don't line 
up, the second one is 
slightly shifted to the left. Also the line-height is a bit too high.

What version of Tufte-LaTeX are you using?  With which TeX distribution?

Tufte v3.0.0 on MacTex 2009

Original issue reported on code.google.com by [email protected] on 6 Jan 2010 at 9:41

Index not showing up in book PDF

Please describe the feature, problem, or bug:

Using the sample .tex file with the commands listed in the README (with "-
book" instead of "-handout"), I am unable to see the Index elements as it 
is with the provided sample-book.pdf


What is the expected output? What do you see instead?

There is no "Index" section in the compiled document, when there should be.


What version of Tufte-LaTeX are you using?  With which TeX distribution?

I'm using 3.0 of Tufte-LaTeX, with MacTeX 2008 on Mac OS 10.5.7.


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Jun 2009 at 1:37

Extra space if no \author or \date{} is empty

There is blank space in the title block if there is no \author specified:

%---- BEGIN
\documentclass{tufte-handout}
\usepackage{lipsum}
\title{My Title}
\begin{document}
\maketitle
\lipsum[1-5]
\end{document}
%---- END

The blank space should be swallowed if there is no author or no date.

Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 12:20

Inclusion of subfig package changes font style of captions

The inclusion of the subfig package changes the typesetting of captions in
the page margin. The font size and font type is then the same as in the
main text.

This behavior is observed with the latest svn build 128. It is not a
problem if the (deprecated) subfigure package is used instead of the subfig
package.

Footnotes and marginnotes are typeset correctly when the subfig package is
included.

Original issue reported on code.google.com by [email protected] on 19 Oct 2009 at 9:01

Attachments:

space between sidenotes

Hi all.

The space between two sidenotes is a little bit small if one has a lot of 
citations. Maybe it is 
possible to increase the default space between two sidenotes by a tiny bit. I 
used r128 and attached 
a test page to demonstrate what I mean. 

The first line is:
\documentclass[b5paper, symmetric, justified, sidenote=raggedouter, 
marginnote=raggedouter, 
caption=justified, citation=raggedouter]{tufte-book}

Andy


Original issue reported on code.google.com by [email protected] on 11 Nov 2009 at 4:04

Attachments:

author-year citations error using bibtex

Hi.

The new bibtex rules got stricter and I keep getting 

! Package natbib Error: Bibliography not compatible with author-year citations.

The tufte style does not even use author-year style but superscript numbers 
anyway.

So I could fix it in l511 r81 of tufte-common.sty by explicitly using the 
numbers option

\RequirePackage[numbers]{natbib}

Andy

Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 8:56

2 line book title wiggle

Hi.

The title of the book in sample-book.tex of r81 wiggles a little to the left 
and right if it spans over 
more than 1 line. My thesis e.g. had the title 'Materials for spin polarized 
tunneling'.

I could fix it, by removing lines 927, 930, 932, and 935 of tufte-common.sty. 
Basically, the 
fullwidth environment spans over the full page now. Not sure why it helps, but 
it does.

Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 11:51

no paragraph indent in tufte-book class

Hi.

The tufte-book class has no indented paragraphs in r85. It seems that the 
ragged2e package 
overwrites the \parindent option. Interestingly, \maketitle fixes it back in 
tufte-handout. 

I think paragraphs should be indented. (a) It is in the Tufte books. (b) One 
cannot distinguish 
paragraphs with ragged right text and the last line of a paragraph happening to 
be of full length.

It does, however, break former formatting. So as in r80: any sidenote position 
tweaks and other 
vertical spacing tweaks you've applied may need to be recalculated.

I could fix it by inserting 
\setlength{\RaggedRightParindent}{1pc}
in l247 of tufte-common.sty

Andy

Original issue reported on code.google.com by [email protected] on 11 Apr 2009 at 7:18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.