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

Why does latex not have /magnification?

740 views
Skip to first unread message

unruh

unread,
Jul 9, 2012, 1:30:15 AM7/9/12
to
Why does latex not havee the equivalent of the \magnification command in
tex? From what I read, you can use [10pt], [11pt] or [12pt] commands
(and no bigger) or use the slides class but that hardly makes up the
flexibility of the magnification in tex.

On a slightly tangential topic, why are the number so horrible in the
slides class? (the superscripts especially for the numbers become a too
large san serif set of ugly numbers in the slides class)

terryc

unread,
Jul 9, 2012, 2:52:30 AM7/9/12
to
On 09/07/12 15:30, unruh wrote:
> Why does latex not havee the equivalent of the \magnification command in
> tex?

Like \Huge \huge \lagre ........\tiny?

or \scale or \rescale or whatever else is avaialble.

Paweł Wlaź

unread,
Jul 9, 2012, 3:53:03 AM7/9/12
to


On Mon, 9 Jul 2012, unruh wrote:

> Why does latex not havee the equivalent of the \magnification command in
> tex? From what I read, you can use [10pt], [11pt] or [12pt] commands
> (and no bigger) or use the slides class but that hardly makes up the
> flexibility of the magnification in tex.

I think it has, but it is not "recomended". Write

\mag=1500

at the begining of your latex file and pdflatex it. It works, it
scales, the pdf file looks as you would expect.

You can even use \usepackage[width=17truecm,height=25truecm]{geometry}
and the "truecm" will be honoured.

Pawel

Nicola Talbot

unread,
Jul 9, 2012, 5:00:12 AM7/9/12
to
On 09/07/12 06:30, unruh wrote:
> Why does latex not havee the equivalent of the \magnification command in
> tex? From what I read, you can use [10pt], [11pt] or [12pt] commands
> (and no bigger)

The extsizes package provides additional options, such as [17pt] and
[20pt]. As long as you're using a scalable font, you can adapt one of
the sizexx.clo files. The a0poster class provides even larger fonts.

> or use the slides class but that hardly makes up the
> flexibility of the magnification in tex.
>
> On a slightly tangential topic, why are the number so horrible in the
> slides class? (the superscripts especially for the numbers become a too
> large san serif set of ugly numbers in the slides class)

The slides class is very old. I suggest you use a modern alternative,
such as beamer.

Regards
Nicola Talbot
--
Home: http://theoval.cmp.uea.ac.uk/~nlct/
LaTeX Related Information: http://theoval.cmp.uea.ac.uk/~nlct/latex/
Creating a LaTeX Minimal Example:
http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/

Markus Kohm

unread,
Jul 9, 2012, 6:22:09 AM7/9/12
to
unruh (Montag, 9. Juli 2012 07:30):

> From what I read, you can use [10pt], [11pt] or [12pt] commands
> (and no bigger)

This is very old fashioned. See, e.g., KOMA-Script manual, scrguien.pdf
<http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf>,
section 3.5 (to use a KOMA-Script class) or section 9.5 (to use another
class), or memoir manual
<http://mirror.ctan.org/macros/latex/contrib/memoir/memman.pdf>, section
1.2.

Robin Fairbairns

unread,
Jul 9, 2012, 8:18:42 AM7/9/12
to
indeed. the range of font sizes (in the "standard" latex classes) is
limited to those that lamport provided in his first "stable" latex,
deliberately.

as markus says, there are two excellent distributions that provide
alternatives to the latex standard classes. i would recommend using the
alternative classes in preference to packages that make extra sizes
available on the standard class of your choice.
--
Robin Fairbairns, Cambridge
sorry about all this posting. i'll go back to sleep in a bit.

unruh

unread,
Jul 9, 2012, 5:11:47 PM7/9/12
to
On 2012-07-09, Nicola Talbot <n.ta...@uea.ac.uk> wrote:
> On 09/07/12 06:30, unruh wrote:
>> Why does latex not havee the equivalent of the \magnification command in
>> tex? From what I read, you can use [10pt], [11pt] or [12pt] commands
>> (and no bigger)
>
> The extsizes package provides additional options, such as [17pt] and
> [20pt]. As long as you're using a scalable font, you can adapt one of
> the sizexx.clo files. The a0poster class provides even larger fonts.
>
>> or use the slides class but that hardly makes up the
>> flexibility of the magnification in tex.
>>
>> On a slightly tangential topic, why are the number so horrible in the
>> slides class? (the superscripts especially for the numbers become a too
>> large san serif set of ugly numbers in the slides class)
>
> The slides class is very old. I suggest you use a modern alternative,
> such as beamer.

I am using klatexformula and altering the source code to put in slides
class so that the symbols are of reasonable size when inserted into
Impress. The \mag= works. Thanks. Much better than having to keep
recompiling if I want something else.

unruh

unread,
Jul 9, 2012, 5:13:06 PM7/9/12
to
On 2012-07-09, Pawe? Wla? <pw...@mat.pol.lublin.pl> wrote:
>
>
> On Mon, 9 Jul 2012, unruh wrote:
>
>> Why does latex not havee the equivalent of the \magnification command in
>> tex? From what I read, you can use [10pt], [11pt] or [12pt] commands
>> (and no bigger) or use the slides class but that hardly makes up the
>> flexibility of the magnification in tex.
>
> I think it has, but it is not "recomended". Write
>
> \mag=1500
>
> at the begining of your latex file and pdflatex it. It works, it
> scales, the pdf file looks as you would expect.

That works. Thanks. (This is for use in klatexformula).

Why is it not recommended?

Paweł Wlaź

unread,
Jul 10, 2012, 8:44:57 AM7/10/12
to


On Mon, 9 Jul 2012, unruh wrote:

> On 2012-07-09, Pawel Wlaz <pw...@mat.pol.lublin.pl> wrote:
>>
>> On Mon, 9 Jul 2012, unruh wrote:
>>

[ . . . ]
>>
>> I think it has, but it is not "recomended". Write
>>
>> \mag=1500

[ . . . ]

>
> That works. Thanks. (This is for use in klatexformula).
>
> Why is it not recommended?
>

I am not sure. I never saw anyone recomend it, that is all. I use it,
it's handy sometimes.

Pawel

corporal

unread,
Jul 11, 2012, 1:09:21 AM7/11/12
to
On Monday, 9 July 2012 15:30:15 UTC+10, unruh wrote:
>> Why does latex not have the equivalent of the \magnification command in
>> tex?

Some time later

> \mag=1500 -- recommended by Pawel

>> That works. Thanks. (This is for use in klatexformula).
>> Why is it not recommended?

>I am not sure. I never saw anyone recomend it, that is all. I use it,
>it's handy sometimes.

>Pawel

\magnification is a command in plain TeX that was disabled by the designer of LaTeX. The def of \magnification relies on \mag (or \m@g)
\mag is a primitive TeX command and as far as I know, can't be disabled. It is rare to use \mag in a LaTeX doc, but here is an example in a standard LaTeX distribution, in MFPIC.

% File: lapictures.tex
% A part of mfpic 1.06 2011/03/08
%
% Magnify to same scale as pictures.tex :
% (Use of \mag is against the law of LaTeX, but Bugs Bunny set a precedent.)
\mag=1200
\documentclass{article}

%%!!!!!!!!!!!!!!!!!!!!!!!!!!!
% adjust these to your liking:
\setlength{\paperheight}{11truein}
\setlength{\paperwidth}{8.5truein}

. . .

-- the file then goes on to give code to draw some mfpic diagrams.
Notice the use of TRUE for the lengths.

-----------
From Lamports book on LaTeX2e (1994) page 233:

The \magnification command of Plain \TeX has no counterpart in \LaTeX. Magnification of the output can often be done by the program that prints the dvi file.
-----------

I miss using \magnification but I think it was disabled in LaTeX to make margin formatting and other lengths work harmoniously.

regards from Corporal
0 new messages