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
--
/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
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)
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.
> 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
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.
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.
> 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
That works great, Alan, thanks!
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.
then what about footnotes?
Had no footnotes yet---thank you for your kind help too!
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
> 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
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?)
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.
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
> >> 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
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.
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.
>
> 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
several=pretty much all
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
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.
>
> 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
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
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
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
>
> > 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
It is my impression that requirements have weakened in the fairly
recent past.
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