Hello, Ben.
On Wed, Oct 30, 2013 at 2:12 PM, Ben Halpern <
tien...@gmail.com> wrote:
> Really love the Tufte LaTeX class. I'm teaching myself LaTeX in order to use
> it.
Thanks for the kind words.
> I'm using Tufte-Book with [nols, nofont, oneside] because if I don't things
> go crazy. Although I'm using the book class what I'm producing is more of a
> report. Before I tried to port it to Tufte-Book I coded it all in the report
> class for practice.
Hopefully things aren't going too crazy. If you describe the problems
you're having and attach a .log file, I'd be happy to take a look.
> So my three issues are:
>
> 1.) I'd like to make the white space above the chapters smaller.
The Tufte-LaTeX document classes make use of the titlesec package for
formatting the headings. You can adjust the spacing above the chapter
heading by modifying the second parameter (50pt) to a be a smaller
amount:
\titlespacing*{\chapter}{0pt}{50pt}{40pt}
> 2.) I want to customize the Headers and Footers. The code I used in my Book
> class (I think that was it) to do this is:
>
> %% Headers and footers
> \newcommand{\changefont}{%
> \fontsize{7}{9.5}\selectfont
> }
> \usepackage{fancyhdr}
> \fancypagestyle{plain}{
> \fancyhead[LO,LE]{\changefont Author}
> \fancyhead[RO,RE]{\changefont \thepage}
> \fancyfoot[CO,CE]{\changefont Confidential}
> \fancyfoot[LO,LE]{\includegraphics[width=1cm]{Logo}}
> \renewcommand{\headrulewidth}{0pt}
> \renewcommand{\footrulewidth}{0pt}
> }
> \pagestyle{plain}
>
> This gives me headers and footers on every page except the title, and the
> graphic.
We use the fancyhdr package to format the running heads and feet
already, so you don't need to \usepackage{fancyhdr} (as we already
load it).
We use the 'fancy' page style for most pages in the book. The 'plain'
style is used for the first page of a new chapter. We use the 'empty'
page style for the title page and \cleardoublepage.
If you want your running heads and feet to work for all the page
styles, you'll need to set them individually. But it should work.
> In response I tried to edit it straight on the .cls file, first by
> %%commenting out all the stuff about headers that I found in the .cls (which
> had no effect) and then editing the stuff about headers in the .cls (also no
> effect)
You should be able to add the above code to the preamble of your
document (the part between \documentclass and \begin{document}). For
these changes, you shouldn't need to modify the Tufte-LaTeX files
directly.
Please let me know if these changes work as you want or if you
continue to encounter problems.
Thanks!
—Kevin Godby