rolo
asked on
second line indent
points available only for solution. not for being informed it cant be done.
having said that:
i need a way to produce the type of paragraph format found in many books. where the first word of each paragraph is a larger size font. the first line is not indented, but the second line is indented to a variable amount, depending on the length of the first word of the paragraph. the third line and following lines are not indented.
having said that:
i need a way to produce the type of paragraph format found in many books. where the first word of each paragraph is a larger size font. the first line is not indented, but the second line is indented to a variable amount, depending on the length of the first word of the paragraph. the third line and following lines are not indented.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanx a ton, needs a bit tweaking but the idea works.
I tried unsuccessfully to turn the Drop Cap into a style so that it would occur automatically.
But you could certainly record a macro that does it to each paragraph.
Sub DropCapsEverywhere()
Dim pg As Paragraph
For Each pg In ThisDocument.Paragraphs
If pg.Range.Characters.Count > 5 Then
With pg.DropCap
.Position = wdDropNormal
.LinesToDrop = 2
.DistanceFromText = InchesToPoints(0)
End With
End If
Next
End Sub
1) ALT + F11 to open the VBA Editor
2) CTRL + R to open the Project Explorer (if it isn't already open)
3) Click the + sign to left of Microsoft Word Objects in your document in the Project Explorer (if it isn't already open)
4) Double-click ThisDocument to open the code pane
5) Paste the code there
6) Return to the document with ALT + F11
Brad