Page LayoutLine spacing in footnotes varying with environment

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
pablofaria
Posts: 2
Joined: Sat Sep 26, 2009 12:23 am

Line spacing in footnotes varying with environment

Post by pablofaria »

Hi all.

I tried google until I get tired, but I didn't find any help there. I'm writing a dissertation, using "book" document style. The overall line spacing is set to double (by a \doublespacing command right after \mainmatter). My problem is that footnotes are just crazy. According to the information available (see http://albertskblog.blogspot.com/2007/1 ... t-you.html), they should keep to singlespacing (that's what I want: doublespace for normal text, single for footnote, quotes, etc.). But, whenever a footnote is set within normal text, its linespacing is doubled. When set within a singlespace environment, it is changed to singlespace. There are cases where there are two footnotes on the same page, with different linespaces!!! :o

So, any ideas? :idea:

thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Line spacing in footnotes varying with environment

Post by localghost »

I can't comprehend that problem.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[doublespacing]{setspace}
\usepackage{blindtext}

\begin{document}
  \blindtext\footnote{\blindtext}

  \singlespacing
  \blindtext\footnote{\blindtext}
\end{document}

Best regards and welcome to the board
Thorsten
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Line spacing in footnotes varying with environment

Post by meho_r »

Please, post a minimal working example so that it can be tested. I don't see the problem neither. However, you may try using the package footmisc which should certainly prevent that strange behaviour.
pablofaria
Posts: 2
Joined: Sat Sep 26, 2009 12:23 am

Re: Line spacing in footnotes varying with environment

Post by pablofaria »

Thanks everybody. Thorsten, based on your example I could isolate the problem. It was a package ("gb4e") that was causing the problem. I could fix the problem in the package code and it's all ok now. Thanks a lot!
Post Reply