
Quiero aplicar esta soluciónEl texto de ancho completo desplaza todos los elementos flotantes con margen fijo fuera de la página hacia la derechaa la clase de documento tufte-book, sin embargo, aparece un error cada vez que uso \chapter
.
\documentclass{tufte-book}
\makeatletter
\newlength{\fullwidthlength}
\AtBeginDocument{\setlength{\fullwidthlength}{\@tufte@fullwidth}}
\makeatother
\renewenvironment{fullwidth}{\noindent\begin{minipage}{\fullwidthlength}\strut}{\strut\end{minipage}}
\usepackage{marginfix}
\begin{document}
\chapter{My Chapter}
This is text before some full width text. The footnote that goes with it is way over there.\footnote{This note goes with the text before the full width text.}
\begin{fullwidth}This is some full width text. Its presence on a page using \texttt{marginfix} pushes all notes to the right off the page.\end{fullwidth}
This is some other text, after the full width text, and its note is also way over there.\footnote{This note goes with the text after the full width text.}
\end{document}
! Error de titlesec del paquete: ingresado en modo horizontal.
El problema probablemente esté entufte-common.defya que \chapter
hace uso de fullwidth
.
\titleformat{\chapter}%
[display]% shape
{\relax\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\begin{fullwidth}}{}}% format applied to label+text
{\itshape\huge\thechapter}% label
{0pt}% horizontal separation between label and title body
{\huge\rmfamily\itshape}% before the title body
[\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\end{fullwidth}}{}]% after the title body