relsize package does not work

373 views
Skip to first unread message

Michael Rudolf

unread,
Jun 19, 2009, 7:35:54 AM6/19/09
to tufte-latex
Hi,

It seems that the relsize package does not function properly when used
in conjunction with the tufte-book and tufte-handout document classes.
However, it works when using the article document class. Here is the
relevant piece from the log file:


(/usr/share/texmf-dist/tex/latex/ltxmisc/relsize.sty
Package: relsize 2003/07/04 ver 3.1

! Undefined control sequence.
<argument> \@xxivpt

l.74 \@tempa\Huge

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
p
l.74 \@tempa\Huge

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)


Package relsize Warning: Failed to get list of font sizes.
(relsize) Falling back to old definition. on input line
81.


Best regards,
Michael

Kevin Godby

unread,
Jun 19, 2009, 7:12:43 PM6/19/09
to tufte...@googlegroups.com
Hello, Michael.

On Fri, Jun 19, 2009 at 6:35 AM, Michael
Rudolf<s060...@mail.inf.tu-dresden.de> wrote:
>
> Hi,
>
> It seems that the relsize package does not function properly when used
> in conjunction with the tufte-book and tufte-handout document classes.
> However, it works when using the article document class. Here is the
> relevant piece from the log file:

Thanks for reporting this. I've fixed it in svn.

If you look for this line in tufte-common.sty:

\renewcommand\Huge{\@setfontsize\Huge\@xxivpt{36}}

and change it to this:

\renewcommand\Huge{\@setfontsize\Huge{24}{36}}

then relsize should work again. (Well, I've only tested that the
package loads and the documents still compile; I haven't tried the
relsize commands yet.)

Please let me know if you continue to have problems with this.

Thanks!

--Kevin

Michael Rudolf

unread,
Jun 20, 2009, 7:00:40 AM6/20/09
to tufte-latex
Hi,

> If you look for this line in tufte-common.sty:
>
>   \renewcommand\Huge{\@setfontsize\Huge\@xxivpt{36}}
>
> and change it to this:
>
>   \renewcommand\Huge{\@setfontsize\Huge{24}{36}}
>
> then relsize should work again.  (Well, I've only tested that the
> package loads and the documents still compile; I haven't tried the
> relsize commands yet.)

It works, wonderful!

Best regards,
Michael
Reply all
Reply to author
Forward
0 new messages