You must be logged in to post Login

Search Forums:


 






Double stroke – dotted + plus line

UserPost

9:40 am
November 22, 2011


Johan Thorstensson

Sweden

Community Member

posts 4

Is there any way to create a stroke style which has both a doted and a solid portion to it? Something like the "striped" ones where one strip is a series of dots?


If not, any ideas on how to apply this in an effective way through other means? My best attempt so far is to create two lines (one dotted and one stroked), group them, add the group to a library for easy access and then dragiing it to whenever I need it.

–nJohan Thorstensson

3:10 am
November 28, 2011


Tim Hughes

Member

posts 127

Make the stroke style dotted and then give it another colour for the gaps.

Oxford UK

7:41 am
November 28, 2011


Eugene Tyson

Member

posts 653

Post edited 7:41 am – November 28, 2011 by Eugene Tyson


You could use Paragraph Rules


Set up in using both the Rule Above and Rule Below.


"Ingenious, isn't it, Mr. Bunt? "

4:04 pm
November 28, 2011


Johan Thorstensson

Sweden

Community Member

posts 4

Problem is, I'd like to reuse the double line as things like borders on frames and going along paths. And quite a few times a paragraph is intended to have the double line both above and below.


Also, the stroke and the dots aren't intended to be on top of each other, but next to eachother. Like this:

–nJohan Thorstensson

7:35 am
November 29, 2011


Eugene Tyson

Member

posts 653

Well you arrange the strokes and dots as you prefer.


I'd say for the paragraphs set it up in the Style using the Above and Below Paragraph Rule.


For frames, you'll have to group two frames together and apply individual strokes to give the illusion of a double stroke.


Same with paths, you'll have to duplicate the path and add a dotted stroke.

I'd save the dotted frames as an object style, and the solid line frame as an object style.


But there will have to be some manual involvement here.

"Ingenious, isn't it, Mr. Bunt? "

5:59 pm
November 30, 2011


Furry

Australia

Member

posts 77

Maybe a little from left field (is that expression known universally in English?) but it occurs to me you could achieve the desired look (as per your example shown, Johan) by using two single-cell tables, one within the other. Use the dotted border on the top and bottom borders of the outer cell and the solid ones on the top and bottom of the inner cell.

By adjusting the Cell Inset values of the outer cell (Table/Cell Options/Text…), you can control how close to each other the two borders appear. The left and right insets of this cell should, of course, be zero to bring the ends of the solid borders as close as possible to the ends of the dotted borders.

Your text, of course, goes in the inner cell and its Cell Offset values will determine how far the composite borders appear from the text. Centred text is obviously going to work best in the example you gave us. Other alignments would also work but you may need to adjust the left and right margins of the paragraph — or possibly the Cell Inset values of the left and right.

I had a few back-track steps in trying this out and suggest you set up the outer cell (table) completely before you place the inner cell (table). otherwise it is almost impossible to get back into that outer cell to make any further adjustments. I found I needed to delete the inner table before I could do so.

I haven’t tried this, but it occurs to me as I rite this that a single table (the one I have been calling the inner table) could simply be placed in its own text frame (it has to be in one anyway) and the dotted borders applied to the text frame. You could define the text frame with its own object style and the table it contains with its own table and/or cell style. That way you could repeat it whenever you wanted to without too much fuss and bother. Mind you, I acknowledge that it doesn’t solve the path problem, but maybe someone else can pick that up.

OK, I’ll slink back to left field now . . .

10:54 pm
December 18, 2011


atwfg828

Community Member

posts 7

Another, but not great, possibility is to click on the frame with the text on a path and use the period character offset for the dots or use the underline or strike through with an offset and then give it the dotted stroke.