Skip to main content
Inspiring
January 2, 2017
Answered

script to arrange table

  • January 2, 2017
  • 2 replies
  • 939 views

I have 5 tables in single page arranged vertically, is there any script to arrange them with equal vertical space between them...

    This topic has been closed for replies.
    Correct answer Laubender

    abhijeett89122812 wrote:

    … they are three different tables... any other solution for this.

    Hi together,

    If I understand abhijeett right:

    Three different text frames with three tables positioned on top of a graphic frame?

    Then abhijeett already had the solution.

    Unfortunately only sort of.

    ( One cannot trust the helpx pages these days… )

    The helpx page is not showing the optional controls of the Align Panel abhijeett is needing.

    Align and distribute objects in InDesign

    First make the options visible:

    But before doing the vertical alignment with the Align Panel:

    1. Select all three text frames

    2. and fit frames to contents.

    Then distribute vertically.

    Select the text frames:

    Fit frame to contents:

    Distribute vertically:

    Regards,
    Uwe

    2 replies

    Community Expert
    January 2, 2017

    Are all the tables in one text frame?
    If yes and there are only the tables in the frame you could use InDesign's Text Frame Options dialog to solve this problem:

    Before:

    After:

    ( From my German InDesign )

    Text Frame Options dialog

    Vertical Justification > Justification [Justify]

    Regards,
    Uwe

    Inspiring
    January 3, 2017

    no there are not in single text frame, they are three different tables... any other solution for this.

    thanks in advance

    vladan saveljic
    Inspiring
    January 3, 2017

    as I said above

    if the tables are in separated frames, select them all and  use "align and distribute" option (with "use spacing" or without)

    Align and distribute objects in InDesign

    vladan saveljic
    Inspiring
    January 2, 2017

    you don't need a script.

    There are various ways to do this depend on how did you placed the tables in your page

    if the tables are in separated frames  you could use "align and distribute" option

    Align and distribute objects in InDesign

    if the tables flow with the text you could use space before/after option