Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Document-wide double spacing with memoir class?

1,243 views
Skip to first unread message

Szabolcs Horvát

unread,
Sep 17, 2010, 6:20:55 AM9/17/10
to
Good day,

What is the correct way to set double or one-half line spacing for the
full document when using the memoir class?

Per the memoir class documentation, I put \DoubleSpacing right after
\begin{document} (as this class does not allow the spacing package to be
loaded). This has changed the spacing everywhere except in the figure
captions. I need to modify the spacing in the complete document,
including any figure or table captions. What is the correct way to do this?

Lars Madsen

unread,
Sep 17, 2010, 6:44:54 AM9/17/10
to

hmm, good question, usually people do not what this, so the double space
was disabled in captions

(why do you need it?)

I'll see what I can do for the next version of memoir

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

Lars Madsen

unread,
Sep 17, 2010, 6:56:52 AM9/17/10
to
Lars Madsen wrote:
> Szabolcs Horvát wrote:
>> Good day,
>>
>> What is the correct way to set double or one-half line spacing for the
>> full document when using the memoir class?
>>
>> Per the memoir class documentation, I put \DoubleSpacing right after
>> \begin{document} (as this class does not allow the spacing package to
>> be loaded). This has changed the spacing everywhere except in the
>> figure captions. I need to modify the spacing in the complete
>> document, including any figure or table captions. What is the correct
>> way to do this?
>
> hmm, good question, usually people do not what this, so the double space
> was disabled in captions
>
> (why do you need it?)
>
> I'll see what I can do for the next version of memoir
>
>
>

A quick fix might be to simply reset the single spacing (memoir
internally resets footnotes captions etc. to singlespacing when one half
or double spacing is active)

something like


\OnehalfSpacing
\setSingleSpace{\baselinestretch}

(\OnehalfSpacing updates \baselinestretch)

might do the trick (untested)

Szabolcs Horvát

unread,
Sep 17, 2010, 7:13:52 AM9/17/10
to
On 2010.09.17. 12:44, Lars Madsen wrote:
> Szabolcs Horvát wrote:
>> Good day,
>>
>> What is the correct way to set double or one-half line spacing for the
>> full document when using the memoir class?
>>
>> Per the memoir class documentation, I put \DoubleSpacing right after
>> \begin{document} (as this class does not allow the spacing package to
>> be loaded). This has changed the spacing everywhere except in the
>> figure captions. I need to modify the spacing in the complete
>> document, including any figure or table captions. What is the correct
>> way to do this?
>
> hmm, good question, usually people do not what this, so the double space
> was disabled in captions
>
> (why do you need it?)
>
> I'll see what I can do for the next version of memoir
>

Thanks for the reply! It is not very important, as it is only for a
draft version. I was asked to make everything doublespace for the usual
reason -- to be able to write corrections and comments inbetween the
lines on the printed pages.

Arash Esbati

unread,
Sep 17, 2010, 8:50:24 AM9/17/10
to
Szabolcs Horvát <szho...@gmail.com> writes:

> Thanks for the reply! It is not very important, as it is only for a
> draft version. I was asked to make everything doublespace for the
> usual reason -- to be able to write corrections and comments inbetween
> the lines on the printed pages.

Try \linespread{factor} in your preamble.

--
Arash Esbati

Szabolcs Horvát

unread,
Sep 17, 2010, 9:43:21 AM9/17/10
to
On 2010.09.17. 12:56, Lars Madsen wrote:
> Lars Madsen wrote:
>> Szabolcs Horvát wrote:
>>> Good day,
>>>
>>> What is the correct way to set double or one-half line spacing for
>>> the full document when using the memoir class?
>>>
>>> Per the memoir class documentation, I put \DoubleSpacing right after
>>> \begin{document} (as this class does not allow the spacing package to
>>> be loaded). This has changed the spacing everywhere except in the
>>> figure captions. I need to modify the spacing in the complete
>>> document, including any figure or table captions. What is the correct
>>> way to do this?
>>
>> hmm, good question, usually people do not what this, so the double
>> space was disabled in captions
>>
>> (why do you need it?)
>>
>> I'll see what I can do for the next version of memoir
>>
>>
>>
>
> A quick fix might be to simply reset the single spacing (memoir
> internally resets footnotes captions etc. to singlespacing when one half
> or double spacing is active)
>
> something like
>
>
> \OnehalfSpacing
> \setSingleSpace{\baselinestretch}
>
> (\OnehalfSpacing updates \baselinestretch)
>
> might do the trick (untested)
>

Ah, apparently that successfully puts pdftex 1.40.10 into an infinite
loop... never seen such a thing before.

I'll just keep the captions single-spaced. It's not terribly important
that they doublespaced.

Szabolcs Horvát

unread,
Sep 17, 2010, 9:53:37 AM9/17/10
to

In case anyone is interested, this will lock up pdflatex with 100% CPU
usage:

\documentclass{memoir}
\begin{document}
\DoubleSpacing
\setSingleSpace{\baselinestretch}
\begin{figure}
\caption{ bla }
\end{figure}
\end{document}


This is what it outputs before it freezes:


This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
(E:\temp\temp\t.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, german, ngerman, german-x-2009-06-19,
ngerman-x-2009-06-19, monogreek, hungarian,
bokmal, romanian, ukenglish, loaded.
(C:\texmf\tex\latex\memoir\memoir.cls
Document Class: memoir 2010/08/22 v3.6f configurable book, report,
article document class
(C:\texmf\tex\generic\oberdiek\ifpdf.sty)
(C:\texmf\tex\generic\ifxetex\ifxetex.sty)
(C:\texmf\tex\generic\oberdiek\ifluatex.sty)
(C:\texmf\tex\latex\misc\etex.sty)
(C:\texmf\tex\latex\memoir\mem10.clo)
(C:\texmf\tex\latex\memoir\mempatch.sty)
) (E:\temp\temp\t.aux)


Otherwise the problem does not inconvenience me. Just mentioned it in
case it is a bug.

Alan Munn

unread,
Sep 17, 2010, 10:53:12 AM9/17/10
to
In article <i6vr9p$cke$1...@news.eternal-september.org>,
Szabolcs Horvát <szho...@gmail.com> wrote:

> On 2010.09.17. 12:56, Lars Madsen wrote:
> > Lars Madsen wrote:
> >> Szabolcs Horvát wrote:
> >>> Good day,
> >>>
> >>> What is the correct way to set double or one-half line spacing for
> >>> the full document when using the memoir class?
> >>>
> >>> Per the memoir class documentation, I put \DoubleSpacing right after
> >>> \begin{document} (as this class does not allow the spacing package to
> >>> be loaded). This has changed the spacing everywhere except in the
> >>> figure captions. I need to modify the spacing in the complete
> >>> document, including any figure or table captions. What is the correct
> >>> way to do this?
> >>
> >> hmm, good question, usually people do not what this, so the double
> >> space was disabled in captions

Maybe I'm missing something, but what's wrong with just putting
\DoubleSpacing into the \captiontitlefont{} command?

\documentclass{memoir}
\captiontitlefont{\DoubleSpacing}
\begin{document}
\DoubleSpacing
\chapter{}
\begin{figure}
A figure
\caption{This is a caption that has many lines. This is a caption that
has many lines. This is a caption that has many lines. This is a caption
that has many lines. This is a caption that has many lines.}
\end{figure}
\begin{table}
\caption{This is a caption that has many lines. This is a caption that
has many lines. This is a caption that has many lines. This is a caption
that has many lines. This is a caption that has many lines.}
A table
\end{table}
\end{document}

No infinite loop required :-)

Alan

Szabolcs Horvát

unread,
Sep 17, 2010, 11:13:34 AM9/17/10
to

That works great, Alan, thanks!

Lars Madsen

unread,
Sep 17, 2010, 11:18:49 AM9/17/10
to

This works

\documentclass{memoir}
\usepackage{lipsum}
\DoubleSpacing
\makeatletter
\let\m@m@singlespace\baselinestretch
\makeatother
\begin{document}

\lipsum[1]

\begin{figure}[ht]
\caption{\lipsum[1]}
\end{figure}
\end{document}

>
> This is what it outputs before it freezes:
>
>
> This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
> entering extended mode
> (E:\temp\temp\t.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8l> and hyphenation patterns for english, dumylang,
> nohyphenation, german, ngerman, german-x-2009-06-19,
> ngerman-x-2009-06-19, monogreek, hungarian,
> bokmal, romanian, ukenglish, loaded.
> (C:\texmf\tex\latex\memoir\memoir.cls
> Document Class: memoir 2010/08/22 v3.6f configurable book, report,
> article document class
> (C:\texmf\tex\generic\oberdiek\ifpdf.sty)
> (C:\texmf\tex\generic\ifxetex\ifxetex.sty)
> (C:\texmf\tex\generic\oberdiek\ifluatex.sty)
> (C:\texmf\tex\latex\misc\etex.sty)
> (C:\texmf\tex\latex\memoir\mem10.clo)
> (C:\texmf\tex\latex\memoir\mempatch.sty)
> ) (E:\temp\temp\t.aux)
>
>
> Otherwise the problem does not inconvenience me. Just mentioned it in
> case it is a bug.

Lars Madsen

unread,
Sep 17, 2010, 11:19:16 AM9/17/10
to

then what about footnotes?

Szabolcs Horvát

unread,
Sep 17, 2010, 11:35:01 AM9/17/10
to

Had no footnotes yet---thank you for your kind help too!

Alan Munn

unread,
Sep 17, 2010, 12:51:43 PM9/17/10
to
In article <4c9386d8$0$50447$1472...@news.sunsite.dk>,
Lars Madsen <dal...@RTFMSIGNATUREimf.au.dk> wrote:

Well logically that should be able to be set similarly with
\foottextfont{}, but this doesn't work. It might be useful to have
hooks for each of these (e.g. \captionspacing{}, footnotespacing{}) as
part of the user command set of memoir.

Consider this a feature request. :-)

Alan

Donald Arseneau

unread,
Sep 17, 2010, 3:25:49 PM9/17/10
to
Szabolcs Horvát <szho...@gmail.com> writes:

> What is the correct way to set double or one-half line spacing for the full
> document when using the memoir class?
>
> Per the memoir class documentation, I put \DoubleSpacing

Don't do that! Just ignore the extension commands for controlling
spacing and set:

\renewcommand\baselinestretch{1.36} % 1.5
\renewcommand\baselinestretch{1.66} % 2.0

Different fonts will require different stretch multipliers;
these low ones are good for Computer Modern, but they should
never be greater than the nominal values.

--
Donald Arseneau as...@triumf.ca

Lars Madsen

unread,
Sep 18, 2010, 2:00:36 PM9/18/10
to

I'm considering adding a starred version of say \OnehalfSpacing that
enables the extra spacing in captions and page notes as well


Alan Munn

unread,
Sep 18, 2010, 2:09:20 PM9/18/10
to
In article <4c94fe41$0$50444$1472...@news.sunsite.dk>,
Lars Madsen <dal...@imf.au.dk> wrote:

I don't really have a dog in this fight, but I can see the utility of
having double spaced footnotes, and at the same time single spaced
captions, for example. Since the \captiontitlefont already provides the
hook for double spacing captions, wouldn't it be better to just add a
hook for footnotes instead of an all or nothing choice?

Alan

Lars Madsen

unread,
Sep 18, 2010, 2:23:02 PM9/18/10
to

>>> Alan
>> I'm considering adding a starred version of say \OnehalfSpacing that
>> enables the extra spacing in captions and page notes as well
>
> I don't really have a dog in this fight, but I can see the utility of
> having double spaced footnotes, and at the same time single spaced
> captions, for example. Since the \captiontitlefont already provides the
> hook for double spacing captions, wouldn't it be better to just add a
> hook for footnotes instead of an all or nothing choice?
>
> Alan

I think it will be sufficient with an all or nothing switch. Too much
choice is not always the best thing.

(I still do not understand those places where they require students to
hand in their work in double space, which century are they living in?)

jon

unread,
Sep 18, 2010, 2:36:51 PM9/18/10
to
On Sep 18, 2:00 pm, Lars Madsen <dal...@imf.au.dk> wrote:
> I'm considering adding a starred version of say \OnehalfSpacing that
> enables the extra spacing in captions and page notes as well

this might be useful even outside of thesis requirements. several of
the journals in (medieval/early-modern) history require double-spaced
footnotes (or endnotes) for the initial submission. ... of course,
they usually demand a .doc file as well, so i don't bother with the
spacing stuff until after the conversion. even so, this would be a
useful feature in certain cases.

cheers,
jon.

Lars Madsen

unread,
Sep 18, 2010, 2:40:40 PM9/18/10
to

but the question is, should it enable double space everywhere or only in
certain places, e.g. in footnotes but not in captions?

/daleif

Alan Munn

unread,
Sep 18, 2010, 3:02:53 PM9/18/10
to
In article <4c950386$0$50444$1472...@news.sunsite.dk>,
Lars Madsen <dal...@imf.au.dk> wrote:

> >>> Alan
> >> I'm considering adding a starred version of say \OnehalfSpacing that
> >> enables the extra spacing in captions and page notes as well
> >
> > I don't really have a dog in this fight, but I can see the utility of
> > having double spaced footnotes, and at the same time single spaced
> > captions, for example. Since the \captiontitlefont already provides the
> > hook for double spacing captions, wouldn't it be better to just add a
> > hook for footnotes instead of an all or nothing choice?
> >
> > Alan
>
> I think it will be sufficient with an all or nothing switch. Too much
> choice is not always the best thing.

Maybe. I would bet that double spaced footnotes would be a much more
common requirement than double spaced everything, though.

>
> (I still do not understand those places where they require students to
> hand in their work in double space, which century are they living in?)

With respect to turning in a final version of a thesis, I agree. But for
work that students turn in to me as drafts, I much prefer a wider
spacing since it allows me to correct on the printed page. If that puts
me in the wrong century, so be it. Electronic commenting has its
places, but it's much faster to use a pen and paper (not to mention it's
still easier to read things in paper form.)

Alan

Lars Madsen

unread,
Sep 18, 2010, 3:16:10 PM9/18/10
to

no I see the point in drafts, but as far as I remember several
universities in the US still require students to hand in the final
product in double spacing, and that is IMO old fashioned.

jon

unread,
Sep 18, 2010, 3:34:42 PM9/18/10
to

well, i've seen both 'everything, including captions (and the like)'
and simply just 'everything, including notes', which is more
ambiguous. i would imagine that, in the second case, no one would
mind if the captions were also double-spaced. (but i've never
submitted anything with captions so i can be certain.)

cheers,
jon.

Tariq

unread,
Sep 18, 2010, 4:09:27 PM9/18/10
to
On Sep 18, 3:16 pm, Lars Madsen <dal...@imf.au.dk> wrote:
> Alan Munn wrote:

>
> no I see the point in drafts, but as far as I remember several
> universities in the US still require students to hand in the final
> product in double spacing, and that is IMO old fashioned.

Unfortunately this is true with not just a few schools but with almost
all universities here in the US. You can also see this reflected in
all the style packages submitted to CTAN for thesis/dissertation that
conform to such obsolete requirements. I have never understood the
logic for such requirement these days, except that it probably made
sense in the days of typewriter. With typewriter, since the "final"
copy also had to be proofread prior to submission, it was indeed very
convenient to have ample line spacing. Seems to me this is one of
those vestiges that is going to be with us for some time to come. On
the same note, while it is wonderful to be enjoying the company of
typophiles and the like on this forum, the general academia (at least
here in the US) is woefully ignorant of the aesthetic value of an
elegantly typeset work. I have seen entire dissertations written in
typefaces that are among the ugliest that were ever installed on
computer. And this is when better typefaces are easily available. In
such environment, line spacing is the last thing to be crying about.
No wonder, Knuth is a such a rarity in the academia in the States. One
can always hope things will improve.

Tariq

Joris

unread,
Sep 18, 2010, 4:10:10 PM9/18/10
to
On Sep 18, 3:16 pm, Lars Madsen <dal...@imf.au.dk> wrote:
> Alan Munn wrote:
> > In article <4c950386$0$50444$14726...@news.sunsite.dk>,

several=pretty much all

Lars Madsen

unread,
Sep 18, 2010, 4:25:54 PM9/18/10
to

that bad?

where I work we have no rules at all! a part from a few regulations as
to which information is needed on the cover and that a thesis need to
have an english abstract (no requirement for one in Danish)

This often confuse students because they do not know what to do with
this freedom. So I'm a fan of guidelines but not rules. If a students is
very creative then they should be able to use that creativity and we
have hand a few students that produced a really beautiful thesis.

Does anyone know why this is still the so common in the US?

I usually advise our students to take a little care (as time permits) to
make their thesis look good (I help a lot of them go over their thesis
before submission) because it might very well be the last big project
they write, and one would like something nice to take down from the
shelf and show to friends and family.

/daleif


Joris

unread,
Sep 18, 2010, 5:33:12 PM9/18/10
to

Actually, I just looked at the guidelines of my employer (Penn State)
and the rules are pretty mild. They (now?) do allow for various
spacing (1, 1.5, 2) and the requirements on the typeface are just that
the main text is in 10, 11, or 12 point type in `a standard typeface,'
although there is a minimum size requirement on footnotes, tables,
etcetera, because theses get put onto microfilm. There are some
requirements on what should go in front, but these are sensible.

Tariq

unread,
Sep 18, 2010, 5:51:20 PM9/18/10
to
On Sep 18, 4:25 pm, Lars Madsen <dal...@imf.au.dk> wrote:

>
> that bad?
>

Yep, that bad!

> where I work we have no rules at all! a part from a few regulations as
> to which information is needed on the cover and that a thesis need to
> have an english abstract (no requirement for one in Danish)
>
> This often confuse students because they do not know what to do with
> this freedom. So I'm a fan of guidelines but not rules. If a students is
> very creative then they should be able to use that creativity and we
> have hand a few students that produced a really beautiful thesis.
>
> Does anyone know why this is still the so common in the US?
>
> I usually advise our students to take a little care (as time permits) to
> make their thesis look good (I help a lot of them go over their thesis
> before submission) because it might very well be the last big project
> they write, and one would like something nice to take down from the
> shelf and show to friends and family.
>

The rules for thesis/dissertation "format" are so strict and enforced
in such a draconian fashion (in pretty much all schools) that students
are required to have a "format check" usually several weeks ahead of
the deadline for final submission. This format check is performed by
bunch of low-level bureaucrats ("clerk" in other English-speaking
countries) who are employees of the graduate schools and who
microscopically look at every single detail for strict conformity
(line spacing, which off course means double-spacing, margins and
whatnot). I have seen students agonizing over this format nonsense
more than they agonize over the the actual writing and intellectual
aspect of their work!

It is true that left to themselves, many students perhaps will not
know how to format their thesis properly. But these guidelines should
be just guidelines and if students need help they can consult these
guidelines. I feel that students should be given more freedom in being
a bit creative in this regard. After all, their research is their
creative contribution.

Tariq

Ross Maloney

unread,
Sep 18, 2010, 11:29:44 PM9/18/10
to

As far as I see, this is also the situation in Australia. The
university where I did my work required one and a half or double
spacing, even in the final bound document and electronic version
deposited after passing examination.

Selection of font, left-right justification, page headings, etc. etc.
adds to the presentation of the document. It is the one doument the
majority of candidates will retain on their bookshelf for the remainder
of their life. It is something they can whip-out and say "this is the
quality of document I am able to produce", and in most cases today,
this is true since they have typed (or keyed) it in themselves. THE BIG
PROBLEM is ignorance: Academic know, academic foster. It is good to
hear the US is in the same state of knowledge as Australia. My
university wants to retain its state ignorance. It is interesting
talking to students who say: "Why were we not told". But having tutored
those same students, the answer is: "Oh, that is to hard". Is there a
theme appearing here?

Ross

Lars Madsen

unread,
Sep 19, 2010, 4:04:46 AM9/19/10
to

> I don't really have a dog in this fight, but I can see the utility of
> having double spaced footnotes, and at the same time single spaced
> captions, for example. Since the \captiontitlefont already provides the
> hook for double spacing captions, wouldn't it be better to just add a
> hook for footnotes instead of an all or nothing choice?
>
> Alan

hmm, what about table contents versus captions, which should be spaced
and which should not?

This is turning out to be a rather complicated question

/daleif

Alan Munn

unread,
Sep 19, 2010, 10:48:55 AM9/19/10
to
In article <4c95c41f$0$50442$1472...@news.sunsite.dk>,
Lars Madsen <dal...@imf.au.dk> wrote:

True. My experience with thesis guidelines at least is that tables of
contents are always single spaced. But who knows what craziness is
actually out there.

There is, however, a fairly logical basis to double spacing footnotes
(in the context of double spaced text overall) since they are also
regular textual material.

Alan

Tariq

unread,
Sep 19, 2010, 12:47:16 PM9/19/10
to
On Sep 19, 10:48 am, Alan Munn <am...@msu.edu> wrote:

>
> > This is turning out to be a rather complicated question
>
> True.  My experience with thesis guidelines at least is that tables of
> contents are always single spaced.  But who knows what craziness is
> actually out there.
>
> There is, however, a fairly logical basis to double spacing footnotes
> (in the context of double spaced text overall) since they are also
> regular textual material.

What I recall from my own dissertation is something similar to what
Alan alluded to: the table of contents/list of figures and tables etc
were single-spaced but everything else (including captions/
bibliography) were double-spaced.

The only thing I can think of that might have enforced such outdated
requirement about line spacing is that until a few years ago when
electronic submission of thesis/dissertation (as pdf format) became
the norm, the universities (at least in the US) were required to
submit one copy of dissertation for microfilm production. A firm based
in Ann Arbor, Michigan was authorized
for this. I have a feeling that this firm had its own requirement
regarding the precise format the dissertation needed to be. You could
also buy a bound copy of your dissertation (after paying an insanely
hefty price, of course) from them. These bound copies were made after
capturing a camera-copy of the dissertation and were magnified by a
factor of 0.5 to 0.75. This magnification factor might have required
double spacing of lines, perhaps.

Anyway, even if this were the reason, such requirements should already
have been eased since all dissertation submissions are electronic and
pdf formats are available online; there is no need for microfilm any
more.

Tariq

Joris

unread,
Sep 20, 2010, 9:45:14 AM9/20/10
to

It is my impression that requirements have weakened in the fairly
recent past.

Dan Luecking

unread,
Sep 20, 2010, 3:26:54 PM9/20/10
to
On Sat, 18 Sep 2010 14:33:12 -0700 (PDT), Joris <pin...@gmail.com>
wrote:

U. of Arkansas asks only that they "conform to accepted
typographical standards of their discipline". Unhappily,
few students know what to do with this requirement.

> There are some
>requirements on what should go in front, but these are sensible.


Dan
To reply by email, change LookInSig to luecking

0 new messages