Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

In InDesign CS6, I'm aware that I can apply drop cap style to characters at the start of a paragraph. However, what if I need drop caps for characters that are at the end of a paragraph?

How can I apply a drop cap style for characters that are at the last character of a paragraph?

share|improve this question
    
Looks like a Grep rule which only applies to .$ should work. –  Andrew Leach Jun 25 '13 at 12:53
    
How do you even do that? I can't even find the function which would allow you to add a drop cap to anything but the beginning. –  Lauren Ipsum Jun 25 '13 at 13:12
    
@AndrewLeach Even with the .$ defined in the Grep rule, I cannot set the drop cap lines option in the Character Style options. I can only assign Character Styles to Grep rules, but Character Style does't seem to let me set anything on drop caps, or does it? –  xenon Jun 25 '13 at 22:22
    
Unfortunately the computer I have with InDesign on it is currently in pieces, which is why I only commented. –  Andrew Leach Jun 25 '13 at 22:30
add comment

1 Answer

up vote 3 down vote accepted

GREP rules are more powerful than Indesign's Drop Caps feature, and can do this. You add them in much the same way, via paragraph styles, and you choose what character style to apply to the text that matches the rule.

The downside is, they're harder to set up... It looks like voodoo at first. But clicking on the @ icon you can browse the possible options and tick 'Preview' to trial-and-error it until you get a rule that works. It's not as scary as it looks, but it does involve some head-scratching and can involve a lot of trial and error.

Here's a few handy GREP rules that might do what you want:

  • Last character of the paragraph: .$
    • ($ = end of paragraph, . = one of any character)
  • Last 4 characters of the paragraph: .{4}$
    • (four repetitions {4} of . at the end of the paragraph $)
  • Last word of the paragraph: \s[^\s]*$
    • (from a whitespace character \s, if there's a chunk of non-whitespace characters [^\s]* that reaches the end of the paragraph $, grab it)
  • Last letter or number in the paragraph: [\d\l\u](?=[^\d^\l^\u]*$)
    • (any one of [] a digit \d, lowercase \l or uppercase \u that is followed by (?=) any number of []* things that aren't digits, lowercase or uppercase that are at the end of the paragraph $)

If you want some equivalent specifically of the multi-line feature drop caps have, where text wraps around the styled character, that's quite tricky. Text can't flow around things that are ahead of it in the text, so you can't make this happen completely automatically.

But you can make things like this, that move and flow with the text as you add more text, with only a little manual work:

enter image description here

  1. Create a text frame of the size of your 'drop-cap' (in CS6 you can set it to Auto-Size in Text Frame properties). Put the character in, give it a style of the right size, etc.
  2. Cut the text frame, put the text cursor at the start of your paragraph, paste.
  3. Select the smaller frame, right-click, Anchored object > Custom.
    • Set the anchored position to X relative to Text Frame, 0 offset, reference point on the right
    • Leave "Prevent manual positioning" unticked, hit okay, and drag it down to the end of the paragraph.
    • (unfortunately if you just place the anchor at the end of the paragraph, the text can't wrap around it... a long standing annoying bug/limitation)
  4. Make sure it has text wrap from the Text Wrap window, so text wraps around it. Add any padding here if needed.
  5. When you need more of these, copy and paste this frame (selecting it and pasting it as text with the type tool, not selecting the frame directly) then move it down to the end of the paragraph. Or, you can save this as an object style.

enter image description here

share|improve this answer
    
Thanks, however, the GREP rules only allow me to assign a Character Style. Unfortunately, I can't specify the number lines the character should span through like in a Drop Cap option in the Character Style options. –  xenon Jun 25 '13 at 22:13
    
So you're looking to style the last X lines? Because your question currently says "style for characters that are at the last character of a paragraph" - talks about characters, not numbers of lines. –  user568458 Jun 26 '13 at 15:21
    
No, not last X lines. I'm looking to style the last character of a paragraph. What I was saying in the comment is even though using GREP rules allow me to indicate the position of the character, say with .$ I can refer to the last character, I still cannot apply a drop cap style to that character. –  xenon Jun 26 '13 at 22:42
    
@xenon Ah okay, got it - you're trying to make the text wrap around a character at the end of the text (a sketch would have helped!). I've edited the answer to match. –  user568458 Jun 27 '13 at 10:25
    
Thank you so much! This worked well. –  xenon Jun 27 '13 at 22:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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