Here is a hack on top of the tufte-book class in order to keep it simple. Two environments are defined one for oneside pages and another for double sided pages called adjustmargins
use negative values to pull towards the page edges. The correct way is to redefine large sections of the class or even write one from scratch (I would do the latter as the tufte-class puts all captions and citations in the margins which is really not suited in this case). Code is rather long but prints a full page to see the possibilities. Code needs work. I normally code like a sketch
, get as quickly as possible to what I want and then go back and re-factor. For example in a final version, I would code the button for answers either using hyperef
or insdljs
and redefine all page dimensions.
\documentclass[justified]{tufte-book}
\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
\usepackage{xcolor}
\usepackage{lipsum}
\usepackage{soul}
\title{Thanks to Steward }
\author{The Author}
\begin{document}
\maketitle
\noindent\parbox{12.7cm}{This coordinate system is called the rectangular coordinate system or the Cartesian
coordinate system in honor of the French mathematician René Descartes (1596–1650),
even though another Frenchman, Pierre Fermat (1601–1665), invented the principles of
analytic geometry at about the same time as Descartes. The plane supplied with this coordinate system is called the coordinate plane or the Cartesian plane and is denoted by .
The and axes are called the coordinate axes and divide the Cartesian plane into
four quadrants, which are labeled I, II, III, and IV in Figure 1. Notice that the first quadrant consists of those points whose and coordinates are both positive.}
\begin{fullwidth}
\fboxrule1.0pt
\fboxsep10pt
\noindent\color{red}\framebox{\parbox{12.7cm}{\color{black}
\textbf{\textcolor{red}{\textsf{Parallel and Perpendicular Lines}}}
\begin{enumerate}
\itemsep-5pt
\item Two nonvertical lines are parallel if and only if they have the same slope.
\item Two lines with slopes $m_1$ and $m_2$ are perpendicular if and only if $m_1m_2=-1$; that is, their slopes are negative reciprocals:
\[
m_{2}=-\frac{1}{m_{1}}
\]
\end{enumerate}
}}
\color{black}
\parindent=0pt
\vspace{8pt}
\noindent{\color{blue}{\textsf{\textbf{EXAMPLE}}}} 5 Find an equation of the line through the point that is parallel to the line\\
\(4x+6y+5=0\).
\smallskip
\textsf{SOLUTION} The given line can be written in the form
\medskip
\hskip4cm\(y=-\frac{2}{3}x-\frac{5}{6}\)
\end{fullwidth}
\makeatletter
\newenvironment{adjustmargins}[2]{%
\begin{list}{}{%
\topsep\z@%
\listparindent\parindent%
\parsep\parskip%
\@ifmtarg{#1}{\setlength{\leftmargin}{\z@}}%
{\setlength{\leftmargin}{#1}}%
\@ifmtarg{#2}{\setlength{\rightmargin}{\z@}}%
{\setlength{\rightmargin}{#2}}%
}
\item[]}{\end{list}}
\newenvironment{adjustmargins*}[2]{%
\begin{list}{}{%
\topsep\z@%
\listparindent\parindent%
\parsep\parskip%
\checkoddpage
\ifoddpage % odd numbered page
\@ifmtarg{#1}{\setlength{\leftmargin}{\z@}}%
{\setlength{\leftmargin}{#1}}%
\@ifmtarg{#2}{\setlength{\rightmargin}{\z@}}%
{\setlength{\rightmargin}{#2}}%
\else % even numbered page
\@ifmtarg{#2}{\setlength{\leftmargin}{\z@}}%
{\setlength{\leftmargin}{#2}}%
\@ifmtarg{#1}{\setlength{\rightmargin}{\z@}}%
{\setlength{\rightmargin}{#1}}%
\fi
}
\item[]}{\end{list}}
\makeatother
\begin{adjustmargins}{-.5in}{-2.0in}
\vfill
\rule{17.2cm}{.4pt}
There are no engineers in the hottest parts of hell, because the existence of a 'hottest part' implies a temperature difference, and any marginally competent engineer would immediately use this to run a heat engine and make some other part of hell comfortably cool. This is obviously impossible.
\end{adjustmargins}
\end{document}
hyperref
orinsdljs
. It is a very well designed book.\marginpar
, but about changing the "margins" in the middle of a page. The correct tag therefore is indentation, see meta.tex.stackexchange.com/questions/2093/….