Copy link to clipboard
Copied
Is there a way to create a charachter stle with a border around each side of the text?
<Title renamed by moderator>
Copy link to clipboard
Copied
Not with a character style but a paragraph style, using paragraph borders
Copy link to clipboard
Copied
Copy link to clipboard
Copied
A single word inside a paragraph? You can use the “pipe” character.
Copy link to clipboard
Copied
Underline.
OK, it won't work on its own... BUT - I can't check it right now - how about stacking underline defined in the CharStyle applied through GREP Style AND underline in the CharStyle applied directly to the word?
This would also - probably - require some hidden markers - so GREP style will style any word between those hidden markers?
Maybe overkill for just a vertical lines before and after - in comparison to @jmlevy's solution.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
That can get me lines all around?--
By @devorah_9121
It should - but I'm away from my laptop so can't verify.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Looks like graphic formatting do not "stack":
Yellow underline is from CharStyle directlly applied to the word - Magenta underline + Bold is through GREP Style.
Copy link to clipboard
Copied
But can be done.
CharStyle directly applied to the word + Quarter Space used as markers:
ParaStyle:
CharStyle definition used in GREP:
Width of the line will depend on the thickness of the "markers" - spaces used before/after - or through 3rd CharStyle:
used for only those markers / spaces:
Copy link to clipboard
Copied
Hi @devorah_9121 ,
is this for printed material only?
Then you could follow @jmlevy . If it is for a PDF or HTML export (also Publish online) where text should be copyable or a machine should read it, then an additional character should not be set.
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
You can place the word in a text frame and place it as an anchor.
Copy link to clipboard
Copied
Write the single word in its own frame, use either the frame border or a paragraph frame, cut or copy the frame into the clipboard and paste it as anchored frame into the text.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Why shoul it not work? Of course, you can use it easy several times. Create an Object Style which will define the text frame frame how it is anchored, and it will iclude the paragraph style and manymore.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
What you want is not possible the way you want it. You have to work how InDesign works.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi @devorah_9121 ,
what I can see is a custom stroke style that will get you the stroke above and below of a given character in one go; for example for a Strike Through.
If something is doable for left and right, that's the question.
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
> There is no way that I can get specific words bordered around in my paragraph?
Did you see Robert's suggestion, above?