Ver código fonte

* Fixed a spacing issue with the floats. (Thanks, Dan!) More work on floats and captions to follow.

* Added instructions for compiling the sample book.


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@117 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 16 anos atrás
pai
commit
6882bc922c
2 arquivos alterados com 23 adições e 8 exclusões
  1. +13
    -2
      README.txt
  2. +10
    -6
      tufte-common.def

+ 13
- 2
README.txt Ver arquivo

@@ -5,7 +5,7 @@ produce Tufte-style handouts, reports, and notes.


== Quick Start == Quick Start


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


pdflatex sample-handout pdflatex sample-handout
@@ -15,6 +15,17 @@ of commands,


The result should look like sample-handout.pdf. 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 == Troubleshooting


If you encounter errors of the form, If you encounter errors of the form,
@@ -64,7 +75,7 @@ The following packages are optional and will be automatically used if installed:
== Bugs/Features/Support == Bugs/Features/Support


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


http://tufte-latex.googlecode.com http://tufte-latex.googlecode.com


+ 10
- 6
tufte-common.def Ver arquivo

@@ -975,14 +975,18 @@
\newcommand{\@tufte@float@textwidth}[2]{% \newcommand{\@tufte@float@textwidth}[2]{%
\ifthenelse{\NOT\boolean{@tufte@symmetric}\OR\boolean{@tufte@float@recto}}{% \ifthenelse{\NOT\boolean{@tufte@symmetric}\OR\boolean{@tufte@float@recto}}{%
% asymmetric or page is odd, so caption is on the right % asymmetric or page is odd, so caption is on the right
\usebox{#1}%
\hspace{\marginparsep}%
\smash{\usebox{#2}}%
\hbox{%
\usebox{#1}%
\hspace{\marginparsep}%
\smash{\usebox{#2}}%
}%
}{% }{%
% symmetric pages and page is even, so caption is on the left % symmetric pages and page is even, so caption is on the left
\strut\smash{\usebox{#2}}%
\hspace{\marginparsep}%
\usebox{#1}%
\hbox{%
\smash{\usebox{#2}}%
\hspace{\marginparsep}%
\usebox{#1}%
}%
}% }%
} }




Carregando…
Cancelar
Salvar