tufte-latex icon indicating copy to clipboard operation
tufte-latex copied to clipboard

fullwidth issues

Open chipbrock opened this issue 9 years ago • 2 comments

Hi I know that this breaks the "tufte" rules at some level, but in a book manuscript I have an environment that requires the full page width. That is, it works between \begin{fullwidth} and \end{fullwidth}.

This is fine, unless it overflows to the next page, then it seems to shift things off the page edge so that it aligns with the "regular" width. Is there a way to fix this?

thanks Ray

chipbrock avatar Aug 14 '15 20:08 chipbrock

Not at the moment. It's a known issue with the fullwidth environment.

The fullwidth environment uses the adjustwidth environment from the changepage package. The adjustwidth environment isn't intended to be used across pages. If you're using the asymmetric page layout (such that the margin notes are always on the right-hand side regardless of whether the page is rector or verso), it's not an issue. But if you try to use it with the symmetric option, you'll run into problems with the fullwidth environment not being aligned properly on the following page.

A potential long-term solution would be to rewrite the fullwidth environment to make use of a page-breaking algorithm similar to that used by the mdframed package. The fullwidth spin-off package by the author of the mdframed package is intended to do just that. Unfortunately, I've never gotten that package to work properly.

In the shorter term, you could try breaking your material up into smaller chunks and wrapping each chunk in the fullwidth environment. This way, if a page break occurs between two fullwidth environments, things should be aligned properly.

godbyk avatar Aug 14 '15 20:08 godbyk

hi Thanks for your quick response. I suspected as much and feared that I’ve overthought some of this. I’ll break things apart.

best Ray

On Aug 14, 2015, at 4:19 PM, Kevin Godby <[email protected]mailto:[email protected]> wrote:

Not at the moment. It's a known issue with the fullwidth environment.

The fullwidth environment uses the adjustwidth environment from the changepage package. The adjustwidth environment isn't intended to be used across pages. If you're using the asymmetric page layout (such that the margin notes are always on the right-hand side regardless of whether the page is rector or verso), it's not an issue. But if you try to use it with the symmetric option, you'll run into problems with the fullwidth environment not being aligned properly on the following page.

A potential long-term solution would be to rewrite the fullwidth environment to make use of a page-breaking algorithm similar to that used by the mdframed package. The fullwidth spin-off package by the author of the mdframed package is intended to do just that. Unfortunately, I've never gotten that package to work properly.

In the shorter term, you could try breaking your material up into smaller chunks and wrapping each chunk in the fullwidth environment. This way, if a page break occurs between two fullwidth environments, things should be aligned properly.

— Reply to this email directly or view it on GitHubhttps://github.com/Tufte-LaTeX/tufte-latex/issues/101#issuecomment-131229496.


Raymond Brock * University Distinguished Professor Department of Physics and Astronomy Michigan State University Biomedical Physical Sciences 567 WIlson Road, Room 3210 East Lansing, MI 48824 sent from: [email protected]:[email protected]

cell: (517)927-5447 MSU office: (517)353-1693 open fax: (517)355-6661 Vidyo personal room: http://goo.gl/AgiDJ4 CERN Office: 32 2-B03 * 76-71756

Twitter: @chipbrock Home: http://www.pa.msu.edu/~brock/ Facebook: http://msu.facebook.com/profile.php?id=2312233

chipbrock avatar Aug 14 '15 20:08 chipbrock