> From: "avr" <[EMAIL PROTECTED]>
> Date: Tue, 30 Mar 1999 18:05:35 +0200

> I am trying to understand the mechanism for the pagelayout when making
> scores. I suppose it is not possible to have a layout that is
> suitable for all resolutions of fonts, PS, DVI, pageformats...

Not for all, but I just mailed some proposals for a common page layout
which may be used with A4 *and* letter, which supplies 10 mm margins
on all sides.

> My aim is to put the score in the center of the page, but when changing the
> hight of the page, dvips does no more center the layout.

The pages are centered horizontally when using A4 and vertically when
using letter :-(

But this may be corrected by the user. If he uses A4 with a dvi-driver
or dvips he may cut 1.8 cm from the bottom or the top respectively.
If he uses letter he may cut 6 mm from the right side :-)

Maybe that this does not work with double side printing :-(


> 0.2. Postscript features (based on dvips en gsview)
>      - the reference point is lower left on the page
>      - if not default use the option:
>           DVIPS.EXE -e0 -t letter %1
>      or  DVIPS.EXE -e0 -t A4 %1

-e0 has nothing to do with the page layout, but with some rounding(?)

[...]
> 1.1.1. A4 : \hsize=210mm\vsize=297mm

No, that's 20mm too much, because of the margins. So

         A4:  \hsize 190mm\vsize 277mm
         
> 1.1.2. Letter : \hsize=8.5in\vsize=11in

dto.     Letter:  \hsize 8.5in\advance\hsize-20mm\vsize 11in\advance\vsize-20mm
         
> 1.1.3. A4 and letter : \hsize=190mm\vsize=259mm
 
> 1.2. \advance\hsize-20mm\advance\vsize-20mm

O yes, here it is: but if you use this in general you must use:

         A4 and letter:  \hsize 210mm\vsize 11in


> If a score does not fill the whole page, one could use larger margins,
> i.e. the default margins of Latex (or Tex?)

It's the default margin of 1 in introduced at the very beginning of TeX.
(I hope I'm right)

-- Werner

Reply via email to