Thanks for coming to InDesignSecrets.com, the world's #1 resource for all things InDesign!

Solving Problems With Complex Table Formatting

I recently had to design a calendar in InDesign using complex table formatting with very specific requirements for row and column strokes:

  • Thick lines separating each month, spanning across the columns
  • Names of the months in white, with a colored background
  • Individual days with row dividers, but not column dividers
  • Row dividers could not span across the columns
  • Weekends formatted like the weekdays, but with blue row dividers
  • Weeks starting with Monday

Initially, I tried to use InDesign’s row and column strokes to accomplish this, but that proved to be impossible. We InDesign users have been complaining for years about how difficult it is to format tables.

After mentally chewing on this issue for a week, I decided to almost completely ditch the idea of using row and stroke formatting for this. This table is so complex and unusual that I thought I would share how I created it:

I set up the numbering using auto-numbering. So all I need to do to get a number in each cell is to add a space.

The next issue was row stroke. The issue with row strokes in table formatting is that they are affected by both the cell style of the row above as well as the row below. That’s one too many variables for me!

After ditching the idea of row strokes, I decided to use paragraph rules above to accomplish what I needed. That would also allow me to use the same paragraph style that I set up for the numbering. I adjusted the left and right indents a bit so that there would be some blank space in between each of the columns.

Formatting the weekends was as easy as making a new paragraph style based on the Weekday numbering style. All I had to do was change the color of the rule above.

Same thing for the divider bars in between each month: for those ones, I made the stroke thicker, and reduced the indent (thus making the line longer).

The last thing to tackle was the colored background behind the name of the month. At first glance, it looks like a separate cell. But if I did it that way, I would no longer be able to distribute the rows evenly. The most flexible method I could think of was to use paragraph shading. I wrote about that here as well. I adjusted the offsets so that it would sit where I wanted to.

The beauty of using paragraph shading for this formatting is that it can be built into the paragraph style, which now applies the typography, rule above, as well as the paragraph shading.

So in the end, the only thing I used cell styles for was for the cell insets.

The only time that I needed to actually use the table row formatting was at the very bottom of the table, where there were no paragraphs below to provide the line.

Kelly Vaughn

Kelly Vaughn

Kelly Vaughn (a.k.a. "Document Geek") has over a decade of print and design experience. She holds Adobe Expert Certifications In InDesign, Illustrator, Photoshop, and Acrobat, and specializes in writing and designing technical manuals for the marine industry.
Kelly Vaughn

Latest posts by Kelly Vaughn (see all)

  • - November 30, -0001
Tags
Related Articles
Comments

8 Comments on “Solving Problems With Complex Table Formatting

  1. I love coming up with solutions to complex problems like these, and when other folks share their solutions and ideas as well. Thanks Kelly!

  2. Kelly, I’m not advanced in automating stuff in ID. I’m wondering how to use the auto numbering feature to do just a simple one-month calendar page. How does it know where to start, how many days are in a specific month, that sort of thing?

    • There is a really good script that I’ve talked about on InDesignSecrets.com before. It’s by Scott Selberg and it’s called Calendar wizard: http://calendarwizard.sourceforge.net/ It will create all kinds of calendars and it’s all automated.

      Back to your question: the auto numbering feature in InDesign is completely unrelated to the date feature so using auto numbering to act as the date needs to be done manually.

  3. Timothy,

    Calendar Wizard is a good way to go. It doesn’t use Auto-numbering but is great for most calendars.

    If you’re really interested in how to use numbering in tables, here is a great article: https://indesignsecrets.com/how-to-number-your-rows-in-a-table.php

    The thing to keep in mind is that InDesign will numbers the cells from left to right, top to bottom. When you want to restart the numbering, choose “Restart Numbering” from the contextual menu or set up a separate style the restart numbering. You’ll need to manually set where it restarts. But you can quickly set up en entire years worth of days, and then restart the numbering just on the first days of the month.

Leave a Reply

Your email address will not be published. Required fields are marked *