Aligning a paragraph to the BOTTOM of a text frame

8 views
Skip to first unread message

Pat Bensky

unread,
Mar 2, 2018, 5:20:04 AM3/2/18
to indesi...@googlegroups.com
I have a document that consists of lots of individual text frames. They are variously sized.
The content of the text boxes varies, but the last line is always the pricing info. 
Regardless of the frame's contents, I want the pricing info line to always appear right at the bottom of the frame. Is there any way to make this happen automatically - i.e. without having to manually insert empty lines to force it down?
I've tried fiddling with the grid and choosing "Align to grid" for the Paragraph Style, and that would work if all the text frames were the same height, but they aren't.

What I need is a Start Paragraph option "Bottom of frame" :)
Is there any way to achieve this?

Note - the entire document is built from an imported tagged text file, using Xtags.

Pat

--
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************

Dick Margulis

unread,
Mar 2, 2018, 6:58:05 AM3/2/18
to indesi...@googlegroups.com, Pat Bensky
On 3/2/2018 5:20 AM, Pat Bensky wrote:
> I have a document that consists of lots of individual text frames. They
> are variously sized.
> The content of the text boxes varies, but the last line is always the
> pricing info.
> Regardless of the frame's contents, I want the pricing info line to
> always appear right at the bottom of the frame. Is there any way to make
> this happen automatically - i.e. without having to manually insert empty
> lines to force it down?
> I've tried fiddling with the grid and choosing "Align to grid" for the
> Paragraph Style, and that would work if all the text frames were the
> same height, but they aren't.
>
> What I need is a Start Paragraph option "Bottom of frame" :)
> Is there any way to achieve this?
>

You can set the frame properties to align bottom. This will maintain a
fixed spacing between the price line and the paragraph above it, but it
will bring the top of the text block down to wherever it falls relative
to the top of the frame. It's not clear to me whether that's what you're
trying to do or whether you also need to keep text at the top of the
frame, in which case this is not the solution you're looking for.


Boris Kas

unread,
Mar 2, 2018, 7:01:24 AM3/2/18
to InDesign Talk - Google
Only Script, IMHO




--
You received this message because you are subscribed to the Google Groups "InDesign talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to indesign-talk+unsubscribe@googlegroups.com.
To post to this group, send email to indesi...@googlegroups.com.
Visit this group at https://groups.google.com/group/indesign-talk.
For more options, visit https://groups.google.com/d/optout.



--
Всего доброго, Борис

William Adams

unread,
Mar 2, 2018, 8:54:21 AM3/2/18
to indesi...@googlegroups.com
If the last line is only pricing information:

 - add a paragraph inset which blocks off that portion of the text block from normal text
 - create a text block which is bottom aligned
 - Object | Anchored Object | Options | Custom
 - Reference Point --- bottom right corner
 - Anchored Position Reference Point
 - X Relative to Text Frame
 - Y Relative to Text Frame
 - set Reference Point to bottom right corner

William


Boris Kas

unread,
Mar 2, 2018, 10:07:10 AM3/2/18
to InDesign Talk - Google
Script SpaceBefore_ForLastPara.jsx

1) Select with Black Arrow 1, 2 or more TextFrames.
2) Run Script.

This works, although not very fast

SpaceBefore_ForLastPara.zip

thomas olbrich

unread,
Mar 8, 2018, 2:12:56 PM3/8/18
to InDesign Talk - Google
Besides Boris' elegant script I see a workaround with text frame options set to vertically: 

For text paragraphs before the pricing use soft breakes only. It allows to keep the text together at the top. Make a hard paragraph brake only before the price line. 
In the frame options: Use the vertical adjustment to force the text after the hard brake down to the bottom. The frames height and text amount may vary. If needed adjust the maximum distance. Make an object style for those frames.

p.s. sorry for the attachment, Im not sure about the english interface/panel terms.

thomas



--
You received this message because you are subscribed to the Google Groups "InDesign talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to indesign-tal...@googlegroups.com.
vertical adjustment screenshot.jpg

Boris Kas

unread,
Mar 8, 2018, 2:39:37 PM3/8/18
to InDesign Talk - Google
OFFTOP: I think you should not apologize about the attachments. If there is such an opportunity, then it must be used. It helps a lot to understand the problem...

To unsubscribe from this group and stop receiving emails from it, send an email to indesign-talk+unsubscribe@googlegroups.com.

To post to this group, send email to indesi...@googlegroups.com.
Visit this group at https://groups.google.com/group/indesign-talk.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "InDesign talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to indesign-talk+unsubscribe@googlegroups.com.

To post to this group, send email to indesi...@googlegroups.com.
Visit this group at https://groups.google.com/group/indesign-talk.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages