Skip to main content
Participant
April 16, 2023
Question

Hello How can you put a decoration at the end of a paragraph? at the end of a page using grep

  • April 16, 2023
  • 2 replies
  • 450 views

Hello How can you put a decoration at the end of a paragraph? at the end of a page using grep

This topic has been closed for replies.

2 replies

Barb Binder
Community Expert
Community Expert
April 16, 2023

I'm somewhat unclear on where you want it since you said two different things (para and page)... do you want it at the end of the stories to signal the end to the reader? If so, how about this? Add one right indent and desired ornament (as per @Steve Werner), cut it to the clipboard. Create a GREP Find/Change query:

Find: \z

Change: ~c

Where \z matches the end of the story, and ~c pastes the formatted clipboard contents.

 

You can change \z to $ to signal the end of a paragraph, but there is no way (without scripting, perhaps) to match the end of a page.

 

~Barb

 

~Barb at Rocky Mountain Training
James Gifford—NitroPress
Legend
April 16, 2023

Yeah, that was my stumper — easy enough to apply to all paragraphs (perhaps using a style to limit it), or to end of story, but end of page is going to take wetware or a script. 🙂

 

It's just possible this material could be structured as independent stories, since the marker seems to be a magazine-like 'end of article' mark.

Steve Werner
Community Expert
Community Expert
April 16, 2023

You don't need to use GREP. After the last word or punctuation in the paragraph, type a Right Indent Tab (Shift-Tab) then the decoration:

 

James Gifford—NitroPress
Legend
April 16, 2023

(Is it Word that has a "bullet at end" feature? Hmm.)

 

This could be done with search and replace, searching for the paragraph end (or period + pilcrow), but I can't think of a simple way to detect the end of a page.