How to fix overlaps in the margin?

2,546 views
Skip to first unread message

Ewan

unread,
Jan 18, 2012, 6:17:51 AM1/18/12
to tufte...@googlegroups.com
I'm using Tufte-LaTeX to typeset my PhD thesis. I love most things about it, but am having problems with the margins. 

Specifically, things in the margin (captions, footnotes, figures) often overlap. For example:


Is there anything I can do about this? All suggestions/tips would be very welcome.

Thanks,

Ewan.


Steve quinlan

unread,
Jan 18, 2012, 12:45:07 PM1/18/12
to tufte...@googlegroups.com
Margin notes, margin figures, and citations can all be moved vertically. For example, \cite[vertical movement]{citekey}. You can specify a "-" in vertical movement to move it upward, otherwise it moves down by default. You also need to specify the units, e.g, cm, in, px, etc... Sidenotes are the only odd bird in that you have to specify \sidenote[][vertical movement]{note...}. The first box is the symbol used, so leave it blank to use the default.

Captions from tables or regular images can be moved with the \vspace*{vertical movement} command.

How do I know all this? I asked almost the same stuff a while back. :)

--
You received this message because you are subscribed to the Google Groups "tufte-latex" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tufte-latex/-/3aptTAt4YXkJ.
To post to this group, send email to tufte...@googlegroups.com.
To unsubscribe from this group, send email to tufte-latex...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tufte-latex?hl=en.

Kevin Godby

unread,
Jan 18, 2012, 1:40:00 PM1/18/12
to tufte...@googlegroups.com
Hello, Ewan.

On Wed, Jan 18, 2012 at 5:17 AM, Ewan <ewan...@gmail.com> wrote:
> I'm using Tufte-LaTeX to typeset my PhD thesis. I love most things about it, but am having problems with the margins.
>
> Specifically, things in the margin (captions, footnotes, figures) often overlap. For example:
>

> Is there anything I can do about this? All suggestions/tips would be very welcome.

There are three different ways you can approach this problem:

1. Adjust the vertical position of sidenote 3 using the vertical
offset parameter: \sidenote[][-2\baselineskip]{This is to be
expected...} would move the sidenote up a couple lines. Page 22 of
sample-book.pdf provides some more details on this.

2. Adjust the vertical position of the caption using the
\setfloatalignment macro. You can use the
\setfloatalignment{position} macro to align the float with the top or
bottom of the figure/table. \setfloatalignment{t} will top-align the
caption (i.e., as it is now). This is the default for floats that are
placed at the top of the page or in the middle of the page. In this
case, however, you might try \setfloatalignment{b} to bottom-align the
caption. This is used for floats that are placed at the bottom of the
page. See page 25 of sample-book.pdf for some more info on the
\setfloatalignment macro.

3. Adjust the vertical offset of the caption in a similar manner as
the sidenote: \caption[2\baselineskip][]{Articles mentioning job
insecurity...} would move the caption down two lines. See page 24 for
the full syntax of the \caption command.

Please let me know if none of these solve the problem and we'll try to
come up with a better solution.

Thanks!

--Kevin Godby

Ewan

unread,
Jan 18, 2012, 3:40:17 PM1/18/12
to tufte...@googlegroups.com
Hi Kevin, 

Thanks!! That's very helpful. I was able to fix the overlap with a combination of "\sidenote[][-2\baselineskip]" and "\setfloatalignment{b}". This way, I should be able to fix just about anything that crops up later. 

A quick workflow question: do you tend to do such adjustments last, on a final draft? (I'm writing in multimarkdown with Scrivener).

Thanks for your (speedy) help!

Ewan
--
PS. I really should have read "sample-book.pdf" more closely. 

Ewan

unread,
Jan 18, 2012, 3:43:15 PM1/18/12
to tufte...@googlegroups.com
Thanks Steve – very helpful too. 

Kevin Godby

unread,
Jan 18, 2012, 6:31:08 PM1/18/12
to tufte...@googlegroups.com
Hey, Ewan.

On Wed, Jan 18, 2012 at 2:40 PM, Ewan <ewan...@gmail.com> wrote:
> Thanks!! That's very helpful. I was able to fix the overlap with a
> combination of "\sidenote[][-2\baselineskip]" and "\setfloatalignment{b}".
> This way, I should be able to fix just about anything that crops up later.
>
> A quick workflow question: do you tend to do such adjustments last, on a
> final draft? (I'm writing in multimarkdown with Scrivener).

Adjusting the position of floats, sidenotes, captions, etc. is one of
the very last things I do. I wait until after I've written and
proofread everything. If you do it earlier in the process, you'll
find that when you add or remove text, some of the overlaps would've
resolved themselves and others may be created.

> PS. I really should have read "sample-book.pdf" more closely.

Nah. There's a lot of material in there and it's hard to learn
everything at once. I typically reference the manual so that you can
read more information about your options so I don't have to write
quite so long emails.

--Kevin

David Garbutt

unread,
Jan 19, 2012, 7:42:16 AM1/19/12
to tufte...@googlegroups.com
 (I'm writing in multimarkdown with Scrivener).


Interesting! I have been thinking of trying this.

Could you share your markdown metadata setup?
I guess a separate thread would be needed!

Best regards,

Dave 
Sent from my iPhone 4
Reply all
Reply to author
Forward
0 new messages