Add All Sorts of Objects

Other chapters have touched on, and, in some cases, gone deeply into ways you can manage and modify objects in Pages. This chapter provides a closer look at the specific kinds of objects you can use. In Pages, objects generally fall into two types: what I call “basic objects” and “computing objects.” Although Pages does not explicitly draw this distinction, it becomes clear when you work with them.

Basic objects:

The basic objects share some common appearance options; you can see how to dress these objects up in Change How Basic Objects Look.

Computing objects:

Unlike basic objects, computing objects are made up of multiple internal elements that interact with one another dynamically.

Use Text Boxes

When you need to place text above, beneath, or outside of a document’s body text, or you want to add some text to a document that has no body text, use a text box. Text boxes have all sorts of uses: for example, sidebars, captions, callouts, pull-quotes, and watermarks.

Adding a text box is easy:

A new text box, by default, arrives as a transparent box with no visible border and contains a text placeholder (Figure 131). You can ornament a text box in a variety of ways, as described in Change How Basic Objects Look, later in this chapter.

**Figure 131:** A new text box has no border or fill, and contains placeholder text; above, a new text box in Pages for Mac.

Figure 131: A new text box has no border or fill, and contains placeholder text; above, a new text box in Pages for Mac.

Click or tap the placeholder to select it, then enter your replacement text. Text in a text box can be formatted and styled in the same ways that body text can be formatted and styled.

In addition, text boxes include a vertical alignment capability not available to body text:

**Figure 132:** The vertical alignment settings appear in the Text Format inspector on the Mac.

Figure 132: The vertical alignment settings appear in the Text Format inspector on the Mac.

If you put more text in a text box than it can display, an overflow icon appears at the bottom of the box ( on a Mac; in a browser and iOS).

Note: Unlike how overflow icons work in Pages 4, you can’t click the overflow icon to flow text between text boxes in Pages 5.

Use Shapes and Lines

Pages provides a rich collection of shapes and lines that you can use as ornamentation or in diagrams, organization charts, callouts, labels, illustrations, and more. You can combine shapes and lines to produce complex graphics, and you can customize them in various ways.

Pages for Mac offers the deepest collection of line and shape options, with Pages for iCloud offering the shallowest, and Pages for iOS falling between the two. Nonetheless, every Pages app supports the shapes and lines that you add and customize in the other Pages apps.

Add and Customize Shapes

Much like adding a text box, adding a shape to a document is just a matter of a few taps or clicks:

Figure 133 shows the twelve prebuilt shapes that Pages provides.

**Figure 133:** Each of the twelve prebuilt shapes has a name. In order from the top left: rectangle, rounded rectangle, oval, triangle, right triangle, arrow, double arrow, diamond, quote bubble, callout, polygon, and star.

Figure 133: Each of the twelve prebuilt shapes has a name. In order from the top left: rectangle, rounded rectangle, oval, triangle, right triangle, arrow, double arrow, diamond, quote bubble, callout, polygon, and star.

You can resize, rotate, and reposition shapes as described in Arrange Objects on the Page. You can also change a shape’s fill color, border, and other appearance properties; see Change How Basic Objects Look.

But that’s not all. Many prebuilt shapes have one or more green feature handles that appear when you select the shape (Figure 134) (they don’t appear in iCloud currently). Drag a handle to modify the shape.

**Figure 134:** A quote bubble has three feature handles you can drag to modify its features, such as the bubble’s curvature and the length and direction of the quote bubble’s pointer.

Figure 134: A quote bubble has three feature handles you can drag to modify its features, such as the bubble’s curvature and the length and direction of the quote bubble’s pointer.

Tip: When trying to manipulate feature handles in small shapes, try zooming in.

Here’s a quick look at the feature handles that prebuilt shapes provide and what they do when you drag them:

Note: Rectangles, ovals, diamonds, triangles, and right triangles do not offer feature handles.

Every shape also acts like a text box: that is, you can double-click or double-tap inside a shape to insert and modify text in it (Figure 135). You can edit, lay out, and style the text in a shape just as you can body text or text in a text box—with one exception: text in any shape other than a rectangle cannot be laid out in snaking columns.

**Figure 135:** Shapes can contain text, which you can edit and format.

Figure 135: Shapes can contain text, which you can edit and format.

Note: Currently in Pages for Mac and Pages for iCloud, a shape must have a fill color before you can add text to it (see Set Object Fills). You can remove the fill color after you add the text to the shape.

Tip: To select the shape when you have a text selection or an insertion point within the shape, click or tap away from the shape first, and then click or tap the shape again.

If none of the shapes that Pages provides meets your needs, no problem: you can draw your own shapes or you can edit a prebuilt shape to add corners and curves to it (see Draw and Edit Shapes and Lines a little further on).

Add and Customize Lines

Lines have all sorts of uses in a document: you can use them to separate things, connect things, or point at things…or you can simply use them as decoration.

The number of line types that Pages explicitly offers you depends on where you look and which app you are using. For example, the Insert > Line command in Pages for Mac produces a submenu that offers six different types of lines, examples of which are shown in Figure 136.

**Figure 136:** From left to right, the six named line types in Pages for Mac are: line, line with arrowhead, line with two arrowheads, straight connection line, curved connection line, and right angle connection line.

Figure 136: From left to right, the six named line types in Pages for Mac are: line, line with arrowhead, line with two arrowheads, straight connection line, curved connection line, and right angle connection line.

However, when you click the Shape icon in Pages for Mac, you only see three line types offered in the app’s Shape popover. Pages for iCloud also offers three line types in its Shape popover—but they are different line types than those in the popover in Pages for Mac! And then there’s Pages for iOS, which only provides two line types in its Shape popover.

This is not as big a problem as it seems, because, when you get right down to it, there are really only two types of lines in Pages: straight lines and connection lines. All the other types are just variations of these.

Straight lines are just that: straight. They optionally can have arrowheads or other symbols at one or both ends, and can be drawn with different thicknesses and in different styles and colors (see Set Line Properties for how to specify these).

Connection lines can be straight, curved, or consist of several segments at right angles to each other. When you select a connection line, it displays a connector point at each end and a green feature handle somewhere along its length (Figure 137). Like straight lines, connection lines can be drawn in various thicknesses, colors, and styles, and they can be given arrowheads or other symbols at one or both ends.

**Figure 137:** When you select connection lines, they show connectors at each end and a green feature handle.

Figure 137: When you select connection lines, they show connectors at each end and a green feature handle.

Note: Pages for iCloud currently offers only straight lines, but it does support connection lines that have been added to documents in the other Pages apps.

You can change both the orientation and the rotation of any line, whether straight or connection, by dragging one end of it.

You can change the curvature of a curved connection line by dragging its feature handle. For a right angle connection line, drag the feature handle to change where the right angles appear in the line.

You can also switch the type of connection line between curved and right angle and back again:

At this point you may be wondering what connection lines connect. The answer is objects (other than lines) that are anchored to a page (on the Mac, this setting is in the Object Format inspector’s Arrange panel; in iOS, it’s a Wrap option on the Format popover’s Arrange pane).

To connect a connection line to an appropriately anchored object, drag one end of the line to the object: the object highlights as the connection is made. You can connect the unconnected end of that line to a second object as well. Once an object is connected to a connection line, the line reshapes itself to retain the connection when you drag the object—great fun when you’re fiddling with diagrams or organization charts!

Connection lines don’t visibly have to touch objects to which they connect—the endpoint can be offset from the object, as in Figure 138.

**Figure 138:** Connection lines can be offset from the shapes they connect.

Figure 138: Connection lines can be offset from the shapes they connect.

Here’s how to offset a connection line:

Draw and Edit Shapes and Lines

If none of the prebuilt shapes meets your needs, you can edit a shape, text box, or straight line, or you can draw your own shape. For example, the yellow cloud shape in Figure 138, just previously, began life as an ordinary prebuilt rectangle shape before I edited it.

Note: Only Pages for Mac offers shape drawing and editing capabilities, but the other Pages apps preserve any custom shapes you make with the Mac app.

Edit Shapes and Lines

To edit a shape, text box, or line, choose Format > Shapes and Lines > Make Editable. Edit handles appear on the object, as in Figure 139.

**Figure 139:** Use the edit handles to change an object’s shape.

Figure 139: Use the edit handles to change an object’s shape.

Pages provides three kinds of edit handles:

**Figure 140:** Use a Bézier point’s curve guides to control the curvature of the lines that enter the point.

Figure 140: Use a Bézier point’s curve guides to control the curvature of the lines that enter the point.

Note: When you edit a text box, it becomes a shape instead of a text box, and no longer supports multiple text columns. When you edit a line, it becomes an open shape.

Here’s what you can do with edit handles:

Tip: If you prefer to work with Bézier points rather than smooth points most of the time, enable Curves Default to Bézier in the Editing section of the General Preferences for Pages.

When you work with Bézier points, you can adjust the angle at which lines enter the point by dragging the end of one of its curve guides around the point. To adjust the length of a curve guide (which controls the depth of the curve entering the Bézier point), drag the curve guide’s handle toward or away from the Bézier point.

Note: Sometimes I have found that dragging a Bézier curve’s handle to change the length of the guide doesn’t work. If so, try grabbing and dragging the curve guide line itself, instead.

Draw Shapes and Lines

To draw a new shape freehand, choose Insert > Line > Draw with Pen (Option-Shift-Command-P), or click the Add Shape toolbar icon and then click Draw with Pen. Your pointer becomes a pen , and drawing instructions appear (Figure 141).

**Figure 141:** Pages provides freehand drawing instructions.

Figure 141: Pages provides freehand drawing instructions.

Let me expand on the first line of those drawing instructions, as they are confusing (by which I mean that I was confused by them at first):

You can either double-click or press Return at any time to stop drawing and create an open shape. To stop drawing and create a closed shape, click the first point you created. When you stop drawing by either of these methods, you end up with a shape that has edit handles, ready for tweaking. You can manipulate these handles as described in Edit Shapes and Lines, above.

Note: When you set Curves Default to Bézier in Pages’ General Preferences, every point you create when you draw with a pen is a Bézier point.

Once you have finished editing your new freehand drawing, press Esc or click away from the drawing.

Tip: If you have previously drawn or edited a shape, you can edit it again by double-clicking the shape’s border.

Combine Shapes

Finally, you can combine two or more shapes to create new shapes as in Figure 142.

**Figure 142:** Combine shapes to create a single shape.

Figure 142: Combine shapes to create a single shape.

Follow these steps to combine shapes:

  1. Drag a shape over one or more other shapes (optional).
  2. Select all of the shapes you want to combine.
  3. At the bottom of the Arrange panel of the Object Format inspector, click one of the following:
    • Unite: Click this to combine the selected shapes into one shape.
    • Intersect: This creates a new shape that consists only of the area where the shapes overlap.
    • Subtract: This option subtracts the overlapped portion of the topmost shapes from the bottom shape (see Set Front-to-back Order for more about object layering).
    • Exclude: Like the Unite option, Exclude combines the shapes into one shape, but it leaves out the area where they overlap.

Note: When you combine shapes that don’t overlap, clicking Intersect or Exclude leaves you with no shape at all.

Use Media

If a picture is worth a thousand words, you can save a lot of words by adding pictures to your documents instead…and imagine how much writing you can avoid if you add video or audio as well!

Pages provides the ability to add media to your documents as follows:

No matter whether a particular Pages app allows you to add video or audio, each Pages app preserves media from the other apps.

Note: On the Mac or in iOS, you can also click or tap a placeholder icon to choose media to replace the placeholder; see Make and Use Placeholders.

Edit Images

All of the Pages apps provide non-destructive image editing capabilities; that is, you can undo the edits that you make, and you can restore the original image at any time.

Crop an Image

You can crop any image in both Pages for Mac and Pages for iOS, while Pages for iCloud restricts cropping to images that you have anchored to the page (see Set Where an Object Is Anchored).

To see an image’s cropping control, double-click or double-tap the image. On a Mac, when an image is selected, you can instead click Edit Mask in the Object Format inspector’s Image panel; in iOS, tap Format and then tap Image to see the Edit Mask button.

Figure 143 shows the cropping control in Pages for Mac.

**Figure 143:** Use the cropping control to display part of an image.

Figure 143: Use the cropping control to display part of an image.

The cropping control places a translucent mask over the part of the image that will be cropped out; the hole in the mask shows the part of the image that remains when you click or tap Done.

To use the mask:

On the Mac and in a browser, click the crop icon or the image icon to choose whether the resizing handles surround the mask’s hole or the entire image, respectively; in iOS, tap the masked part of the image or the mask’s hole to choose where the resizing handles appear.

To reset an image to its uncropped state, select the image and then:

Tip: On the Mac, you can mask an image with any of the prebuilt shapes—choose Format > Image > Mask with Shape, and then choose a shape from the submenu. You can use the shape’s feature handles to adjust the shape; see Add and Customize Shapes.

Adjust an Image (Mac only)

When you select an image in Pages for Mac, you can change how it looks with the Adjustments settings in the Object Format inspector’s Image panel (Figure 144).

**Figure 144:** Change an image’s exposure, saturation, and more with the Object Format inspector’s Adjustments settings.

Figure 144: Change an image’s exposure, saturation, and more with the Object Format inspector’s Adjustments settings.

The settings are similar to those in iPhoto, Preview, and other image editing apps, so I won’t provide details here. The basic controls in the Object Format inspector are probably all you need to fix up a photo that is underexposed or that needs its colors toned down.

For more fine-grained image adjustments, click the Adjust Image button to bring up a floating Adjust Image window with additional settings, including sharpness, levels, color temperature, and contrast.

Tip: Play around with the Adjust Image controls to see how they affect various images. You can’t do any harm by playing; just click Reset to restore an image to its original appearance.

Use Instant Alpha

You use the Instant Alpha tool to make areas of an image transparent so that whatever lurks behind the image can peek through. Both Pages for Mac and Pages for iOS offer an Instant Alpha tool; Pages for iCloud does not, but, of course, it does preserve the transparent image areas that the other two Pages apps create.

To wield the Instant Alpha tool, select the image and then:

Figure 145 shows the Instant Alpha tool in action on the Mac, along with examples of an image before and after the tool was applied.

**Figure 145:** Dragging with the Instant Alpha tool (top) removes parts of an image that have a similar color. Here, the gray sky in the original image (bottom left) becomes transparent (bottom right).

Figure 145: Dragging with the Instant Alpha tool (top) removes parts of an image that have a similar color. Here, the gray sky in the original image (bottom left) becomes transparent (bottom right).

To revert to the original image, click the Reset button in the panel that appears below the image when the Instant Alpha tool is active. You can revert an image even after you finish using the tool: select the image, bring up the Instant Alpha tool again, and then click Reset.

Tip: On the Mac, hold down Shift when you drag over removed areas to bring them back. Hold down Option as you drag to remove areas of similar color in all parts of the image.

Adjust Media Playback

In both Pages for Mac and Pages for iOS you can select an inserted media item and then adjust how it plays:

In either app, you can choose Repeat settings:

Note: In Pages for iOS, the Loop Back & Forth setting is available only for video.

In Pages for Mac you’ll find more options:

Tip: Pages for Mac can play a wider range of video and audio formats than Pages for iOS can. To ensure that media you add on the Mac will be playable in iOS, open Pages for Mac’s Preferences to the General pane and enable Optimize Movies for iOS. See Media formats supported by QuickTime Player to learn what media Pages supports.

Change How Basic Objects Look

On the Mac, the Object Format inspector’s Style panel provides most of the appearance settings when you select basic objects; that is, text boxes, shapes, lines, images, and video.

Pages for iOS gives you similar settings: to see them, tap to select an object, tap Format , tap Style, and then tap Style Options.

Pages for iCloud offers fewer appearance settings for basic objects than the other two apps do, though it preserves the appearance settings that the other apps make. Like Pages for Mac, the iCloud app presents its appearance settings in the Format inspector’s Style panel when you select an object.

The appearance settings that Pages provides depend on the object that you select. I describe the setting types in the following sections, and discuss how they may differ among the Pages apps.

The Look of Audio and Video

When you insert a playable media object into a Pages document, changes you make to the object’s appearance are not always preserved when the document is exported from Pages. This is because the presentation of the media, and especially the player controls used by media, are then outside of Pages’, um, control.

Take, for example, Figure 146, which shows video and audio objects both as they appear in Pages and as they appear in an ebook exported from Pages. Note, in particular, the different playback controls for the video and audio objects between Pages and the ebook export, and that the video has lost its picture frame border.

_**Figure 146:** Audio and video within Pages (left) can look different when exported into an EPUB (right)._

Figure 146: Audio and video within Pages (left) can look different when exported into an EPUB (right).

Video objects usually retain the size settings you give them, but can lose other ornamentation. Audio is more problematic, since sound has no width nor height independent of the controls used to play it, and Pages itself provides no appearance settings for audio objects.

Therefore, don’t spend too much time tweaking the appearance of playable media objects: set the position, set the size (for video), and, unless you never intend to export the file, don’t worry too much about the rest.

Set Object Borders

Borders are ornaments that completely surround an object. The object can have no border at all, a line border, or a picture-frame border (Figure 147). Only objects that are closed shapes (that is, they have no openings on any side) can have picture-frame borders.

**Figure 147:** Line borders (left) trace an object’s shape; picture-frame borders (right) surround the object with a rectangular graphic.

Figure 147: Line borders (left) trace an object’s shape; picture-frame borders (right) surround the object with a rectangular graphic.

When you select a line border, you can set the thickness of the line, the style of the line, and the line’s color.

You select picture-frame borders from a preset collection of frame styles. You cannot customize these frame styles, but you can make a frame thinner or thicker by adjusting its scale.

To work with object borders:

Note: When you select an open shape, the Border settings are replaced with Stroke settings, described next in Set Line Properties.

Note: When you select an open shape in Pages for iOS, you can choose only line borders from the Format popover’s Borders panel; the panel does not include picture-frame borders.

Note: Pages for iCloud provides a Border setting for prebuilt shapes, text boxes, images, and video. Shapes that you draw, whether open or closed, have Stroke settings, described next.

Set Line Properties

A line’s appearance is controlled by its stroke, which describes the line’s thickness, style, and color settings. Lines can also have endpoint and connection settings, depending on the type of line selected (see Add and Customize Lines and Draw and Edit Shapes and Lines for more about line types).

Note: While closed shape objects have Border settings, open shape objects have Stroke settings just as line objects do.

To set a line’s (or an open shape object’s) stroke, select it and then do the following:

Tip: Hover over each of the settings in the Stroke section of the Style panel to see a help tag that describes what the setting controls.

Set Object Fills

Most basic objects can have a fill applied: that is, you can fill the object with a color, a gradient blend, an image, or a combination gradient blend and image. Not all of the fills, as you might expect by this point, are available in all of the Pages apps. Also, as you might expect, Pages for Mac provides the most fill options, and Pages for iCloud the least.

I describe the fill options available in each app separately.

Tip: The easiest way to tell whether an object can have a fill is to select it. In Pages for Mac and Pages for iCloud, if you then see a Fill option in Object Format inspector’s Style panel, the object can be filled. In Pages for iOS, tap Format > Style > Style Options, and look for a Fill option.

Set Object Fills on a Mac

The Fill section of the Object Format inspector’s Style panel varies dramatically in appearance and functionality, depending on what type of fill you choose (Figure 150).

**Figure 150:** The Fill settings vary depending on the type of fill you choose.

Figure 150: The Fill settings vary depending on the type of fill you choose.

You can choose a preset fill by clicking the preset fills well at the top-right of the Fill section, or you can roll your own. For the latter, several types are available in the second pop-up menu in the Fill section:

**Figure 151:** Advanced gradient fills provide feature handles that you can drag to adjust the blend within the object itself.

Figure 151: Advanced gradient fills provide feature handles that you can drag to adjust the blend within the object itself.

If you have created a particularly lovely fill, you can use it on other objects in your document:

  1. Select the object with your particularly lovely fill.
  2. Click the preset fills well at the top left of the Fills section in the Object Format inspector’s Style panel.
  3. In the popover, drag the Current Fill over one of the other fills in the popover (Figure 152) to replace it with your creation.
**Figure 152:** Replace a preset fill by dragging your fill over another.

Figure 152: Replace a preset fill by dragging your fill over another.

You can only replace fills of the same type; that is, color fills replace color fills, gradient fills replace gradient fills, and image fills replace image fills. The new preset is saved with the Pages document.

Set Object Fills in iOS

Compared to Pages for Mac, Pages for iOS’s fill options seem positively spartan: you can only use preset fills—including any you may have saved with the document using Pages for Mac, as described just above.

To set a fill, do this:

  1. Select the object.
  2. Tap Format and then, in the popover, tap Style.
  3. Tap Style Options and then tap Fill.
  4. Swipe left and right in the popover to see the available fills; tap a fill to apply it to the selected object.
Set Object Fills in a Browser

Pages for iCloud makes even the limited fill options in Pages for iOS look robust. You can apply fills only to prebuilt shapes and to text boxes—freehand shapes, whether open or closed, do not offer a Fill option.

To set a fill, select the object, open the Object Format inspector’s Style panel and enable Fill. Then click the fill well to see the Fills popover. You can choose from Theme Colors, which comprise the colors, gradients, and image fills in the document’s template (and those you’ve saved with the document in Pages for Mac as described a little earlier), or you can click More Colors to choose from a wider variety of colors.

Set Object Effects

Pages provides three object effects, with varying degrees of customization, on all three platforms: shadow effects, reflection effects, and object opacity. You can apply object effects to text boxes, shapes, lines, images, and video.

When you select an object, you can find its effects settings as follows:

Cast a Shadow

This effect makes an object appear as though it is casting a shadow on the page. Pages provides three different kinds of shadow:

**Figure 153:** A contact shadow makes the object look like it is standing on a tilted page.

Figure 153: A contact shadow makes the object look like it is standing on a tilted page.

With Pages for Mac, when you enable Shadow in the Object Format inspector’s Style panel and choose a shadow type from the Shadow pop-up menu, you can customize the following shadow characteristics:

Note: Don’t confuse the shadow effect’s Opacity slider with the object Opacity slider lower down in the Object Format inspector.

Tip: On the Mac, to quickly learn how the Shadow settings work, click the well in the Shadow section of the Object Format inspector to choose a prebuilt shadow, and then look at the shadow settings to see how that shadow was achieved.

Pages for iOS provides a set of prebuilt shadow effects you can choose when you enable Shadow in the Format popover; no customization settings are offered. Nonetheless, the app preserves shadows you customize on the Mac or in a browser.

Pages for iCloud has shadow settings similar to those in Pages for Mac, but it currently offers only drop shadows. What’s more, it displays every shadow as a drop shadow no matter what type of shadow it might really be (it preserves the actual shadow type and its settings).

Reflect an Object

An object can be reflected in the (imagined) shiny surface of the page (Figure 154). All three apps provide this effect.

**Figure 154:** A document’s page can reflect an object.

Figure 154: A document’s page can reflect an object.

To give an object a reflection, select the object, enable Reflection, and then drag the slider to control how solid the reflection appears.

Set Opacity

You can set an object’s opacity so that it appears completely opaque, semi-transparent (Figure 155), or even completely transparent, in which case the object becomes invisible. All the Pages apps provide an Opacity slider for objects.

**Figure 155:** Adjust an object’s Opacity slider to make it fade away.

Figure 155: Adjust an object’s Opacity slider to make it fade away.

To set an object’s opacity, select it, and then drag the Opacity slider.

Don’t Forget Object Styles

In addition to all the appearance customizations you can make to an object, don’t forget the prebuilt object styles for each type of object. In Pages for Mac and Pages for iOS, these styles appear at the top of the Style panel in the Object Format inspector; in Pages for iOS, they appear on the Style pane of the Format popover.

Also remember that in Pages for Mac you can usually save an object’s appearance settings as a style that you can then apply to other objects in your document. See Create Object Styles.

Use Computing Objects

In addition to the basic object types described earlier in this chapter, Pages provides two object types that can contain, display, and calculate complex data: tables and charts.

Both of these object types should be familiar to users of another of Apple’s iWork apps, Numbers. That’s because the tables and charts that Pages provides are almost exactly the same, both visually and functionally, to the tables and charts provided by Numbers. In fact, you can freely copy and paste tables and charts between the two apps.

In this section I’m going to describe these objects only briefly; otherwise, this chapter could easily become a book in itself (such as Take Control of Numbers, by Sharon Zardetto).

Use Tables

Commonly, you use tables in documents to present tabular lists: a list of options with pro and con points for each, a list of students with their grades for each assignment, a list of monthly bills and their costs, and so on.

Tables in Pages can be employed for all such purposes. But, being full-fledged Numbers-style spreadsheets, they can do much more, too. Their biggest drawback, it sometimes seems, is that very flexibility: creating a basic table for text can feel overwhelming when you are confronted with all the table options available.

In the following topics, I focus on how to find and navigate among these options, with only a nod or two at more advanced capabilities.

Add and Position Tables

To add a table to your document, do the following:

When you add a new table, it appears along with its row and column widgets along the top and left side of the table, as in Figure 156. These widgets are necessary for adjusting a table’s position and size, but appear only when you select the table; they don’t print, and they vanish when you select anything else in your document.

**Figure 156:** A selected table, like this one in Pages for Mac, has row and column widgets along the top and left that vanish when the table is not selected.

Figure 156: A selected table, like this one in Pages for Mac, has row and column widgets along the top and left that vanish when the table is not selected.

To move a table, select it by tapping or clicking the selection handle at its top left (for example, the handle in Pages for Mac) and then dragging.

More on Moving a Table

Like other objects, a table can be set to Move with Text or to Stay on Page (see, for example, Set Where an Object Is Anchored). If a table is set to Move with Text, you won’t be able to position it by dragging.

To solve this problem:

Work with Columns and Rows

Once your table is added to a document and you know how to select it to view its row and column widgets, you can:

**Figure 157:** Set the number of table columns with a popover control, like this one in Pages for Mac.

Figure 157: Set the number of table columns with a popover control, like this one in Pages for Mac.

Note: You can only remove rows and columns that are empty.

Row, Column, and Cell Selection

To select a row or column in a table, click or tap the table’s row or column widget above or to the left of that row or column.

To select an individual cell, click or tap it. To select multiple cells, click or tap a cell and then drag the control handles at the cell’s corners to include adjacent cells (Mac and iOS); in Pages for iCloud, click the cell and then drag to include adjacent cells.

Find Your Table Settings

Look for most table settings in the Format inspectors. As always, what you see depends on what you’ve selected. The settings are distributed among various inspector panels:

Tip: Pages for Mac has more table options than the other Pages apps (for example, conditional cell highlighting, custom cell formats, and much, much more). Though I’ve covered the basics, I encourage you to try more of the settings. And don’t forget the Pages Help; it contains a wealth of useful information (see Help Yourself).

Edit a Cell’s Contents

A table cell functions in some ways like a text box; that is, you can enter as much text into it as you like:

To clear the contents of a cell, do this:

Note: You can also select multiple cells and clear the contents of them all at once using the methods given above; see Row, Column, and Cell Selection.

Tables are spreadsheets so it shouldn’t be a surprise that you can enter complex formulas into a cell. What is surprising, however, is that, at least currently, Pages for iOS provides no way to enter formulas, though it does support formulas entered with Pages for Mac or Pages for iCloud.

To enter a formula, clear the cell (if necessary) and then type an equal sign (=). A formula editor appears (Figure 158).

**Figure 158:** You can grab the left side of the formula editor to move it in order to see the cell underneath; grab the right side to stretch it horizontally.

Figure 158: You can grab the left side of the formula editor to move it in order to see the cell underneath; grab the right side to stretch it horizontally.

In addition, when you begin to enter a formula, a Functions browser appears in place of the Format inspector. Use it to select from among hundreds of functions, including Date functions, Engineering functions, Financial functions, Logical functions, and many more. The Functions browser also provides help and examples for each function.

As you type your formula, click other cells to include references to their contents in your formula, as in Figure 158 just above. When you finish, click the green check mark to save the formula, or click the red X to discard it.

Warning! In Pages for iOS, when you edit a cell with a formula in it, Pages evaluates the formula’s current value and replaces the formula with that value.

Use Charts

Pages provides charts for those times when you need to present a bunch of related numbers in a compact visual form (if you never have that need, you can stop reading this chapter right here).

Pages offers many of the standard chart types you may have seen in one place or another, such as pie charts, column charts, scatter charts, and line charts, to name a few. Both 2D and 3D versions for many of these chart types are offered, and interactive versions of some of them are also available (these last are charts with on-page controls that you can use to view different sets of related data in the same chart, one set at a time).

When it comes to charts (and, by now, I think you can guess what’s coming), Pages for Mac provides the most extensive charting capabilities, Pages for iCloud the least, and Pages for iOS a middling number of them. And, of course, charts created in each of the Pages apps are preserved by the other apps.

Whole books have been written about the visual display of data (The Visual Display of Quantitative Information, by Edward Tufte, is a classic in the field), so I’m only going to skim lightly over the surface of what is a very deep subject here. Instead, in the remainder of this chapter, I help you Learn Chart Terms, describe how to Add Charts to documents, go over how you Edit Chart Data, and briefly guide you through the settings you can make when you Customize Charts.

Learn Chart Terms

The various chart setting options employ certain terms that you need to understand in order to use those options:

**Figure 159:** A pie chart (left) presents a data series as different size wedges in a pie; a column chart (right) shows the same values as columns of varying height.

Figure 159: A pie chart (left) presents a data series as different size wedges in a pie; a column chart (right) shows the same values as columns of varying height.

Add Charts

Adding a chart to your document works much like adding any other sort of object:

Note: Pages for iCloud displays any 3D charts added by another app as a 2D chart, but it preserves the chart’s 3D settings.

As you can with other objects, you can anchor a chart to a position in the text, or specify that it stay on the page: select the chart and then:

Edit Chart Data

Every chart that you add to a document comes with a set of sample data in one or more data series. Edit the sample data to replace it with your own. Figure 160 shows the sample data that comes with a 2D stacked bar chart.

**Figure 160:** A chart’s data appears in a table when you edit it. This chart has two data series (named “Region 1” and “Region 2”) with four categories (the month names along the top).

Figure 160: A chart’s data appears in a table when you edit it. This chart has two data series (named “Region 1” and “Region 2”) with four categories (the month names along the top).

As you can see, the data series and categories are presented in a table. You can edit the cells of the table to change the data in each series (that is, the numbers), the name of each series (shown in the left column in the figure), and category names (in the table’s top row in the figure).

To edit a chart’s data, click or tap the chart to select it and then:

Note: In Pages for iOS, when you edit chart data, you see a numeric keyboard by default; to use a full keyboard to edit the chart data, tap the chart data settings icon at the top left of the Edit Chart Data popover, and then tap to enable Full Keyboard.

To add rows or columns in the data table:

To remove a row or column:

To finish editing chart data, close the data editing window (Mac/iCloud) or tap Done in the Edit Chart Data popover (iOS).

Specifying Where the Data Series Is

You can choose whether the data series in the chart’s data table are in the rows or in the columns of the table:

Customize Charts

Charts have parts—often lots and lots of parts. Consequently, Pages offers an almost staggering number of settings for customizing charts and their parts, divided among panels in the Chart Format inspector (Mac/iCloud), or among the panes and sub-panes of the Format popover (iOS).

I won’t even attempt to provide a comprehensive catalog of all the settings: first, they can vary widely from chart type to chart type and from chart part to chart part, and, second, because by the time I finish, Pages 6 might be out! Instead, here’s a brief tour of the major points of interest.

Tip: Once again, I refer you to Help Yourself for places you can look to see more detailed explanations of the setting options for the myriad chart parts in Pages.

Chart Settings

These settings affect the entire chart. To see them:

The following types of settings may appear, depending on the type of chart selected and the app you are using, with Pages for Mac, as usual, having the most complete collection of options:

Tip: The Chart Type setting is a great way to try out different chart types quickly with your data set.

Axis Settings

You can control how each axis of a chart appears (for those charts that have axes; pie charts don’t) with the axis settings. Here’s where to find them when you select a chart:

**Figure 161:** You can tell which axis is the value axis and which is the category axis from the axis selection buttons in Pages for Mac.

Figure 161: You can tell which axis is the value axis and which is the category axis from the axis selection buttons in Pages for Mac.

**Figure 162:** In Pages for iOS, the first item in the Format popover’s Axis panel clues you in as to whether you’re adjusting a category axis or a value axis. (Give up? You’re looking at a value axis here.)

Figure 162: In Pages for iOS, the first item in the Format popover’s Axis panel clues you in as to whether you’re adjusting a category axis or a value axis. (Give up? You’re looking at a value axis here.)

Note: Some charts can have two value axes and no category axis.

These are the types of axis settings you’re apt to encounter:

Series Settings

These settings control the display of the plotted data itself. You can find a selected chart’s series settings here:

These settings, most of which you can configure only in Pages for Mac, include the following:

**Figure 163:** You can display and format value labels on the plotted data.

Figure 163: You can display and format value labels on the plotted data.

Tip: In Pages for Mac, you can click within some types of charts to select a single data series’ plotted data so you can then adjust that particular series’ appearance settings. A Series tab and a Style tab appear in the Chart Format inspector for this purpose.

Wedge Settings

These settings apply only to pie charts, which have no axes and just a single data series. Wedge settings combine settings that are analogous to those offered for axes and data series. When you select a pie chart, you can find the wedge settings on the Wedges panel in the Chart Format inspector (Mac/iCloud), or in the Chart Options sub-pane in the Format popover’s Chart pane (iOS).

Here are the wedge-related types of settings available: