[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: paper-defaults-init.ly questions
From: |
Carl Sorensen |
Subject: |
Re: paper-defaults-init.ly questions |
Date: |
Sat, 4 Dec 2010 15:44:54 -0700 |
On 12/4/10 3:36 PM, "Mark Polesky" <address@hidden> wrote:
> David Kastrup wrote:
>>> We can define all of these as exact quantities:
>>>
>>> guile> (define mm 1)
>>> guile> (define cm (* 10 mm))
>>> guile> (define in (* 254 (/ mm 10)))
>>> guile> (define pt (/ (* 100 in) 7227))
>>
>> Probably nice.
>
> This is easier to read, and numerically the same, right?
Yes, very nice! I had forgotten that fractions were exact, too.
>
> (define mm 1)
> (define cm (* 10 mm))
> (define in (* 254/10 mm))
> (define pt (* 2540/7227 mm))
You might want to consider
(define pt (* 100/7227 in))
Since the point is defined in terms of inches, instead of mm.
Thanks,
Carl
- paper-defaults-init.ly questions, Mark Polesky, 2010/12/01
- Re: paper-defaults-init.ly questions, Patrick McCarty, 2010/12/02
- Re: paper-defaults-init.ly questions, David Kastrup, 2010/12/03
- Re: paper-defaults-init.ly questions, Mark Polesky, 2010/12/03
- Re: paper-defaults-init.ly questions, David Kastrup, 2010/12/03
- Re: paper-defaults-init.ly questions, Carl Sorensen, 2010/12/03
- Re: paper-defaults-init.ly questions, David Kastrup, 2010/12/03
- Re: paper-defaults-init.ly questions, Mark Polesky, 2010/12/04
- Re: paper-defaults-init.ly questions,
Carl Sorensen <=
- Re: paper-defaults-init.ly questions, Mark Polesky, 2010/12/04
- Re: paper-defaults-init.ly questions, Carl Sorensen, 2010/12/04
- Re: paper-defaults-init.ly questions, David Kastrup, 2010/12/04
- Re: paper-defaults-init.ly questions, Carl Sorensen, 2010/12/04
- Re: paper-defaults-init.ly questions, David Kastrup, 2010/12/05
Re: paper-defaults-init.ly questions, Mark Polesky, 2010/12/04