3

I have used the solution on Increasing the text size in tufte documents

to change the size of the main text of a tufte book, but the headers remain the same. How can I change that as well?

Example document:

\documentclass[b5paper,14pt]{tufte-book}

\usepackage{tufte-largeprint}

\title{Beer and frogs} \author[Ruth Lazkoz]{Ruth Lazkoz}

\begin{document}

\maketitle

\mainmatter \chapter{Blaise Pascal}

\section{ inventor}

Soportamos un enorme peso sobre nuestras cabezas sin ser conscientes de ello
\newpage mas cosas

\end{document}
1
  • Welcome to TeX S.E. ! Please copy the code you used (but don't delete the link), it will be easier for us to help you. Asking people to fetch the code on another page may end in less people willing to help you.
    – sztruks
    Commented Oct 13, 2019 at 11:58

2 Answers 2

1

The headers are defined in tufte-common.def with \fancyhead commands starting on line 1457 (version 2015/06/21 v3.5.2 Common code for the Tufte-LaTeX styles). You can redefine this to be printed in \normalsize, which the style file defines to be larger.

Edit: used the MWE from the OP. Because it uses \mainmatter, and tufte-book.cls sets the headers in that command, you need to redefine that. You can choose to put the redefinition in the tufte-largeprint.sty file or in the document itself. Here the modifications are shown in the document itself to make it self-contained. Note that in this case you need \makeatletter and \makeatother because there is an @ symbol in the code (in \boolean{@tufte@twoside}).

\documentclass[b5paper]{tufte-book}

\usepackage{tufte-largeprint}
\makeatletter
\renewcommand\mainmatter{%
  \cleardoublepage%
  \@mainmattertrue%
  \fancyhf{}%
  \ifthenelse{\boolean{@tufte@twoside}}%
    {% two-side
      \renewcommand{\chaptermark}[1]{\markboth{##1}{}}%
      \fancyhead[LE]{\normalsize\thepage\quad\smallcaps{\newlinetospace{\plaintitle}}}% book title
      \fancyhead[RO]{\normalsize\smallcaps{\newlinetospace{\leftmark}}\quad\thepage}% chapter title
    }%
    {% one-side
      \fancyhead[RE,RO]{\normalsize\smallcaps{\newlinetospace{\plaintitle}}\quad\thepage}% book title
    }%
}
\makeatother

\title{Beer and frogs} \author[Ruth Lazkoz]{Ruth Lazkoz}

\begin{document}

\maketitle

\mainmatter
\chapter{Blaise Pascal}

\section{ inventor}

Soportamos un enorme peso sobre nuestras cabezas sin ser conscientes de ello
\newpage mas cosas

\end{document}

Result:

enter image description here

11
  • I am afraid it has not had any effect. I wonder if I have some clashing option somewhere. Commented Oct 13, 2019 at 20:10
  • @RuthLazkoz if this didn't work then you should provide a small example document with this code in it that does not work, then we can try to find what the problem is.
    – Marijn
    Commented Oct 13, 2019 at 20:16
  • This is my file below Commented Oct 13, 2019 at 21:29
  • @RuthLazkoz you should edit it into your question and not post it as an answer - because it is not an answer to the question. But I'll take a look at it - the first difference is that this is tufte-book whereas the link you had in your question was about tufte-handout, so I guess that is the problem (and that is also why you always need to provide such a minimal file when you ask your questions, to avoid answerers to spend time on solutions that do not work for you).
    – Marijn
    Commented Oct 13, 2019 at 21:45
  • @RuthLazkoz I edited my answer using your example code.
    – Marijn
    Commented Oct 13, 2019 at 22:05
0
\documentclass[b5paper,14pt]{tufte-book}

\usepackage{tufte-largeprint}

\title{Beer and frogs}
\author[Ruth Lazkoz]{Ruth Lazkoz}

\begin{document}

\maketitle

\mainmatter
\chapter{Blaise Pascal}

\section{ inventor}

Soportamos un enorme peso sobre nuestras cabezas sin ser conscientes de ello  
\newpage
mas cosas

\end{document}
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .