Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

TOC Leading Dots: Adding a space before page number?

Return to Member Forum

  • Author
    Posts
    • #90843
      Nick Syrett
      Member

      I have the TOC feature working great! It is picking up the correct paragraph style and making me a beautiful TOC with my chapter titles separated by leading dots (using the character style ‘underline’ approach).

      However, I don’t like the way the leading dots run right into the page number. I’d like to have a small space before the page number:

      CURRENTLY:

      Secrets from IndesignSecrets………………………………………..45

      WHAT I NEED:

      Secrets from IndesignSecrets………………………………………. 45

      (note the space before the page number).

      I am sure this is super simple… but I cannot figure it out! What’s the secret!

    • #90844

      Hi Nick, this is super simple, but you can make a lot of things wrong ;-)

      1. It is a difference, if you use the underline-feature or give a tab a Leader. If you use the underline-feature with dots, you will get dancing dots. So in a toc I would always vote for the Leader.

      2. So insert in the toc-dialog > Between entry and number > something like ^<^y^>
      ^< thin space after your entry
      ^y tab for right indent (put the page number at the end of the textframe and works like a rubber band)
      ^> En space between tab and page number

      3. Create a paragraph style for your toc-entry, set a tab in the style (wherever your want) and insert a dot in the Leader-Field. This step is needed, cause a right indent tab cannot have a leader.

      4. Create a character style with e.g. Tracking 200, Horizontal and Vertical Scale 80% and apply it in your toc-style in the GREP-Field with ~y.

      As a result you will get perfectly aligend dots, with a bit of tracking and in a size of 80% of your text.

      Kai

    • #90896
      Nick Syrett
      Member

      Thanks Kai

      I have followed your instructions exactly but with mixed results!

      I do end up with a bigger space before the page number so that is good, and it is workable but not yet ideal. Why? Because the space is now too big! And when I experiment with the ‘codes’ in the “Between entry and number” ^<^y^> I cannot seem to reduce the space. In fact, I cannot seem to control the space at all with these codes… when I try a “thin’ or ‘hair’ space it is the same. When I try an en-space it is the same. If I try nothing and simply have the right-intent-tab code I get the strange result of the same space but with the second digit of the page number bigger than the first. I know I am doing something wrong, but I cannot see it.

      Is it something to do with the tab position in the paragraph style? My read of your instruction leads me to conclude that you mean that the tab position bears no relation to the location of the page numbers, i.e. we’re simply just using this feature in the paragraph style to generate the actual leader dots.

      Sorry, I’ve tried playing with this for a few hours, but cannot seems to figure it out.

    • #90902

      Ok, I try to explain what is going on here.

      There are two ways of solving the dots issue. But before you decide for a variant, you have to make a preliminary consideration: There is always a space available between the last character in the line and the page number. Because lines can have different length or an m-character has a differenzt width than an i-character > those spaces are always different!

      1. Fill the space (the tab) with an underline:
      If you insert e.g. a thin space after your last character, then a right indent tab and then a en-space before your number and give a underline to your right indent tab, the first dot will start immediately after the thin space and will end exactly before the en-space (note that in practice there is a bit of room because of the tracking of the character). If you insert those dotted underlines for multiple entries and draw a guide on one of those points, you will see that the dotts are not vertical aligned to each other. This happens, cause the distance of two horizontal dotts is calculated by the available space.

      2. Fill the space (the tab) with a leader:
      Because it is important that those dotts are vertically aligned, the start and end point is not realy defined by the end of the thin space or the beginning of the en-space. It may happen, that you insert a thin space and the dot will start visualy at an en-space. In the end you will get different spaces at the beginning and at the end, but perfectly aligned dotts.

      I like to compare this with justified or left-aligned text: Justified > all lines have the same left and right edge. To achieve this, the space between words must be different. Left aligned: same left edge, but different right edge. The width of all spaces between words is the same.

      Now clear?

      Kai

      P.S.: If the spaces are to big, remove the thin space and the en-space and see what is happen.

Viewing 3 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads