Publishers of technology books, eBooks, and videos for creative people

Home > Articles

Tools of the Trade

This chapter is from the book

This chapter is from the book

Frames, Dashes, and Stripes

There are times when you want to put a picture on your wall with a frame, and there are times when you just tape it up frameless. When you're making pages, there are times when you want a frame around a text, picture, or contentless box, and there are times when you don't. Similarly, there are times when you want to apply a custom line style to a path (see "Lines and Arrows," earlier in this chapter).

In this section, I explore how to place borders around boxes and then how to build custom line styles that you can use either as frames on boxes or as line styles.

Frames

All boxes have frames, but by default the frame thickness is zero width, which is the same as no frame at all. You can add a frame to a box by selecting it, choosing Frame from the Item menu (or pressing Command-B or Ctrl-B), and then increasing the frame thickness to anything above zero.

The Frame tab of the Modify dialog box contains fields and popup menus that let you specify the weight, color, gap color, shade, and line style of your frame (see Figure 3-69). Color and shade are self-explanatory, but I should talk a little about frame styles, gap color, and thickness.

3_69_frame_tab.jpg

Figure 3-69 The Frame tab of the Modify dialog box

Frame style. In addition to the normal solid black line, XPress offers 10 PostScript-styled frames and nine bitmapped frames (see Figure 3-70). I encourage you to avoid the bitmapped frames with names like Yearbook, Deco Shadow, and Maze. These frames generally print incredibly slowly and often look jaggy because they're based on black-and-white bitmapped images rather than smooth, PostScript vector lines (see "Frame Editor," below, as well as Chapter 9, Pictures, for more information on bitmapped versus vector images). These bitmapped frames are only available on rectangular boxes anyway; if you select a Bézier, oval, beveled, or photo-frame-shaped box, the bitmapped frames disappear.

3_70_default_frame.jpg

Figure 3-70 Default frame styles

Earlier versions of QuarkXPress for Windows didn't have these bitmapped frames, but for the sake of consistency Quark added them to version 4. I would have been just as happy if they left them out. However, if you do use one of them, I encourage you to choose the frame thickness that is outlined in the Width popup menu; any other width may look odd or cause trouble at print time.

The PostScript lines are made up of dashed or striped lines. I describe how you can edit these or make your own below.

Gap color. All the PostScript frame styles (other than the basic solid line) have gap areas—dashed lines have gaps between the dashes, stripes have gaps between the stripes. The Gap section of the Frame tab lets you specify what color those gaps should be. At first, this feature appears really frivolous and designed for silly special effects. But on closer inspection, you'll see that it's actually a quite important role when using these frame styles because it lets you choose whether the gap should be transparent (color of None) or opaque (any other color; see Figure 3-71).

3fig71.gif

Figure 3-71 Gap color

Frame weight. Quark calls the thickness of a frame its "width." I'm used to calling it the weight. No matter what you call it, it's the thickness of the line making up the frame. And, similar to lines, if the line weight is not thick enough, the frame style may not show up properly (a triple line set to 0.5 point generally comes out looking just like a single 0.5-point line).

Frames can grow from the box edge in, or from the box edge out. That is, a 10-point frame is measured from the edge of the box to either the outside or inside. This is different from lines: their weight is measured from their center (a 10-point line falls 5 points on one side of the line and 5 points on the other).

You can control which side of the box edge the frame falls on with the Framing popup menu in the Preferences dialog box (from the Edit menu, or press Command-Shift-Option-Y or Ctrl-Alt-Shift-Y). Choosing Inside from this menu places frames on the inside of boxes; Outside places them on the outside. The confusing thing is that even when you have Frames set to Outside, the frame looks like it's falling on the inside. That's because QuarkXPress actually makes the box itself a little bigger to set the frame correctly as though it were an Inside frame. I think this method is sort of a pain in the butt, so I always leave it set to Inside.

Note that you can create a frame on a box while in the Inside mode, then change the mode to Outside, and subsequent frames are built on the outside of boxes (or vice versa). Existing boxes don't change when you change the preferences.

3fig72.gif

Figure 3-72 Typographic borders

3fig74.gif

Figure 3-74 When good tricks go bad

Creating Custom Dashes and Stripes

Those dashed and striped PostScript patterns that you can use as frames around boxes or as line styles are great, but no matter which one I pick, I find myself wanting to change it, if even just a little. This may be my own peculiar compulsive nature (I prefer to think of it as my "style"), but fortunately, QuarkXPress lets me tweak these styles to my heart's content with the Dashes & Stripes feature.

To create your own line style, or to edit one of the built-in styles, select Dashes & Stripes from the Edit menu (see Figure 3-75). Like style sheets, H&J settings, and colors (each of which I discuss later in this book), when you edit Dashes & Stripes while a document is open, the change applies to that document only. If no documents are open when you make a change, it applies to all new documents that you create from then on, but not to previously saved documents.

3_75_dashes_and_stripes.jpg

Figure 3-75 The Dashes & Stripes dialog box

Dashes. To create a new dash style, select Dash from the popup menu that appears when you click on the New button (the button is actually a popup menu in disguise). The Edit Dash dialog box appears complex at first, but, like most features in QuarkXPress, it's easy if you take it one piece at a time.

  • Ruler Area. Dashes are defined by a repeating pattern of segments. For instance, a basic dash is made of two segments: a solid line followed by a gap. A more complex line might be made by combining two or three different-length lines separated by gaps (see Figure 3-76). The ruler area at the top of the Edit Dash dialog box lets you specify the size of these segments. To specify the beginning or ending point of a segment, click in the ruler; or you can define the full length of a segment by clicking and dragging. (The values in the ruler change depending on the Repeat Every popup menu setting; see below.)
    3_76a_dashes.jpg

    Figure 3-76 Dashes

    If you like the length of a segment, but not where it sits in the full length of the pattern, you can click on the segment itself (as opposed to the arrow markers in the ruler) and drag it to the left or to the right. Note that the only time you would want to add more than a single segment marker is if you want a non-regular pattern—that is, a pattern like "thin, thick, thin, thick," and so on.
  • Position. If you click on one of the segment markers in the ruler area, its value appears in the Position field. You can also add a segment marker to the ruler by typing a value here and clicking Add. I find this much more efficient than clicking and dragging in the ruler area, though the interactive method is usually more fun.
  • Preview. You can see approximately how the dash pattern will appear in the Preview area of the dialog box. The slider control to the left of the preview line lets you see how the pattern appears in thinner or thicker lines. Remember, however, that you're still only seeing a low-resolution screen preview of the dash; often, especially in dash patterns with really thin lines, what you see on-screen may be significantly different from what you get on paper.
  • Repeats Every. Contrary to intuition, the Repeats Every control lets you set the length of the repeating pattern. There are two options in the popup menu to the right of the Repeats Every field: "Times Width" and "Points." When this is set to "Times Width" (it is by default), the length of the pattern is determined by the thickness of the line or frame—so as the line gets thicker, the pattern becomes longer (see Figure 3-77). For instance, let's say you set Repeats Every to 3. If you apply this to a 6-point-thick line, the pattern you specify in the ruler area is 18 points long (3 x 6). If you decrease the line weight to 3 points, the dash reduces, too, to 9 points (3 x 3).
    3fig77.gif

    Figure 3-77 Repeat Every

    On the other hand, you may not want the distance between the patterns to shift when you change the line weight. You can accomplish this by changing the popup menu to "Points." Now, the Repeats Every value specifies an absolute width for the pattern—if you say the pattern is 10 points long, that's how long it'll be (see "Stretch to Corners").
  • Miter. The Miter setting determines what the line style does when it hits a corner. If you apply this dash only to a smooth line or a rounded-corner box, the Miter control has no effect at all. There are three options in the Miter popup menu: sharp corner, rounded corner, and beveled corner (see Figure 3-78). (Miter is actually controlled by PostScript itself, not QuarkXPress.)
  • Endcap. Endcap is another PostScript-level feature, and it lets you choose the look of each line segment within the dash (see Figure 3-79). The basic distinction is square ends versus round ends, though you also have the choice of whether the endcap extends past the edge of the segment.
    3fig79.jpg

    Figure 3-79 Endcap

  • Stretch To Corners. When you turn on the last control in the Edit Dash dialog box, Stretch to Corners, you're giving QuarkXPress the leeway to adjust the Repeat Every setting so that your pattern reaches from one end of your path to the other, or from one corner of your frame to another (see Figure 3-80). For instance, imagine XPress repeating the pattern along your line; when it gets to the end, it might only be able to fit half the pattern in. If Stretch to Corners is on, the program adjusts the pattern. In general, it adjusts it so slightly that you wouldn't even notice, though it is obvious on occasion, depending on the pattern, the line thickness, and the length of the line. Nonetheless, I always turn Stretch to Corners on and only turn it off when the effect is displeasing on my pages.
3fig80.gif

Figure 3-80 Stretch to Corners

Stripes. You can create the second type of custom PostScript line style by selecting Stripe from the New popup menu in the Dashes & Stripes dialog box. The Edit Stripe dialog box is slightly less imposing than the last we explored, and its functionality is very similar (see Figure 3-81). The primary difference, of course, is that you end up with a stripe, in which the line segments and gaps run along the path, as opposed to dashes, which run perpendicularly.

3_81_edit_stripe.jpg

Figure 3-81 Edit Stripe

There are four options in the Edit Stripe dialog box: ruler area, Position, Preview, and Miter.

  • Ruler Area. Stripes are defined by separating the width of your path into smaller lines and gaps. You can specify the width of these subpaths by placing width markers in the ruler area of the Edit Stripe dialog box. As with dashes, you can click in the ruler area to place a marker, or click and drag to specify the thickness of a subpath. If you like the width of the subpath, but not the vertical placement, you can click on the subpath (not the index markers) and drag it up or down.
  • Position. When building or editing a stripe, it's always a good idea to watch the Position field, which gives you feedback as you click or drag markers in the ruler area. You can also add markers at specific places in the ruler area by typing them here.
  • Preview. The Preview area offers an example of what your stripe will look like when applied to a path or a line. I recommend setting the slider to the largest line setting, as typical low-resolution monitors can't hope to give you a good approximation on the thinner lines.
  • Miter. As with the dash pattern, the Miter setting controls what happens to the stripe at corners. Let's say you choose the rounded-corner Miter setting; if you apply this stripe to a rectangular picture box, the four corners will each be rounded slightly, even though the Corner Radius setting in the Modify dialog box is set to zero. (In fact, they're slightly rounded because this value is set to zero; if you increase the Corner Radius value, the Miter goes away.) In general, I use the default sharp-corner Miter unless I'm trying to achieve some special effect with the stripe.

Moving dashes and stripes around. You can make custom dashes and stripes all you like, but if you make them in one document, how do you get them into another? There are two ways to move Dashes & Stripes styles between documents.

Frame Editor

A quick history lesson: QuarkXPress, before version 5, used to ship with a little utility called Frame Editor that let you create borders or frames that you can apply to rectangular boxes. Unfortunately, all the frames you could make were bitmapped, like the horrible Deco and Ornate frames that ship with XPress. That means that rather than defining a border with smooth lines and curves, you have to use dots in a bitmap (see Chapter 9, Pictures, for more information on the differences between object-oriented and bitmapped images). The biggest problem with this is that diagonal and curved lines appear jaggy at almost any size. Fortunately, Quark no longer ships the Frame Editor.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020