I am using tufte-latex and would like my section titles to use the full width of the page in the case that I use a fullwidth environment for the next block of text. However, when I try to compile this example:
\documentclass{tufte-book}
\usepackage{lipsum}
\begin{document}
\begin{fullwidth}
\section{This is the Title of my Section, Which I Will Make Very Long to Demonstrate the Problem I Have Using Fullwidth}
\lipsum
\end{fullwidth}
\end{document}
I get the following error:
LaTeX Error: Something's wrong–perhaps a missing \item
However, if I run the code like this, it works, but gives me a too-narrow section header.
\documentclass{tufte-book}
\usepackage{lipsum}
\begin{document}
\section{This is the Title of my Section, Which I Will Make Very Long to Demonstrate the Problem I Have Using Fullwidth}
\begin{fullwidth}
\lipsum
\end{fullwidth}
\end{document}
Best Answer
I think it's a bad idea for readability and consistency, but if you really must stretch the section heading across the full page, the following should work:
Note also that the
fullwidth
environment is not designed two work across page boundaries and it may break in some cases. (The block of text will be offset horizontally on the page.)