Received: by nummer-3.proteosys id <01C19443.9BB9558C@nummer-3.proteosys>; Thu, 3 Jan 2002 11:44:23 +0100 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.9BB9558C" x-vm-v5-data: ([nil nil nil nil nil nil nil nil nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: {1} LaTeX3 note for Frank Mittelbach and Chris Rowley Date: Tue, 25 Feb 1992 11:52:58 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Rainer Schoepf" Sender: "LaTeX-L Mailing list" To: "Multiple recipients of" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 588 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.9BB9558C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This message was originally sent by R. Bernstein (rocky@watson.ibm.com). I redistribute it for the benefit of the project. Rainer ----------------------------Original message---------------------------- A common error made by LaTeX novices is to specify the default point size explicitly. That is: \documentstyle[10pt]{article} I suppose the error message that LaTeX gives: ! I can't find file `10pt.sty'. does make sense, because in these cases there really is no file called 10pt.sty. But slightly more experienced users know that for an 11pt article style `art11.sty' what is used, etc. And confusion = sets in again... I am not sure what the rationale for disallowing one to specify the default point size explicitly. In addition to the common novice error described above, by not allowing the default point size explicitly changing the point size is a tad harder---it is easier to say to change = the `2' in `12pt' to `0' than it is to delete 12pt altogether and also the brackets if this is the only style option given. (Fortunately, the form \documentstyle[]{article} is acceptable.) But the coding change to article.sty (and other styles) is trivial. It is given below. < \def\@ptsize{0} \@namedef{ds@11pt}{\def\@ptsize{1}} < \@namedef{ds@12pt}{\def\@ptsize{2}} --- > \def\@ptsize{10} \@namedef{ds@11pt}{\def\@ptsize{11}} > \@namedef{ds@12pt}{\def\@ptsize{12}} > \@namedef{ds@10pt}{\def\@ptsize{10}} 11c12 < \input art1\@ptsize.sty\relax --- > \input art\@ptsize.sty\relax In fact the change could be made even smaller. I feel it is clearer to have \@ptsize refer to the point size rather than the last digit of the point size whose first digit is assumed to be `1'. And what if one wanted to write style options for point size x where x < = 10pt or (x>19) and (x<99)? But I guess this is getting onto another topic... Perhaps LaTeX 3 will be more liberal and general in its coding here? R. Bernstein (rocky@watson.ibm.com) ------_=_NextPart_001_01C19443.9BB9558C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable {1} LaTeX3 note for Frank Mittelbach and Chris = Rowley

This message was originally sent by R. Bernstein = (rocky@watson.ibm.com).
I redistribute it for the benefit of the project. = Rainer
----------------------------Original = message----------------------------

A common error made by LaTeX novices is to specify the = default point
size explicitly. That is:

\documentstyle[10pt]{article}

I suppose the error message that LaTeX gives:
   ! I can't find file `10pt.sty'.
does make sense, because in these cases there really = is no
file called 10pt.sty. But slightly more experienced = users know that
for an 11pt article style `art11.sty' what is used, = etc. And confusion sets
in again...

I am not sure what the rationale for disallowing one = to specify the
default point size explicitly. In addition to the = common novice error
described above, by not allowing the default point = size explicitly
changing the point size is a tad harder---it is = easier to say to change the
`2' in `12pt' to `0' than it is to delete 12pt = altogether and also the
brackets if this is the only style option given. = (Fortunately,
the form \documentstyle[]{article} is = acceptable.)

But the coding change to article.sty (and other = styles) is
trivial. It is given below.

< \def\@ptsize{0} = \@namedef{ds@11pt}{\def\@ptsize{1}}
< \@namedef{ds@12pt}{\def\@ptsize{2}}
---
> \def\@ptsize{10} = \@namedef{ds@11pt}{\def\@ptsize{11}}
> \@namedef{ds@12pt}{\def\@ptsize{12}}
> \@namedef{ds@10pt}{\def\@ptsize{10}}
11c12
< \input art1\@ptsize.sty\relax
---
> \input art\@ptsize.sty\relax

In fact the change could be made even smaller. I feel = it is
clearer to have \@ptsize refer to the point size = rather than the last
digit of the point size whose first digit is assumed = to be `1'. And
what if one wanted to write style options for point = size x where x < 10pt or
(x>19) and (x<99)?  But I guess this is = getting onto another topic...

Perhaps LaTeX 3 will be more liberal and general in = its coding here?

R. Bernstein (rocky@watson.ibm.com)

------_=_NextPart_001_01C19443.9BB9558C--