FIGURE 5 Using the Right-Justified Tab button FIGURE 6 Using the Align to Decimal Tab button FIGURE 7 Using the Align On text box in the Tabs palette Right-Justified Tab button Text
Trang 1In Figure 5, the position of the tab has
again not changed, but its alignment has
changed to a right-justified tab Notice that
the lines of text are all aligned on the right.
In Figure 6, the tab alignment has been
changed to an align-to-decimal tab The
decimal points of each number in the col-umn are aligned at the 2.25" mark Clearly, this tab is a good choice when working with numbers.
When you use the align-to-decimal tab, you can align text with characters other than a
decimal point, such as an asterisk or a dol-lar sign As shown in Figure 7, by clicking the Align to Decimal Tab button, then typ-ing a $ in the Align On text box, the col-umn is aligned on the dollar sign
FIGURE 5
Using the Right-Justified Tab button
FIGURE 6
Using the Align to Decimal Tab button
FIGURE 7
Using the Align On text box in the Tabs palette
Right-Justified Tab button
Text is aligned right
Align to Decimal Tab button
Align to Decimal Tab button
Text is aligned on the decimal point
Text is aligned on the dollar sign Align On text box
Trang 2FIGURE 8
Applying a rule creates the need for a text inset
FIGURE 9
Applying a text inset to the top and left sides of the text frame
Using Text Insets
When you enter text in a text frame, text
insets determine how far from the edge of
the frame the text is positioned—how far it
is inset into the frame Text insets can be
entered for all four sides of a text frame—
top and bottom, left and right For example,
a 5" text inset means that text will be inset
one-half inch on all four sides of a frame.
In Figure 8, a heavy black stroke has been added to the text frame The addition of the stroke makes the position of the text visu-ally unpleasing—the text is too close to the top and the left edges of the frame.
Text inset values are entered in the Text Frame Options dialog box In Figure 9, a 25" text inset has been added to the top and left sides of the frame Note the light
blue line that indicates the top and left margins of the text within the text frame
QUICKTIP
When you use tabs in a text frame that has a text inset, the tab ruler aligns itself with the text inset line—the light blue line—not the left edge of the text frame
.25" text inset top and left
Light blue line indicates text inset
Trang 3Adding Rules above or below
Paragraphs
Many times, you will want to add a
hori-zontal rule above or below a line (or lines)
of text InDesign regards rules above and
below text as paragraph attributes—in
other words, they are part of the text
for-matting If you resize the text—let’s say
you make it larger—the rule increases
however much is necessary to continue
underlining the text If you move the text,
the rule moves with it.
Rules for text are defined in the Paragraph
Rules dialog box, shown in Figure 10.
This dialog box allows you to specify a
number of attributes for the rule, including
its color and its weight This is where you also specify whether the rule is positioned above or below the text.
When you apply a rule below text, the rule
is positioned by default at the baseline of the text Often, you will find this to be visu-ally unpleasing Figure 11 shows text with a rule positioned at its baseline.
Generally speaking, a rule below looks best when it is slightly below the baseline Use the Offset text box in the Paragraph Rules dialog box to accomplish this When the rule is defined as a Rule Below, a positive
offset value moves the rule down from the
baseline.
Rule offsets are best specified in points.
A point is 1/72 of an inch This small increment allows you to be very specific when positioning a rule For a rule below,
a two- or three-point offset value is usually best Figure 12 shows the same rule with
a three-point offset.
QUICKTIP
If your ruler units are set to inches, you can still enter values as points Simply type p before a value to specify it
as points For example, if you want to specify a six-point offset value, type p6 in the Offset text box
FIGURE 10
Paragraph Rules dialog box
FIGURE 11
Rule below, at the baseline
FIGURE 12
Rule below, with a 3-point offset
Click to activate
a rule
Rule positioned with
a zero offset value
Trang 4Set a text inset and insert tabs
1 Open ID 9-1.indd, then save it as Tabs.
2 Click the Selection Tool if necessary,
click the blue text, click Object on the menu bar, then click Text Frame Options.
3 In the Inset Spacing section, type 25 in the Top text box, type 125 in the Left text box, click OK, then compare your work to
Figure 13
4 Click Type on the menu bar, then click Tabs.
As shown in Figure 14, the left edge of the tab ruler (not the left edge of the Tabs palette) is automatically aligned with the left edge of the text inset so that the measure-ments in the ruler exactly match the text
5 Click the Type Tool , select all of the
text in the frame, then click the
Left-Justified Tab button in the Tabs palette (if necessary)
6. Position the pointer in the white space in the top third of the tab ruler—just above the numbers—then click and drag until the X text box reads 1 in, as shown in Figure 15
7. Repeat Step 6 to create a new tab at 2"
TIP To delete a tab from the tab ruler, simply drag it straight up and release the mouse button
8. Click anywhere in the tab ruler to the right of the second tab to add a third tab
The third tab remains selected, and its hori-zontal location is displayed in the X text box
(continued)
FIGURE 13
Insetting text
FIGURE 14
Tabs palette
FIGURE 15
Adding a tab to the tab ruler
Inset top and left
Left edge of tab
ruler aligns with left
edge of text inset
Tab in the tab ruler
Trang 59. Double-click the value in the X text box, type
3, then press [Enter] (Win) or [return] (Mac).
The third tab is moved to the 3" mark
10.Using either of the two methods from the
above steps, add a new tab at 4", then
com-pare your work to Figure 16
You inset text from the top and left margins in the
Text Frame Options dialog box You then selected
all the text in the frame and set four left-justified
tabs at 1" intervals
Enter text using tabs
1 Click the Type Tool if necessary, click to
the left of the first # sign in the first line of
text, then press [Tab].
2. Tab the remaining text in the first line so that
your page resembles Figure 17
3. Click to the right of the word T-Shirts, press
[Tab], then type 50.
4 Press [Tab], type 45, press [Tab], type
White, press [Tab], then type $950.
Your page should resemble Figure 18
5. Using the same method, enter the
informa-tion shown in Figure 19 so that your page
matches the figure
Note that, now that the text is entered, the
text is not centered in the frame—there is
a large gap to the right of the last column
6 Select all of the text, click Object on the
menu bar, click Text Frame Options, change
the Left inset value to 5, then click OK.
(continued)
FIGURE 16
Adding the fourth tab
FIGURE 17
Tabbing the first line of text
FIGURE 18
Entering tabbed values for the first product line
Four tabs
Trang 6Everything shifts to the right and the tabs remain spaced at 1" intervals As shown in Figure 20, the left edge of the tab ruler is
no longer aligned with the left edge of the text inset
7. Click in the text to deselect it, then click the
Position Palette above Text Frame button The left edge of the tab ruler realigns itself with the left edge of the text inset
You used tabs to enter text at specific horizontal locations You modified the left text inset value, noting that the 1" tab intervals were not affected.
Change type of tabs and location of tabs
1 Drag the Tabs palette straight up so that the
entire document is visible, then select all of the blue text
2 Click the first tab at the 1" location in the tab
ruler to select it
3 Click the Center-Justified Tab button
As shown in Figure 21, the tab changes to
a center-justified tab and the first column of text is now centered at the 1" mark
4. With the first tab in the tab ruler still high-lighted, double-click the value in the X text
box, type 1.375, then press [Enter] (Win) or
[return] (Mac).
The first column is now centered at the 1.375" mark
5 Click the second tab to highlight it, click the
Center-Justified Tab button , then relo-cate the tab to 2.3"
(continued)
FIGURE 20
Increasing the left inset
FIGURE 19
Entering tabbed values for the remaining products
FIGURE 21
Changing a left-justified tab to a center-justified tab
Center-justified tab
Numbers are center aligned
Trang 76 Click the third tab to highlight it, click the
Center-Justified Tab button , then
relo-cate the tab to 3.25"
7 Click the fourth tab to highlight it, click the
Align to Decimal Tab button , then
relo-cate the tab to 4.25"
8. Select only the “# Sold” text in the top row,
then relocate its tab to 2.1"
9 Type 00 after $950, $1500 and $725.
10 Click Edit on the menu bar, click Deselect
All, save your work, then compare your page
with Figure 22
TIP Be sure to save your work, because
you will revert to this point after the next set
of steps
You selected tabs, changed them to different types
of tabs, then moved tabs in the tab ruler
Apply tab leaders and rules
1 Select all of the blue text, then click the first
tab in the tab ruler to highlight it.
2 Type a period (.) in the Leader text box in
the Tabs palette, press [Enter] (Win) or
[return] (Mac), then deselect all.
As shown in Figure 23, the period is used as
a character that connects the product
list-ings to the first tab
3 Select all of the blue text, click the second
tab in the tab ruler, type a period (.) in the
Leader text box, press [Spacebar], then
press [Enter] (Win) or [return] (Mac).
Using the space creates a more open dot
pattern
(continued)
FIGURE 22
Viewing reformatted tabs
Trang 84 Click the third tab in the tab ruler, type an
asterisk (*) in the Leader text box, then
press [Enter] (Win) or [return] (Mac).
5 Click the fourth tab in the tab ruler, type a
hyphen (-) in the Leader text box, press [Enter] (Win) or [return] (Mac), deselect,
then compare your work to Figure 24
6 Click File on the menu bar, click Revert, then click Yes (Win) or Revert (Mac).
7. Select all of the text, click the
Paragraph palette list arrow, then click Paragraph Rules.
8 Click the list arrow at the top of the dialog box, click Rule Below, then click the Rule
On check box.
9. Choose the settings for Weight, Color, Offset, and Right Indent as shown in Figure 25, click
OK, then deselect all.
Note that in the Offset text box, the intended six-point offset is specified as p6 When you tab from the Offset text box to the Right Indent text box, the p6 value is automatically converted to its equivalent in inches
10.Select only the top line of text in the table,
click the Paragraph palette list arrow, click
Paragraph Rules, click the Weight list arrow, click 1 pt, then click OK.
11.Deselect all, save your work, compare your page
to Figure 26, then close the Tabs document
You used the Leader text box in the Tabs palette to set various characters as tab leaders You used the Paragraph Rules dialog box to apply a rule below the rows of text in the text frame.
FIGURE 23
Using a period as a tab leader
FIGURE 24
Viewing various characters as tab leaders
FIGURE 25
Choosing attributes for the rule below
FIGURE 26
Viewing the finished chart
Offset value entered as six points
Trang 9L E S S O N 2
What You’ll Do Working with Tables
An important component to any layout application, tables are an efficient method for communicating large amounts of information Tables consist of rectangles
in horizontal rows and vertical columns.
Each rectangle is called a cell Figure 27 shows an example of a table.
The first important thing to note about tables is that InDesign regards them as text Tables can only be created within a text frame When you edit a table, you do
so with the Type Tool If you select a table with the Selection Tool, you can only mod-ify the text frame, not the contents of the table cells in the text frame
Creating Tables
The first step in creating a table is to cre-ate a text frame Once you’ve crecre-ated the text frame, the Insert Table dialog box, shown in Figure 28, allows you to specify the number of rows and the number of columns for the table When you create the table, it always appears in a default
layout, as shown in Figure 29 Note that the width of the cells is determined by the number of columns and the width of the text frame In other words, the default width of the cells is the width of the text frame divided by the number of columns.
Formatting Tables
The Table palette, shown in Figure 30, is command central for manipulating a table Even after you create the table, you can modify the number of rows and columns using the Table palette.
Once you have created the table, you then determine the width of the columns and the height of the rows Columns and rows
in a table do not have to have the same width and height Individual columns can have varying widths, and individual rows can have varying heights Column widths and row heights determine the size of the cells that they create.
You can determine the size of all the cells
in a table simultaneously by selecting them all and entering values in the Table
In this lesson, you will create a table and
apply fills and strokes.
CREATE AND FORMAT
A TABLE
Trang 10palette You can also select a single column
and specify a width for that column only, or
select a single row and specify a height for
that row only.
Figure 31 shows the default table
modi-fied with different row heights The top
row is 5" high The other rows are all
1.625" high.
QUICKTIP
Long tables may continue over many pages in your docu-ment To repeat information from the top or bottom row each time the table is divided, you can use headers or footers.
Headers and footers can be specified in the Insert Table dialog box at the time that you create the table, or you can convert existing rows to header or footer rows using the Convert Rows To Header or Footer commands on the Table menu.
QUICKTIP
You can import a table from a Microsoft Word or Excel document using the Place command The imported data appears in an InDesign table
FIGURE 27
An example of an InDesign table
FIGURE 29
Default table layout
FIGURE 28
Insert Table dialog box
Trang 11Applying Strokes and Fills to
a Table
Adding color to a table can do wonders in
terms of making the table more visually
interesting and can improve the impact of
the information you are trying to convey.
You can apply strokes to the cells of the
table, thereby controlling the color and
the weight of the lines that make up the
table grid
You apply strokes and fills to a table just as you would to other InDesign objects You can select a single cell, multiple cells, or an entire row or column Remember, you use the Type Tool to select elements of a table.
You can then use the Swatches palette to add a fill color or to apply a stroke color, and the Stroke palette to modify the weight
of the strokes.
You can also use the Table menu to apply fills and strokes In addition, the Table menu provides options for alternating fills
by row or column Alternating fills is a technique that is often used to make tables more visually interesting and easy to read Figure 32 shows the table with fills using two colors that alternate every other row.
FIGURE 30
Table palette
FIGURE 31
Modified table
FIGURE 32
A table with alternating rows filled
Number of Rows
text box
Column Width
text box
Buttons for
aligning text
vertically Text inset buttons
Text rotation buttons
Number of Columns text box Row Height
list arrow
Row is 5" high
Rows are 1.625" high