You’ve seen this effect, right? A rectangle that appears to bend or fold backward behind itself:

How on earth did I do that? Well, I used two different methods in the image above. However, in both cases, the blue frame behind the heading was created with a Rule Below — a really big, thick rule that has a negative vertical Offset, and a negative Left Indent (which makes it stick out the left side of the frame):

I should also point out that the text frame in question has a text inset on the left side, which I set up in the Object > Text Frame Options dialog box. I could have also just used a left indent for the text. That keeps the text away from the left edge of the text frame a little bit.

Okay, here are the two ways I made that rule below appear to “fold back”:

Anchored Object

In the second heading, I created a small triangle, exactly the size I needed it, and then made it an anchored object. I anchored it at the beginning of line of text, and then I used Object > Anchored Object > Options to adjust the position so that it was relative to the text frame (horizontally) and the line (vertically):

Like so many things in InDesign, it takes a little while to get the first one correct. But once you have one of these, you can make an object style from it (you definitely should), and then copy and paste the anchored object from place to place.

If you have a hundred of these to copy and paste, then you’d probably want to use Find/Change to do it. You can do that with a GREP find/change… I’ll write that up in another article soon.

Custom Font

The second way that I created the fold-back effect was to make a custom font out of it. (This was suggested to me by Mike Rankin, the master of all things InDesign-effectsy.) The benefit of having a custom font is that you can make the effect right inside the text itself, without any anchored objects.

There are lots of ways to make custom fonts, but one of the coolest is the IndyFont script. You can see a short IndyFont how-to video here, and an article about IndyFont here. (You can find IndyFont here, on the Indiscripts site.)

So I used IndyFont to make a font template document with a single character (in this case, I used the caret ^ character, but I could have used almost anything). Then I made a triangle and placed it in the template, far to the left of the left side bearing:

I also moved the green “character width” guide to the zero marker, which means this is a zero-width character, and the triangle will sit far to the left of where you think it would.

Now all I need to do is type a ^ at the beginning of the heading and set it to my new font. It’s easy to make that caret get the correct font: you just add a grep style to the paragraph style that applies the proper character style:

In other words: the grep style looks for a caret at the beginning of the paragraph and applies the character style; the character style applies the font, the color, and a baseline shift to move it into position.

How did I figure out:

Where the triangle should be in the custom font?

How much baseline shift I should apply to position it correctly?

The answer to both is: trial and error. I had to tweak it at 4000% view, re-generating the font about 10 times and adjusting its position about 8 times. But it only took about 10 minutes to do, and once again: When you’ve done it once, you can use it over and over again. In this case, now every time I want that effect, I just place a caret at the beginning of the paragraph and click the paragraph style. Boom, it’s done.

Once again, there is a simple grep find/change that allows you to insert that caret at the beginning of every heading throughout your document in about 2 seconds. I’ll write that up separately.

If you want to play with this document, you can find an IDML and the font I created here.