Creating Custom Stroke Styles


The Strokes palette menu contains a Stroke Styles feature that allows you to create custom stripes, dashes, and dots that you can add to your Strokes palette for reuse.

To create custom styles for strokes:

1.

Choose Stroke Styles from the Stroke palette menu . The Stroke Styles dialog box appears .

Choose Stroke Styles from the Stroke palette to open the Stroke Styles dialog box.

The Stroke Styles dialog box lets you create, edit, and manage custom stroke styles.

Tip

This dialog box contains the seven default stripe styles. You can't edit these default stripes, but you can use them as the basis for new stripe styles.

2.

Click the New button to open the New Stroke Style dialog box .

The New Stroke Style dialog box is where you define the pattern for a custom stroke.

or

Choose one of the default stripes and then click the New button. This opens the New Stroke Style dialog box with the stripe style already set as the starting pattern.

3.

Use the Name field to enter a name for the custom stroke style.

4.

Choose the type of stroke style from the Type menu as follows :

Use the Type menu to choose the type of custom stroke style.

  • Stripe allows you to create multiple lines that run parallel to each other along the stroked path.

  • Dotted creates a series of dots repeated along the path.

  • Dash creates a single line that is broken into a series of individual elements.

5.

The dialog box changes its controls according to the stroke style chosen in the Type menu. The following exercises show how to set the controls for each type of stroke.

6.

When you have finished setting the stroke style, click OK to create the style.

or

Click the Add button to create the style and then define additional styles.

To create a custom stripe stroke style:

1.

Choose Stripe from the Type menu of the New Stroke Style dialog box. The stripe controls appear .

The New Stroke Style dialog box set for the Stripe controls.

2.

Click inside the Stripe area to add a stripe to the stroke.

Tip

New stripes appear in the Stripe area with no width and need to be adjusted in order to appear as part of the finished stroke.

3.

Drag the Start control triangle on the percentage ruler or enter an amount in the Start field to set the initial position for the stripe on the stroke .

The stripe controls in the New Stroke Style dialong box.

Tip

A setting of 0% positions the stripe to start at the very top of the stroke width.

4.

Drag the Width control triangle on the percentage ruler or enter an amount in the Width field to set the width of the stripe .

Tip

The width of the stripe is a percentage of the final stroke weight of the stroke. For example, a stripe width of 50% applied to a 4-point stroke creates a 2-point stripe.

5.

Drag the stripe itself up or down in the Stripe area to position it without changing its width.

6.

If you need to delete a stripe, drag it up or down so that it is off the Stripe area.

7.

Use the Preview control to increase or decrease the size of the preview for the stroke style .

Use the Preview display and Preview Weight to see what the stripe style will look like.

Tip

A larger preview helps you see small elements added to the custom stroke style. However, it does not change the appearance of the stroke used in the document.

Tip

See the special exercise on pages 164 and 165 for how to use striped strokes for a special knockout rule.

To create a custom dashed stroke style:

1.

Choose Dash from the Type menu of the New Stroke Style dialog box. The dash controls appear .

The New Stroke Style dialog box set for the Dash controls.

2.

Click inside the Dash area to add a dash to the stroke .

The Dash controls in the New Stroke Style dialog box.

Tip

New dashes appear in the Dash area with no length and need to be adjusted in order to appear as part of the finished stroke.

3.

Drag the Start control triangle on the percentage ruler or enter an amount in the Start field to set the initial position for the dash .

Tip

Unlike the Stripe controls, the length of a dash is set as an absolute amount, not a percentage of the stroke width.

4.

Drag the dash itself to move it without changing its width.

5.

Use the Pattern Length field to increase the length of the space that the dashes repeat within .

6.

If you need to delete a dash, drag it up or down so that it is off the Dash area.

7.

Use the Corners list to choose how the dashes should be arranged around corners . (See page 158 for a complete description of the Corners choices and their appearances.)

Use the Corners list to choose how dashes are distributed along a stroke.

8.

Choose a Cap style to set how the dashes appear on the stroke. (See page 155 for a complete description of the Cap style choices.)

9.

Use the Preview control to increase or decrease the size of the preview for the stroke style .

Use the Preview display and Preview Weight to see what the dash style will look like.

To create a custom dotted stroke style:

1.

Choose Dotted from the Type menu of the New Stroke Style dialog box. The dotted controls appear .

The New Stroke Style dialog box set for the Dotted controls.

2.

Click inside the Dotted area to add a dot to the stroke .

The Dotted controls in the New Stroke Style dialog box.

3.

Drag the Center control triangle on the ruler or enter an amount in the Center field to set the initial position for the dot .

4.

Use the Pattern Length field to increase the length of the space that the dots repeat within .

5.

If you need to delete a dot, drag it up or down so that it is off the Dotted area.

6.

Use the Corners list to choose how the dots should be arranged around corners .

Use the Corners menu to control how dotted styles are applied to corners.

Tip

Unlike the choices for dashes, the Corners list for dots only allows you to adjust gaps, as the dots themselves cannot change their length. (See page 158 for a complete description of the Corners choices and their appearances.)

7.

Use the Preview control to increase or decrease the size of the preview for the stroke style .

Use the Preview display and Preview Weight to see how a dotted style will look.

To edit a stroke style:

1.

Select the custom stroke style in the Stroke Styles dialog box and choose Edit. The Edit Stroke Style dialog box appears.

Tip

The Edit Stroke Style dialog box is the same as the New Stroke Style dialog box, except that there is a Preview button to help you see what your changes do to the stroke . Also, the Edit Stroke Style dialog box does not have an Add button.

Click the Preview checkbox to see how the stroke edits appear when applied to objects.

2.

Click OK to apply the changes.

Once you have defined a stroke style, it appears in the Type menu of the Stroke palette for that document. You may want to transfer strokes from one document to another. You do so using the Stroke Styles dialog box .

The Stroke Styles dialog box lets you create, edit, and manage custom stroke styles.

To save strokes for use in another document:

1.

Choose Stroke Styles from the Stroke palette menu.

2.

Select the custom strokes that you want to transfer to another document.

Tip

Hold the Shift key to select a range of strokes.

Tip

Hold the Cmd/Ctrl key and click to select noncontiguous strokes.

3.

Click the Save button. A dialog box appears where you can save the strokes as an .inst file, which contains the custom stroke definitions.

To transfer strokes from another document:

1.

Choose Stroke Styles from the Stroke palette menu.

2.

Click Load from the Stroke Styles dialog box.

3.

Navigate to find the .inst file that contains the custom stroke definitions.

4.

Click the Open button to add the strokes to the document.

Tip

You can copy and paste objects that contain a custom stroke from one document to another. This adds the custom stroke to the Stroke palette.

To delete a stroke from document:

1.

Choose Stroke Styles from the Stroke palette menu.

2.

Select the stroke or strokes you want to delete.

3.

Click the Delete button.

Tip

You can't delete the seven default strokes.

My Favorite Use for Custom Strokes

You have no idea how excited I am to see custom strokes in InDesign. This was one of the features I have wanted in the program since it first was released. Fortunately, they were introduced in InDesign CS. Here is a little lesson that explains my favorite way to use custom strokes and shows why this seemingly small feature is so important.

Look at the illustration in figure . Notice how the callout lines indicating the eye and button get lost as they move over the dark areas of the image. That's a real problem for people who do lots of book illustrations.

Notice how the black callout rules get lost as they pass over the dark areas of the image.

In the old days of pasteboard mechanicals we used to have special striped rules that were black with a white line on either side. What I need today is a way to create that look electronically.

One of the ways I fixed this before InDesign CS was to create two rules. I started with a half-point black rule. I then copied the black rule, pasted the copy behind it, and set the copy to 1-point with a white stroke. This gave me a half-point rule with a quarter-point white stroke on either side.

The white stroke became the knockout that helped keep the black from getting lost. Unfortunately, the technique was cumbersome and very awkward to work with if I had to move objects. Eventually it became so difficult to work with the multiple rules that I gave up altogether.

Now look at the illustration in figure . See how much easier it is to follow the callout across the image. That's because there's a special custom stroke applied to the rules.

Notice how a white line on either side of the black rule makes it easier to follow the rule as it passes over the dark areas of the image.

Here's how I created it. I made a custom stroke style which consists of two 25% stripes on either side of a 50% gap as seen in figure . I saved this custom stroke.

Two stripes that take up 25% of the stroke width leave a 50% gap.

I drew the callout rules in the layout and applied the custom stroke from the Type menu in the Stroke palette .

The custom stripe appears in the Type menu in the Stroke palette.

I set the stroke color as white . Since the two stripes are set for 25% of the stroke width, I set the stroke weight to 1 point . That made each side of the white knockout a quarter of a point.

A white stroke color was applied to the white stripes of the custom stroke.

A 1-point stroke weight becomes a half-point gap color for the custom stroke.

I then needed to set the gap color in the Stroke palette to black . Since the gap had been set for 50% of the stroke width, that made the black gap a half-point width.

When the Gap Color is set to black, the custom stripe shows a black line with two white stripes.

The benefits of this custom stroke are great. I only need to draw one object to apply two colors. And I can use this custom stroke for straight line rules as well as curves, rectangles, or any object that has to pass over multiple colors.

In case you're wondering, I could have also defined the stroke as a single 50% stripe with two 25% gaps on top and bottom. In that case I would have used a black stroke with a white gap.

Look carefully at the callout lines in this book. They have been set using a 1-point rule set with a single 50% black stripe with two 25% paper gaps around it. This rule was saved as my "Knockout Rule."




InDesign CS2 for Macintosh and Windows(c) Visual QuickStart Guide
InDesign CS4 for Macintosh and Windows: Visual QuickStart Guide
ISBN: 0321573579
EAN: 2147483647
Year: 2006
Pages: 309
Authors: Sandee Cohen

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net