Monday, November 9, 2015

typesetting - Right-aligned tabbing not working as expected in InDesign


Working on creating a table of contents. It's right aligned, and since the page numbers go into double digits, I wanted to have a tab in between the page number and the page title so I know that the titles are flush right to each other.


So, I start with a left aligned text frame (first one below) with a tab and then the number. This works as expected. But, when I change the alignment to the right, it behaves like the second frame below shows, which is not what I expect! It pushes the titles to the left of the frame, and no amount of left- or right-justified tabs were able to affect that space.


I want it to look like the third frame below, but I don't want to have two text frames to do it, because I want to have the table of contents automatically generated into one frame if possible. Does anyone know how to get the result I want with tabbing only?


Tabbing problem




Answer



Left aligned text, two right angle tabs.


[tab]Page title[tab]page number


tabs
(there's a right angle tab at the right edge of the text area. It's somewhat hard to see in the image)


Another option is to set the text as a table with two columns and then align the columns as needed.


It's customary for many layout applications to use right-aligned text with a tab somewhere in the line to stretch the tab to fill the text area. For right-aligned text, tab often means "throw whats before this tab as far left as possible." This is a quick shortcut to force text to justify to the text area at specific breaking points. So really, what you see with right-aligned text is as designed.



Additional





You can use Paragraph Styles to add the tabs automatically to the beginning of TOC lines. Basically it's set up via Bullets & Numbering for a Paragraph style and you simply use a hollow character for the bullet. Assign the TOC to that Paragraph Style and the left tabs get added.


Bullets


Click the "Add" button then click a blank character within the typeface.


This won't really help with the inner tab though.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...