Adding columns to text boxes

By Matthew Baker, Esri Software Engineer

As a judge for the Map Gallery at the Annual Esri International User Conference, and the Cartographer for the Esri Map Book, I am fortunate enough to see what many of you are doing with ArcGIS to create printed maps.
This year, one issue I frequently noted was very wide columns of text.  Below is an example, and the reason it doesn’t work is that it is hard to make your eye track along the long lines of text and then reliably find the next line. As presented, the text below almost guarantees that nobody will bother reading all the text that the Mapping Center team worked so hard to write.


Columns Text - Figure 1
The default New Text tool in ArcMap’s Draw toolbar produces text that fits within a box that you draw and can resize, but that’s all–the text just flows to fit the box.  If you instead use the New Rectangle Text tool (highlighted above), there are several advantages including a handy columns feature in the text box properties. I will use Mapping Center’s Gulf of St. Lawrence map to illustrate how to use the New Rectangle Text tool:

  1. If you open up the Gulf of St. Lawrence map document, it doesn’t have any text boxes, but we’ll add some and play around with the columns feature and see how adding columns not only makes it easier to read your text, but can actually let you use less space for text on your map layout. For the sake of this example, move the map up in order to make room for text box at the bottom.
  2. On the Draw toolbar, click the drop-down arrow next to the big letter “A” (new text), to show the context menu that has more options for adding text to your map. Choose the New Rectangle Text option:
    Columns Text - Figure 2
  3. Draw a rectangle on your layout. You will be left with a text box with the word “Text” in it.
    Columns Text - Figure 3
  4. From your web browser, copy the Purpose and Audience text from the Mapping center Gulf of St. Lawrence site.
  5. Double-click on your text box to open it’s proerties and paste (Ctrl+V) the text into the Text box.
    Columns Text - Figure 4
  6. Click OK and you will see the text is too long for the text box on the map, so go ahead and resize it so it looks similar to the example shown above (illustrating why wide text boxes are a bad idea).
  7. Double-click the text element to open the properties and then click on the Columns and Margins tab:Columns Text - Figure 5
  8. Change the number of columns to 3, move the properties dialog box to the side of the screen and click Apply to see the changes.
  9. The result won’t be bad, but there is room for improvement. Note, however, that we have decreased the amount of space needed to fill the box. We can resize the box manually to fit the text by grabbing the bottom handle on the text box and moving it up to fit out page, but that could get a little tedious, and we’d likely want to stick to a specific size for our text box. While still in the text box Properties window, access the size and position tab. We’d like to stick to a 9” wide text box, but we’re not sure of the height at this point. After a little trial and error, the ideal height seems to be 1.45”.
  10. Click Apply to see the changes:Columns Text - Figure 6
  11. Let’s try a little more, like using Formatting Tags to make the title bold.
  12. Change the first line of text to look like: <bol>Purpose and Audience</bol>
  13. Now add another tag around this to make the the font larger: <bol>Purpose and Audience</bol></fnt>
  14. Next, change the border and background to suit the map by editing text properties on the frame tab.

Here’s the final result:

Columns Text - Figure 7

I hope this helps reduce the time it takes you to edit the text in your layouts and improve your maps.  I also hope to see more maps using this feature in the 2009 Map Gallery!

This entry was posted in Mapping and tagged , , . Bookmark the permalink.

Leave a Reply

2 Comments

  1. kvydt says:

    These Rectangle Texts (also called Paragraph Text) have one big disadvantage.

    When there is a word in your text that is longer than the width of the rectangle, this word (and all the following words !) are not displayed. A “word” in this case is any set of consecutive characters that does not contain a space.

    This can become a problem when including path references (for example the location of the mxd-file) without spaces in the text.

  2. cfrye says:

    Good point–the same goes for include URLs. The trick I use is to add a space after the slash “” or “/” characters which provides a convenient basis for word wrapping.