July 14 2008 • 1:31 PM

Create Spread Numbers

I frequently get asked how to create automatic spread numbers–as opposed to automatic page numbers–in an InDesign layout. Some users need page 1 to be numbered “1″ (first spread), page 3 to be numbered “2″ (second spread), page 5 numbered “3,” page 7 numbered “4″ and so on. I’ve never actually seen a publication numbered in this way so I’m not sure why people keep asking how to do it!

Yet another e-mail with the same question came in today, this time from a graphic designer named Jazmine:

I am working on a multi-page book. I just want InDesign to number every second page, as I would like the spreads to be numbered rather than each individual page. At the end I want to be able to use InBooklet to do the imposition for me. Right now I am using section markers to create a new section for each spread. Do you know of an easier way to do this?

Okay, enough is enough. I’ve thought about it and have come up with a solution, a little bit of a kludge and it requires CS2 or CS3, but definitely easier than using sections. It doesn’t involve any combination of auto page numbering tricks (e.g., “put both previous and current page numbers on the same page”), as I outlined in this older post, but if you can figure out a way, please tell us in a comment!

Here we go:

First, create a paragraph style just for the spread numbers–font, alignment, etc. Make sure the style includes settings for a numbered list, and that in the Numbering Style > Number field, you remove the tab (^t) and the “.” (the dot) that comes after the paragraph number by default, as I’ve done below. (In CS2, just choose None in the Separator field’s menu.)

Next, put a single text frame on the master spread where you want the spread number to appear. (Just one frame per multi-page spread, of course.) Make it shallow enough so only one line of a paragraph, styled with your spread number paragraph style, will fit inside.

In the screen shot below, I’ve zoomed into my spread number text frame on the master page (see the dotted blue text frame?) and inserted an empty paragraph, styled with my “spread numbers” paragraph style, to help me judge the height. Even though the paragraph has no text, it still gets a number because of the numbered list settings in the style. Uh-huh … can you see where I’m going with this?

If you inserted any text or even an empty carriage return (as I did above, to test the frame size) into the spread number text frame on the master page, delete it now, otherwise this method won’t work. Any text you’d like to appear next to the spread number should be in its own separate frame on the master page. If you want, you can select the number frame with the Selection tool and choose the spread number paragraph style (as I’ve done below) so the text you’re going to put in there will automatically be styled correctly.

Now we’re ready to rock. Go to the document spread where you want the spread numbering to begin. Choose File > Place, and select a text file that’s comprised of a series of empty carriage returns, one after the other. Don’t have one hanging around? Here’s one I created in Text Edit, called “returns.txt,” that has about 200 empty returns.

Shift-click the loaded place cursor over the frame where the spread numbers should appear to autoflow in the entire text file.

Since each frame can hold only one paragraph, autoflowing the text file will generate a ton of spreads (easily deleted afterwards, or just edit the text file before placing it). And since the paragraph style is a numbered list, you’ll see each each spread get “numbered” in increments of one. For example, here’s the lower-right corner of the page 14–15 spread:

I know Klaus is going to ask (heh), so yes, you can download the spreadnumbering.inx layout file I used to create the screen shots above, before I flowed in the text file, if you want to inspect it yourself. Use the File > Open menu in InDesign CS2 or CS3 to reconstitute the INX file back into an INDD layout file.

18 Responses discussing this post. Add yours below.

  1. Alan
    July 14th, 2008 • 1:53 pm • Link

    Anne-Marie,
    This numbering is often used when making student/teacher guides. Left panel is the instructors reference and the right panel is the student page. We then print out just the right panels to make the student editions.

  2. July 14th, 2008 • 2:27 pm • Link

    This is kind of like numbering tickets. But I’d still prefer to create a text file with real numbers and place that.

    If you make a paragraph style for the numbers and set it to start in a new frame every time you don’t even have to worry about the precision for the text frame.

    OTOH, it’s always nice to figure out a new use for a feature. :)

  3. July 14th, 2008 • 3:28 pm • Link

    Hey David, it’s not fair of you to pre-empt my asking for an INX file! Aside from that, your posting is, well, “interesting”.

  4. July 14th, 2008 • 4:19 pm • Link

    Sheesh!

    ;-)

  5. July 14th, 2008 • 5:14 pm • Link

    Hey Klaus,

    David’s one the with the shorter hair.

  6. July 14th, 2008 • 5:36 pm • Link

    Hmmmph. The new website design hides away the posting author to near-invisibility, I find, and I’ve also most often “been after” David regarding this INX issue — hence my confusion regarding those two folks . . . with rather differing hair lengths. Hmmmph.

  7. July 15th, 2008 • 4:05 pm • Link

    Nice technique AM,

    I hate to plug my own product, but…

    One of the functions of Multi-lingual Tools is “Spread Numbering. It creates the spread numbering on a selectable page range, and is easily undoable…

    Harbs

  8. Dave Courtemanche
    July 16th, 2008 • 10:22 am • Link

    On a separate, but related, note: I work with a designer that likes to use a zero on single digit page numbers, so that all of the pages are 2 digits (up to 99, of course). Is there a way to do this with auto page numbering?

  9. Lisa A
    July 17th, 2008 • 10:58 am • Link

    Yep Dave, just start a ‘new section’ at page 1 in the page layout panel (select page 1 then right click to “Numbering and Section options”) and use 0 as the prefix, click “Include prefix when numbering pages”. Et voilà. You will need to repeat this exercise when you get to page 10 to start a new section at P10 with no prefix.
    Hope this helps. L.

  10. Chi
    February 23rd, 2009 • 12:07 pm • Link

    Reason spread numbering is needed: to meet proposal writing page limits. Some proposals have a 10-page limit, but allow double-sided printing. So, instead of auto page numbering which would list 1-20 pages, I would like to number the spread to show that the proposal is in fact only 10 pages.

    Question about your empty frame, number list method: is there any way to translate this info into a table of contents?

    Thanks.

  11. Ben
    March 26th, 2009 • 11:35 am • Link

    I hate to ask even more from an obviously quite tricky problem, but is there a way of doing this to an already existing document rather than starting a new one?
    I’ve a 500 page doc that I want to add spread numbers to, oh and can they auto update if I move the order please!!!!!
    thank you kindly :)

  12. Meurig
    June 1st, 2009 • 3:26 am • Link

    I need some help with numbering pages in paginated spreads.. If anyone can help.. PLEASE!!!!
    I’ve been given a small booklet, setup in printers pairs.. It’s only 16 pages.. So, the first spread is 16 and 1.. the next is 2 and 15 and so on…
    Can anyone tell me how to set up a master page to auto number pages in this fashion?
    Meurig

  13. David Blatner
    June 3rd, 2009 • 9:07 am • Link

    @Meurig: There is no way to automate that. But you should not have to. Make the document go from page 1 to 16, then use File > Print Booklet to print it out in printer spreads (where 16 and 1 are next to each other, etc.)

  14. Camilo Umaña
    September 1st, 2010 • 1:18 am • Link

    Jong:
    In my book (is a piece of 300 photographs only with a caption) we decided have not page numbering. Instead, s each piece has a consecutive number this will be the unique reference for the plates.
    I have copy-paste a paragraph numbered item in each page (3 minutes) and it was enough. Text variables in ID are very primitive and limited but in the future (no future for printed book…) perhaps will be the heart of composition in complex pieces.

    I remembered how I made In WP some pages for my publishers many years ago as calculate the author’s royalties. Was as easy as open a template and fill with the book price, book sold, etc and with an enter the page showed the sum that should be paid to the author for that semester…

  15. Agnar Renolen
    June 15th, 2011 • 3:37 am • Link

    Spread numbers are frequently used in map books, atlases and such like.

  16. Agnar Renolen
    June 15th, 2011 • 4:18 am • Link

    And the method does not make it very easy to autonumber two (or even four) equal numbers on same page, let alone embed the spread number in the master page?

    See example: http://www.jansalpines.com/gallery/main.php?g2_itemId=20975

  17. April 12th, 2012 • 4:36 pm • Link

    I recently was asked the same thing. A customer wanted the same page number repeated on both left and right pages.
    Your solution did not work for me but the following works.
    1. Add a new layer and make it non printing.
    2. Create a new, unique paragraph style which the text variable can use. E.g. pagNum
    3. Create a text frame on the left page of each two page spread on this layer with this style. It will show on the page but will not print
    4. Enter the number of the spread in the text box on each spread.
    5. Define a text variable as a running header.
    a. Go to Type/Text Variables/Define/New
    b. Give it a name
    c. Select ‘running header (paragraph style)’ as type
    d. Select the style defined above
    e. Select Use: First on page
    f. Enter text before, e.g. ‘Page ‘ and text after if any
    g. Click OK
    6. Go to master page and create text frame where you want the page number to appear on left and right pages.
    7. Enter the text variable in the text frame
    a. Go to Type/Text Variables/insert
    b. Select the variable defined above
    8. Do this for both left and right pages

    Now, each two page spread will pick up the non printing spread number and repeat it on both left and right side. Since the paragraph style is unique, it can be anywhere on the page and the text variable will pick it up as the first occurrence of that style.

    Now, to actually create the text frame and spread numbers automatically requires a script which I wrote. I will send it to you for anyone to use if you want.

    Ben Milander

  18. May 22nd, 2012 • 6:21 pm • Link

    I have written a free script which can help in numbering spreads. If interested, go to http://benmilander.com/free-number-spreads

    Ben Milander

Subscribe to the Discussion

Get the ongoing discussion surrounding "Create Spread Numbers" delivered to you. Click here to subscribe via RSS.

Leave a Reply

You can use limited HTML tags, such as <em></em> for emphasis/italics and <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

InDesignSecrets reserves the right to edit and/or remove posts and comments.