26 votes
Accepted

Retrieve only chapter name in fancyhdr

There are three bits of information for each chapter: \thechapter, which is the number. (For instance, 2 of "Chapter 2.") \chaptername, which is the current language equivalent of the word "chapter." ...
Richard's user avatar
  • 2,084
24 votes
Accepted

text, margin, and text + margin width floats without using tufte class

You could use the sidenotes-package: \documentclass[twoside]{scrartcl} \usepackage{showframe} \usepackage{graphicx} \usepackage{placeins} \usepackage{sidenotes} \usepackage{...
DG''s user avatar
  • 21.8k
20 votes
Accepted

What is the default font in the Tufte handout class?

If you compile a tufte-handout document with pdfLaTeX and the default settings, then it uses Palatino and Helvetica for the fonts. You can load these in another document class by adding the following ...
godbyk's user avatar
  • 7,737
13 votes
Accepted

I can't use \maketitle with tufte and lualatex

The problem is that the tufte-book class is not yet able to work with LuaTeX > 0.85 which is a bit ridiculous, because it's been quite some time since that release. The tufte-book class checks ...
Henri Menke's user avatar
12 votes
Accepted

Tufte like axis with pgfplots for log axis

As already mentioned in the comment to the question -- in PGFPlots v1.13 the key axis line shift has been introduced which allows to easily produce Tufte like axis (have a look at section 4.9.10 on ...
Stefan Pinnow's user avatar
11 votes

Tufte alike design with sidenotes crossing pagebreaks, or: Tufte made with KOMA-Script

To have tables inside the margin note, you could make a kind of non floating table environment, e.g. \usepackage{environ} \makeatletter \NewEnviron{margintable}{% \expandafter\@margintable\...
Schweinebacke's user avatar
11 votes

Tufte-book problem with \ref

The chapter and section headings are unnumbered in the tufte-book document class. Since \ref wants to print the chapter/section number and can't find it, it complains in the log file: Package ...
godbyk's user avatar
  • 7,737
11 votes
Accepted

tufte-latex: \newthought after \section

The definition of \tuftebreak can be improved: \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \makeatletter \def\tuftebreak{% \if@nobreak\else \par \ifdim\lastskip<\...
egreg's user avatar
  • 1.1m
8 votes
Accepted

Change Paper Size in Tufte Book Class

Options width and height of \geometry set the width and height of the text body (\textwidth and \textheight). Options paperwidth and paperheight sets the paper or media size, e.g.: Most of the ...
Heiko Oberdiek's user avatar
8 votes
Accepted

Why do I get this error in this very simple mwe?

You need to insert a paragraph break before the chapter line. As \par directly is not allowed, use \endgraf: \documentclass[notoc]{tufte-book} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \...
Ulrike Fischer's user avatar
7 votes
Accepted

Turn off caption prefix WITHOUT using caption package

Some surgery on tufte-common.def in order to accommodate for a \varcaption command which has the syntax \varcaption[<offset>]{<caption text>} (the optional argument is similar to the ...
egreg's user avatar
  • 1.1m
7 votes
Accepted

How to justify the right alignment of tufte-book

As egreg mentions in a comment, Tufte feels that ragged right text is easier to read and thus that is the default for the tufte-book class. But the class offers the justified class option for those ...
daleif's user avatar
  • 54.6k
7 votes
Accepted

Use sans-serif font for sidenotes in the Tufte-book class

The tufte classes provide commands for customizing the marginal material. They are: \setsidenotefont{} \setcaptionfont{} \setmarginnotefont{} \setcitationfont{} So in your case, you want ...
Alan Munn's user avatar
  • 218k
6 votes

Problem with captions at top of page for tufte-latex

An automatic way of getting the float caption on the correct side is to use the changepage package \usepackage[strict]{changepage} ... \begin{figure} \checkoddpage \ifoddpage \forcerectofloat \else \...
GeoffV's user avatar
  • 834
6 votes
Accepted

How to color just the section numbers in the Toc in the tufte-book class?

tufte-book uses the titlesec and titletoc pair to manage the sectional and their ToC-related entries. As such, we just need to change the appropriate \titleformat{section} entry inside tufte-common....
Werner's user avatar
  • 603k
6 votes
Accepted

Avoid linebreak in abbreviation

This ought to be a kern, rather than a skip; no line break can happen at a kern, unless it is followed by a discardable item (such as a skip). \documentclass[nobib]{tufte-book} % Macros for ...
egreg's user avatar
  • 1.1m
6 votes

Place footnote in footer in Tufte-book class

The source of the Tufte classes says: % Transform existing \footnotes into \sidenotes % Sidenote: ``Where God meant footnotes to go.'' ---Tufte That explains why tufte-book is incompatible with ...
Phelype Oleinik's user avatar
6 votes
Accepted

tufte-book and gb4e and footnotes / sidenotes

The gb4e package does modify the footnote code to number examples in footnotes correctly. Usually this doesn't interfere with other footnoting modifications, but the tufte classes make quite ...
Alan Munn's user avatar
  • 218k
6 votes
Accepted

Suppressing margin citations in tufte-book

Here is a cheap solution: Use \citep. The tufte classes redefine \cite to give sidenote citations, but they don't define natbib's commands \citet and \citep. So \citep works a treat and even gives ...
moewe's user avatar
  • 176k
6 votes
Accepted

\LaTeX logo in tufte-book

It does, but you get a funny error: ! You can't use `\spacefactor' in math mode. \@->\spacefactor \@m {} This is because of how \LaTeX is defined: % latex.ltx, line 1644: \...
egreg's user avatar
  • 1.1m
6 votes

Partial and complete citations with biblatex in the same document

There are at least three ways to go about this. Delete fields you don't want to see in \AtEveryCitekey{...} with \clearfield, \clearlist and \clearname. Use a different style (style=authortitle) and ...
moewe's user avatar
  • 176k
5 votes

Customize length of y major grids in pgfplots

Using some new features that were introduced since your question it is now relatively easy to achieve the desired result ... For more details please have a look at the comments in the code. % used ...
Stefan Pinnow's user avatar
5 votes

Error using \ref in captions with Tufte and Babel

The problem seems to lie in the redefinition of \ifthenelse made by babel and interaction with tufte-common.def that (wrongly) loads hyperref before other user packages. Apparently, using \protect\...
egreg's user avatar
  • 1.1m
5 votes
Accepted

scale in graphicx don´t work when width set with setkeys

You can use an exclamation to reset the width and height values: \documentclass{article} \usepackage{graphicx} \setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio} \begin{...
Ulrike Fischer's user avatar
5 votes

text, margin, and text + margin width floats without using tufte class

I am rather late to the party, but there might be another recent option worth checking out, namely the kaobook class. The style is a bit different, but it picks up many ideas from tufte and is under ...
Ingmar's user avatar
  • 6,690
5 votes

Avoid linebreak in abbreviation

there are probably better ways to do this, but if you put \nolinebreak before the \hspace in the definition of \hairsp that will prevent a break any time the macro is used. \newcommand{\hairsp}{\...
barbara beeton's user avatar
5 votes

Package marginfix swallows some margin notes

This was caused by a counter not being properly reset on new pages. I've fixed it in version 1.2 [2020/05/06], uploaded to CTAN just now, or you can download it from GitHub.
Steve's user avatar
  • 151
5 votes
Accepted

Adjust the vertical position of the figures

From the documentation: The marginfigure and margintable environments accept an optional parameter offset that adjusts the vertical position of the figure or table. See the “Sidenotes” section ...
TeXnician's user avatar
  • 33.6k
5 votes
Accepted

tikz-qtree and tufte-book

The problem is not with tikz-qtree but with the use of \textsc within the tree. The tufte-book class redefines \textsc using commands from the soul package. So you need to use \textsmallcaps instead. ...
Alan Munn's user avatar
  • 218k

Only top scored, non community-wiki answers of a minimum length are eligible