Chapter 99: Tufte (layout example)

This page will keep a very short reference of some common Tufte elements and how to create them.

Section

Some text11. This is a margin note. Notice there isn't a number preceding the note.

Subsection

This is a pretty great quote from the man himself. Maybe one of the best quotes that are out there.

-Hunter Schafer, 2020

Some text.22. This is another margin note. Notice there isn't a number preceding the note.And some more text that goes after a margin.

Figures

This section shows what you can do with figures. It will have an inline figure, a margin figure, and a full-width figure.

33. An inline figureSome text

This paragraph44. Another imageCan also have some text below it that can be pretty longhas a margin note with an image.

Below is a full-width figure. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing. Adding some more text for spacing.

Another image

The following example shows how to make an iframe.

Code

This shows how to make a code block.

def hello_world():
    print('Hello world!')