I have a pile of handouts and lecture notes from a course that I've been teaching every fall for a number of years, and I'm thinking of putting them together in a textbook format (I know that some people advise against writing textbooks; let's just say that I want to do this because I'll keep on teaching this course for the foreseeable future and writing a textbook now will save me time and effort in the long run). I've always thought that the Feynman Lectures on Physics has a really nice layout for a textbook, and I'd really like to reproduce it. I could spend sometime writing a class file that mimics this layout, but before I do that, I wanted to check if someone has done that already. A search on CTAN fails to return anything relevant, but perhaps I'm missing something.
1 Answer
Maybe the sidenotes
-package is a solution for you (I suspect you want to put figures and notes in the margin), it gives you a lot of the features of the tufte-latex
-class, like margin figures
, but it can be combined with any other documentclass
. Here is an example using the standard book
-class with a large outer margin:
\documentclass{book}
\usepackage[outer=7cm]{geometry}
\usepackage{graphicx}
\usepackage{blindtext}
\usepackage{sidenotes}
\begin{document}
\chapter{Test}
\section{This}
\blindtext[1]
\begin{marginfigure}
\includegraphics[width=\marginparwidth]{helix.pdf}
\caption{Helix}
\end{marginfigure}
\blindtext[1]
\section{That}
\blindtext[3]
\end{document}
-
Is is possible to have configuration such that if there are no margin notes for a given page, then the margin will not occupy space (that was originally allocated)? Aug 12, 2017 at 5:28
-
@blackened unfortunately this is very hard to achieve, if it is even possible. You should ask a new question!– DG'Aug 12, 2017 at 9:40
-
@blackened, A nicer solution than varying the page margins might be in that case to use
wrapfigure
.– oliversmMay 28, 2020 at 14:13
scrlayer-notecolumn
might be of help.