0

I am looking for a way to create this type of boxes (like "uncommon", "evocation", "magical" in the image below) around text.

Mostly this text would be on a separate line, but it should be practical to use, so it should be in-line text: The box size should change with the length of the text inside, and any number of these boxes; Usually between 2 and 5 would appear on these lines.

I experimented with Character Styles (underline options, but doesn't allow me to do the frame) as well as tables (I don't know how to make each cell flexible width), but I'm probably missing the optimal solution here, and would be grateful for some assistance.

style with text in boxes which I would like to recreate

1

1 Answer 1

0

Funny challenge. I've managed to make something like this with the combination of custom type of underline and strikethrough line:

enter image description here

You'll need two character styles: for the text (and spaces around) and for the spaces on the left and right sides.

The custom type of line for strikethrough line looks like this:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.