• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quark Paragraph Numbers and other QuarkNewbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark Paragraph Numbers and other QuarkNewbie Questions


  • Subject: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 20 Nov 2000 10:51:35 +1100

On 20/11/00 10:28 AM +1000, Xandra Lee, email@hidden, wrote:

> set oldSize to size of (first character of the selection)
> my reduceSize(oldSize, reduceBy)
> set newSize to the result
> set size of ((first character of every paragraph) of the selection) to
> newSize

You're doing some unnecessary work there. Just use:

set oldSize to size of (first character of the selection) as real
set size of ((first character of every paragraph) of the selection) to
(oldSize - reduceBy)

QXP lets you coerce freely between units and numbers, and if given a real
for type size assumes you mean points.

Als, you don't have to use option-spaces in things like "10 pt" (it's used
in results because QXP uses it that way in its palettes, where the smaller
type makes a normal space almost disappear).

--
Shane Stanley, email@hidden


References: 
 >Re: Quark Paragraph Numbers and other QuarkNewbie Questions (From: Xandra Lee <email@hidden>)

  • Prev by Date: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • Next by Date: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • Previous by thread: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • Next by thread: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • Index(es):
    • Date
    • Thread