Skip to main content
Participant
December 18, 2023
Question

Want to make a paragraph style to add triangle symbols with opposite directions on both sides of t

Hi

is there a way to define paragraph style that append like this?

Ce sujet a été fermé aux réponses.

3 commentaires

J E L
Community Expert
Community Expert
December 18, 2023

Could you use a font with that arrow symbol, color and size it using a Character Style, and type it into the headline?

 

James Gifford—NitroPress
Legend
December 18, 2023

Probably not without a script. I thought GREP or Nested Styles might do it, but nope. Closest I can come is to use Paragraph Border:

...which is limited to rectangular 'characters.' Can't even apply corner values without top and bottom strokes.

 

Participant
December 18, 2023

I don't know how this PDF achieves this function, maybe using other software?

James Gifford—NitroPress
Legend
December 18, 2023

If you mean a selection highlight, that's controlled by multiple levels of document construction, and (often) ultimately the reader itself, which uses a default or encoded visual highlight for a link.

 

As noted, you can just type the triangles in for each heading or link; no automated style needed.

 

A more 'automated' method might be to use a GREP search to find all heads of that style and then paste the triangle character and an en space at each end. It would take a script, I think, to keep from doubling that up on successive searches, but you can use "wetware" judgment to apply or pass on each heading found, or (a hack I often use in this sort of situation) run the replace/add search, then do a search for double examples and reduce them to one. (Does that make sense?)

 

And, if you want the triangles to be a different color from the head, a GREP style will handle that automatically.

Community Expert
December 18, 2023

I don't see paragraphstyle has any option to automatically add any character at the start and end. So in my opinion it isn't possible. You can try using find/change or script to achieve this.

-Manan

-Manan