Just curious why \doublespacing seems broken in a minimal document. It works ok when the documentclass is set to article.







First error is

! Undefined control sequence.

\setstretch ...ef \baselinestretch {#1}\@currsize 

setspace depends on \@currsize being set by the documentclass to set the current font size. The minimal document class is very minimal and doesn't contain this macro. It doesn't even have things like \large.

  • 2
    Indeed, the minimal class is unfortunately pretty bad at supporting a lot of standard stuff, hence the recommendation that minimal examples should not use it! – Joseph Wright May 12 '11 at 16:29

The UC Berkeley thesis class (and apparently others) have this problem as well. A workaround is to include the following code before using the spacing commands from setspace:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.