Skip to main content
December 16, 2016
Question

Add a custom character at end of paragraph

  • December 16, 2016
  • 3 replies
  • 2905 views

Hi

is there a way to define paragraph style that append a character at end of paragraph ??

I want to define a paragraph style that place a character at next line of end of paragraph.

whenever i applied that style on my paragraph this will automatically add that character at next line.

for example, my paragraph is "My name is ABCD",  whenever i applied that style on it this will look like

"My name is ABCD"

         "D"

here  "D" is character placed at last line.

thanks

This topic has been closed for replies.

3 replies

vinny38
Legend
December 19, 2016

Hi

please find below another trick

I don't know how your design looks like, so it definitely might not be suitable....

The idea is to put an extra carriage after the paragraphs where you want to add the "D". I usually never recommend such a thing, but well.. this is for a trick...

Let's say your design allow Title para style (lets call it "h1"), then Normal para style, which must be followed by a "D" (lets call it "p").

You'll need a specific para style for the D, lets call it... "D" ^^

OK now, set your h1 style as being followed by "p", set "p" to be followed by "D" and "D" to be followed by "p".

Set up your "D" para style with the desired bullet...

Now, here come the "magic".

Create a new object style, based on text frame.

Go to paragraph styles submenu, select first style to apply ("h1" in this demo)

and... tick "Apply next style"

Apply this object style to your text frame.

Here's the result:

Most probably completely useless trick but... i had fun ^^

regards

Vinny

December 16, 2016

Hii Obi-wan Kenobi

can you please provide the paragraph style and character style details????

Loic.Aigon
Legend
December 16, 2016

I don't think you can get this behaviour by just applying a style.

However, something a grep F/C would easily do

applied style myStyle

FIND (.+)

Replace $1\rD

December 16, 2016

Thanx for quick reply,

But I am having problem scenario such that create a template and define paragraph style in it. using script flow content from xml  and apply paragraph style in it. So i think this will not full fill my requirement.

is there another way to address this problem ????

Sandee Cohen
Legend
December 16, 2016

First, you will need that extra line incorporated into the text imported from xml.

Next the character will have to be a single glyph in a custom font.

Then you use the same techniques you're using to apply the styles to the first paragraph to apply a second style to the "D" paragraph.