Indesign CS2 UNderline/Strikethrough problems!!!

elastik's picture

Looking for a way to specify space left and right of the underline. It is only possible to change vertical offset, but i simply need my underline to leave 1mm space to the left and the right of the underlined word/line. Any ideas, maybe workarounds or hacks????

quite urgent, so any help much appreciated!!!

thanks constantin

oldnick's picture

In ye olden days BDTP (before desktop publishing), typesetters could insert spaces of various sizes (thin, normal, en, em) wherever they wished. You could insert a regular space on either side of the underscore, then adjust the horizontal scale of those spaces to match your requirements. Once you are satisfied with the results, you could copy and paste the space+underscore combos (beginning and ending) wherever you wanted.

elastik's picture

to make it a bit more complicated i am looking for a solution using character/paragraph style. I have quite a bit of text to style like that.....

Bert Vanderveen's picture

Why not using a condensed space with underline? Just fiddle until it's about a mm wide. Make that a separate style and build the total using nested styles.
Quick though dirty...

elastik's picture

Ok guys. Now i figured out that I can just insert a space or an em space. That works fine. only thing is that i have a lot of text and it isnt really the most efficient way to manually insert spaces, especially if i need to change the width of my textbox. So i really need to use character / paragraph styles, but i just cant figure out how to include a space into a character style. Any help????

Thanks a lot,
Co

Chris Rugen's picture

I don't think there's any way to cap a style with spaces in-line like that. Just a lot of find and replace, I guess.

jay's picture

Uh, I'm pretty tired so I'm not sure I understand what your goal is, but you can probably do this with a series of search-and-replaces.

Step 1:
find: [space]
replace with: [hair space][thin space][hair space]

Step 2:
find: [thin space]
replace with [character style: notUnderlined]

You then have the underline extending past the word the width of a hair space, a break, & new underline that extends a bit before the word. If you want the break to be bigger, you can replace the thin space w/ a regular space, then muck with the word-spacing parameters.

Obviously, you want to do this after all editing is done. :0)

Jay

tina's picture

elastik, I don't know if that works with your text flow, or if it's even more complicated than the suggestions made before, but you might as well try using table cells and take the bottom cell border as your (under-)line (with the stroke weight of your choice applied). One cell with a variable width sits in the middle (for your text) and two cells with fixed widths to its right and left. All the other cell borders (above and vertical) are then set to "none"/no stroke.

Dan Weaver's picture

Add a paragraph rule under your text. Command Option J (Mac) and establish a right and left indent on your rules. You can make them either the length of the text or the text frame and of course you can indent them and offset them.

Syndicate content Syndicate content