| @@ -1,100 +0,0 @@ | |||
| == 3.5.2 - 2015/06/21 | |||
| * A variety of bug fixes and small improvements. | |||
| == 3.5.1 - 2010/03/28 | |||
| * Added bibliography style that didn't make it into the intial release. | |||
| == 3.5.0 - 2009/12/11 | |||
| * Added a [nohyper] document class option that suppresses loading of the | |||
| hyperref package. | |||
| * Added three commands to modify the positioning of the captions. | |||
| * Now automatically recalculates the lengths in case you've modified the page | |||
| size or margins. | |||
| * Added a B5 paper size. | |||
| * The justification of sidenotes, margin notes, captions, and citations can be | |||
| set individually now. | |||
| * The font and style of sidenotes, margin notes, captions, and citations can | |||
| now be set individually. | |||
| * The \caption command now accepts an optional vertical offset argument. | |||
| * Added the \morefloats command that works in the same way the morefloats | |||
| package does. | |||
| * Fixed a number of bugs. | |||
| == 3.0.0 - 2009/05/17 | |||
| * Created a Tufte-book document class. | |||
| * Added optional offset parameter to sienotes, cite, etc. so their vertical | |||
| position can be adjusted manually. | |||
| * Added support for the `bidi' package with XeLateX. | |||
| * Adjusted font sizes and spacing to more closely reflect those used in | |||
| Tufte's books. | |||
| * Captions are now typeset in the margin as in Tufte's books. | |||
| == 2.0.1 - 2008/11/16 | |||
| * Now works with footmisc version > 5.4. | |||
| == 2.0.0 - 2008/06/06 | |||
| * Added `sfsidenotes' option to set the sidenotes and captions in the sans | |||
| serif font. | |||
| * Use the Palatino fonts if they're installed. | |||
| * Created `marginfig' and `margintab' environments. | |||
| * Added running heads. | |||
| * Fixed the alignment of sidenote numbers. | |||
| * Added \section and \subsection headings. | |||
| * Uses the Bera Mono fonts if they're installed. | |||
| * Added `symmetric' option to produce outside-margin sidenotes in two-sided | |||
| spreads. | |||
| * Added `justified' option to set the text fully justified. | |||
| * Rewrote sample-handout to illustrate the tufte-handout usage and serve as an | |||
| example of its features. | |||
| == 1.2.3 - 2008/02/11 | |||
| * To remove References section from sample-handout. | |||
| * Updated README.txt | |||
| == 1.2.2 - 2008/02/09 | |||
| * Use footmisc package to set \footnotes as sidenotes | |||
| * Use natbib package to set bibliography entries as sidenotes | |||
| == 1.2.1 - 2007/10/21 | |||
| * To assure existing \footnotes become \sidenotes | |||
| == 1.2.0 - 2007/10/20 | |||
| * Enhancements | |||
| * Added a4paper option (Kevin Godby) | |||
| * Have \margin{note,figure,table} use \@tufteh@marginfont | |||
| * Bug fix | |||
| * \@tufteh@overhang typo in figure*, table*, and fullwidth environments (Kevin Godby) | |||
| == 1.1.0 - 2007/10/18 | |||
| * To add some missing environments and commands: | |||
| * sidenote | |||
| * marginnote (no mark) | |||
| * marginfigure/table | |||
| * text-width figure/table (figure/table) | |||
| * page-width figure/table (figure*/table*) | |||
| * page-width environment (for custom minipage displays) | |||
| * To namespace raggedright | |||
| * To add margin font hook | |||
| == 1.0.1 - 2007/09/24 | |||
| * To correct README instructions. | |||
| == 1.0.0 - 2007/09/24 | |||
| * First public release | |||
| == 0.1.0 - 2004/02/04 | |||
| * Birthday! | |||
| @@ -1,92 +1 @@ | |||
| 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](http://ctan.org). | |||
| For package installation instructions and answers to many other | |||
| questions, see the [UK TeX FAQ](http://www.tex.ac.uk/faq/) or search the [`comp.text.tex` group](http://groups.google.com/group/comp.text.tex). | |||
| 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. | |||
| Handouts tempalte for Mandala | |||
| @@ -1,12 +1,17 @@ | |||
| \documentclass{tufte-handout} | |||
| \documentclass[a4paper]{tufte-handout} | |||
| \title{An Example of the Usage of the Tufte-Handout Style\thanks{Inspired by Edward~R. Tufte!}} | |||
| \author[The Tufte-LaTeX Developers]{The Tufte-\LaTeX\ Developers} | |||
| %\date{28 March 2010} % without \date command, current date is supplied | |||
| \date{03 February 2022} % without \date command, current date is supplied | |||
| %\geometry{showframe} % display margins for debugging page layout | |||
| \usepackage[utf8]{inputenc} | |||
| \usepackage[english]{babel} | |||
| \usepackage[sfdefault, light]{FiraSans} | |||
| \usepackage[T1]{fontenc} | |||
| \usepackage{textcomp} | |||
| \usepackage{graphicx} % allow embedded images | |||
| \setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio} | |||
| @@ -283,7 +288,7 @@ The website for the Tufte-\LaTeX\ packages is located at | |||
| \url{https://github.com/Tufte-LaTeX/tufte-latex}. On our website, you'll find | |||
| links to our \smallcaps{svn} repository, mailing lists, bug tracker, and documentation. | |||
| \bibliography{sample-handout} | |||
| \bibliography{example} | |||
| \bibliographystyle{plainnat} | |||
| @@ -1,118 +0,0 @@ | |||
| #! /bin/bash | |||
| # Shell options: -o = on, +o = off | |||
| set -o errexit # exit on first error | |||
| set -o nounset # report unset variables | |||
| set +o xtrace # show commands | |||
| PACKAGE="tufte-latex" | |||
| CLS_FILES="tufte-handout.cls tufte-book.cls" | |||
| DEF_FILES="tufte-common.def" | |||
| BST_FILES="tufte.bst" | |||
| SOURCE_FILES="sample-handout.pdf sample-handout.tex sample-handout.bib sample-book.pdf sample-book.tex" | |||
| if test $# -ne 1 ; then echo "Usage: $0 3.5.2 (version number)" ; exit 1 ; fi | |||
| VERSION=$1 | |||
| DATE=$(date +"%Y/%m/%d") | |||
| if ! echo $VERSION | egrep -q "^[0-9]+\.[0-9]+\.[0-9]+$" ; then | |||
| echo "Error: version should be of the form 1.2.5 (major.minor.revision)." | |||
| exit 1 | |||
| fi | |||
| # TODO: instead of all this checking, just sed values into the appropriate files | |||
| DATE_VERSION="$DATE v$VERSION" | |||
| for file in $CLS_FILES $DEF_FILES ; do | |||
| if ! grep -q "$DATE_VERSION" $file ; then | |||
| echo "Error: $file does not contain '$DATE_VERSION':" | |||
| egrep 'Provides(Class|File)' $file | |||
| exit 1 | |||
| fi | |||
| done | |||
| VERSION_DATE="$VERSION - $DATE" | |||
| if ! grep -q "$VERSION_DATE" History.txt ; then | |||
| echo "Error: no release notes for '$VERSION_DATE' found in History.txt" | |||
| exit 1 | |||
| fi | |||
| # Refresh sample documents | |||
| echo "Building sample-handout ..." | |||
| pdflatex sample-handout > refresh-sample.log | |||
| bibtex sample-handout >> refresh-sample.log | |||
| pdflatex sample-handout >> refresh-sample.log | |||
| pdflatex sample-handout >> refresh-sample.log | |||
| rm -f sample-handout.{aux,blg,bbl,log,out} refresh-sample.log | |||
| echo "Success" | |||
| echo "Building sample-book ..." | |||
| pdflatex sample-book > refresh-book.log | |||
| bibtex sample-book >> refresh-book.log | |||
| texindy --language english sample-book.idx >> refresh-book.log | |||
| pdflatex sample-book >> refresh-book.log | |||
| pdflatex sample-book >> refresh-book.log | |||
| rm -f sample-book.{aux,blg,bbl,idx,ind,lof,log,lot,out,toc} refresh-book.log | |||
| echo "Success" | |||
| # To ease Google Code upload, make a distinct version of samples: | |||
| cp sample-handout.pdf sample-handout-$VERSION.pdf | |||
| cp sample-book.pdf sample-book-$VERSION.pdf | |||
| # Make bundle for Google Code release | |||
| echo "Creating zip bundle for Google Code release ..." | |||
| mkdir -p pkg/$PACKAGE-$VERSION | |||
| tar -cf - $(cat Manifest.txt) | tar -C pkg/$PACKAGE-$VERSION -xf - | |||
| ( cd pkg && zip -rq $PACKAGE-$VERSION.zip $PACKAGE-$VERSION ) | |||
| echo "Complete" | |||
| # Make bundle for CTAN release | |||
| TDS_DIR=pkg/$PACKAGE/tds/ | |||
| TDS_TEX_DIR=$TDS_DIR/tex/latex/$PACKAGE/ | |||
| TDS_DOC_DIR=$TDS_DIR/doc/latex/$PACKAGE/ | |||
| TDS_SRC_DIR=$TDS_DIR/source/latex/$PACKAGE/ | |||
| echo "Creating zip bundle for CTAN release ..." | |||
| mkdir -p $TDS_DIR $TDS_TEX_DIR $TDS_DOC_DIR $TDS_SRC_DIR | |||
| cp $CLS_FILES $DEF_FILES $BST_FILES $TDS_TEX_DIR/ | |||
| cp History.txt README.txt sample-handout.{pdf,tex,bib} sample-book.{pdf,tex} $TDS_DOC_DIR/ | |||
| cp -a graphics $TDS_DOC_DIR/ | |||
| cp $CLS_FILES $DEF_FILES $BST_FILES $SOURCE_FILES $TDS_SRC_DIR/ | |||
| ( cd $TDS_DIR && zip -rq ../../$PACKAGE-$VERSION/$PACKAGE.tds.zip * ) | |||
| rm -fr pkg/$PACKAGE | |||
| mv pkg/$PACKAGE-$VERSION pkg/$PACKAGE | |||
| ( cd pkg && zip -rq $PACKAGE.zip $PACKAGE ) | |||
| echo "Complete" | |||
| # TODO: test release (unpack and build sample-*.tex files) | |||
| # Remove our temporary files | |||
| rm -rf pkg/$PACKAGE | |||
| # Provide some cut-n-paste material for manual steps: | |||
| cat << MESSAGE | |||
| `openssl dgst -sha1 pkg/$PACKAGE-$VERSION.zip` | |||
| Don't forget to create an SVN tag (after committing changes), | |||
| git tag -a v$VERSION -m 'Tufte-LaTeX v$VERSION' | |||
| And upload the zip file: | |||
| https://github.com/Tufte-LaTeX/tufte-latex/releases | |||
| http://ctan.org/upload | |||
| MESSAGE | |||
| @@ -1,88 +0,0 @@ | |||
| \NeedsTeXFormat{LaTeX2e}[1994/06/01] | |||
| \ProvidesClass{tufte-book}[2015/06/30 v3.5.3 Tufte-book class] | |||
| %% | |||
| % Declare we're tufte-book | |||
| \newcommand{\@tufte@class}{book}% the base LaTeX class (defaults to the book style) | |||
| \newcommand{\@tufte@pkgname}{tufte-book}% the name of the package (defaults to tufte-handout) | |||
| %% | |||
| % Load the common style elements | |||
| \input{tufte-common.def} | |||
| %% | |||
| % Set up any book-specific stuff now | |||
| %% | |||
| % The front matter in Tufte's /Beautiful Evidence/ contains everything up | |||
| % to the opening page of Chapter 1. The running heads, when they appear, | |||
| % contain only the (arabic) page number in the outside corner. | |||
| %\newif\if@mainmatter \@mainmattertrue | |||
| \renewcommand\frontmatter{% | |||
| \if@openright% | |||
| \cleardoublepage% | |||
| \else% | |||
| \clearpage% | |||
| \fi% | |||
| \@mainmatterfalse% | |||
| \pagenumbering{arabic}% | |||
| %\pagestyle{plain}% | |||
| \fancyhf{}% | |||
| \ifthenelse{\boolean{@tufte@twoside}}% | |||
| {\fancyhead[LE,RO]{\thepage}}% | |||
| {\fancyhead[RE,RO]{\thepage}}% | |||
| } | |||
| %% | |||
| % The main matter in Tufte's /Beautiful Evidence/ doesn't restart the page | |||
| % numbering---it continues where it left off in the front matter. | |||
| \renewcommand\mainmatter{% | |||
| \if@openright% | |||
| \cleardoublepage% | |||
| \else% | |||
| \clearpage% | |||
| \fi% | |||
| \@mainmattertrue% | |||
| \fancyhf{}% | |||
| \ifthenelse{\boolean{@tufte@twoside}}% | |||
| {% two-side | |||
| \renewcommand{\chaptermark}[1]{\markboth{##1}{}}% | |||
| \fancyhead[LE]{\thepage\quad\smallcaps{\newlinetospace{\plaintitle}}}% book title | |||
| \fancyhead[RO]{\smallcaps{\newlinetospace{\leftmark}}\quad\thepage}% chapter title | |||
| }% | |||
| {% one-side | |||
| \fancyhead[RE,RO]{\smallcaps{\newlinetospace{\plaintitle}}\quad\thepage}% book title | |||
| }% | |||
| } | |||
| %% | |||
| % The back matter contains appendices, indices, glossaries, endnotes, | |||
| % bibliographies, list of contributors, illustration credits, etc. | |||
| \renewcommand\backmatter{% | |||
| \if@openright% | |||
| \cleardoublepage% | |||
| \else% | |||
| \clearpage% | |||
| \fi% | |||
| \@mainmatterfalse% | |||
| } | |||
| %% | |||
| % Only show the chapter titles in the table of contents | |||
| \setcounter{tocdepth}{0} | |||
| %% | |||
| % If there is a `tufte-book-local.sty' file, load it. | |||
| \IfFileExists{tufte-book-local.tex}{% | |||
| \@tufte@info@noline{Loading tufte-book-local.tex}% | |||
| \input{tufte-book-local}% | |||
| }{} | |||
| %% | |||
| % End of file | |||
| \endinput | |||
| @@ -443,10 +443,10 @@ | |||
| %% | |||
| % Set page layout geometry | |||
| \RequirePackage[letterpaper,left=1in,top=1in,headsep=2\baselineskip,textwidth=26pc,marginparsep=2pc,marginparwidth=12pc,textheight=44\baselineskip,headheight=\baselineskip]{geometry} | |||
| \RequirePackage[letterpaper,left=0.5in,top=1in,headsep=2\baselineskip,textwidth=26pc,marginparsep=2pc,marginparwidth=12pc,textheight=44\baselineskip,headheight=\baselineskip]{geometry} | |||
| \ifthenelse{\boolean{@tufte@afourpaper}} | |||
| {\geometry{a4paper,left=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}} | |||
| {\geometry{a4paper,left=19.8mm,top=20.4mm,headsep=2\baselineskip,textwidth=118mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}} | |||
| {} | |||
| \ifthenelse{\boolean{@tufte@bfivepaper}} | |||
| @@ -1572,8 +1572,8 @@ | |||
| \gdef\@@date{\sffamily\Large\allcaps{\@date}\par}% | |||
| }{% | |||
| \gdef\@@title{\LARGE\itshape\@title\par}% | |||
| \gdef\@@author{\Large\itshape\@author\par}% | |||
| \gdef\@@date{\Large\itshape\@date\par}% | |||
| \gdef\@@author{\large\@author\par}% | |||
| \gdef\@@date{\large\@date\par}% | |||
| }% | |||
| \@@title | |||
| \@@author | |||
| @@ -1620,7 +1620,7 @@ | |||
| \titleformat{\section}% | |||
| [hang]% shape | |||
| {\normalfont\Large\itshape}% format applied to label+text | |||
| {\normalfont\Large}% format applied to label+text | |||
| {\thesection}% label | |||
| {1em}% horizontal separation between label and title body | |||
| {}% before the title body | |||