|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
1st line of 4-line poem centrally aligned; how to get lines 2-4 to start at same location on page
I have several poems, each of which has a quotation mark at the beginning and the end. For example:
“तृणादपि सुनीचेन तरोरिव सहिष्णुना । अमानिनां मानदेयं, कीर्तनीयः सदा हरिः ॥“ Tròádapi suniicena taroriva sahiïòuná; amánináî mánadeyaî, kiirtaniiyah sadá Harih. The formatting I wish to achieve is as follows: First line central aligned. The first letter of Lines 2, 3, 4 should match up with the location of the first letter of line one -- not the quote mark, but the first letter. So the four lines will appear to be left aligned i.e. the left edge of the group of four lines will be the same, but with all four located in the middle of the page. What I usually do is: 1. Central align the first line 2. Highlight lines 2-4 and drag them over to the right using the ruler tool at the top of the page, until their first letter lines up with the first letter of the first line. The problem I encounter is that, due to the quotation mark at the beginning of the first line, I am often unable to get the first letter of lines 2-4 to match exactly with the first letter of line 1. Because of the quotation mark, the first letter of lines 2-4 ends up slight ahead of or slightly behind the first letter of line one. If I remove the quotation mark from the beginning of line one, then they can be made to line up perfectly. But as soon as I add the quotation mark, it makes it impossible to line up the first letters. |
#2
|
|||
|
|||
There is no simple way to do this. Nothing is built into Word.
Workaround:
|
#3
|
|||
|
|||
You may want to look at kerning of the first characters on that first line.
This is referred to as Spacing in Word. Select the characters and then go the font detail settings, advanced tab. |
#4
|
||||
|
||||
Have you tried a macro to do this (after selecting all the paragraphs you want to align)?
Code:
Sub AlignWithMe() Dim aPar As Paragraph, aRng As Range, iPos As Integer Set aRng = Selection.Range aRng.Paragraphs(1).Alignment = wdAlignParagraphCenter iPos = aRng.Paragraphs(1).Range.Characters(2).Information(wdHorizontalPositionRelativeToTextBoundary) aRng.MoveStart Unit:=wdParagraph, Count:=1 With aRng.Paragraphs .Alignment = wdAlignParagraphLeft .LeftIndent = iPos End With End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#5
|
|||
|
|||
Very nice work Andrew.
Instructions for Installing Macros from Forums or Websites by Graham Mayor, MVP |
#6
|
|||
|
|||
Many thanks to all of you for replying; usually the forum sends me an email to notify me that someone has replied, but for some reason this time I don't seem to have received the email so I didn't realize anyone had replied. I shall study what you have given and try it out.
|
#7
|
|||
|
|||
Quote:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help making legal line number stay at 25 lines a page when I have sections with single spaced text | LegalTranscriber2017 | Word | 5 | 07-16-2022 06:50 PM |
word erases line bottom in tight line spacing when new line is added | ozzzy | Word | 2 | 01-21-2021 06:41 AM |
Rtl text aligned right and ltr text aligned to left in one line - HOW? | wordnew | Word | 10 | 09-06-2020 08:23 AM |
Section and Line Break leaving line on previous page | Stonehands99 | Word | 5 | 08-13-2019 08:59 PM |
Can you prevent an empty line from appearing in the first line of a page? | New Daddy | Word | 10 | 11-18-2013 07:01 AM |