DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: align specific text in MS Office  (Read 6,857 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
align specific text in MS Office
« on: June 02, 2010, 08:53 PM »
hello

in MS Office 2003, I want some specific text to appear a bit more at the right that the other regular text

for example in the screenshot below, I want for all the highlighted text only, the text to be aligned at more right that the other text

000242.png
http://img249.imageshack.us/img249/3643/000242.png

how can I do it?

thanks
« Last Edit: June 02, 2010, 11:46 PM by kalos »

Ampa

  • I am cute ;)
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
Re: align specific text in MS Office
« Reply #1 on: June 02, 2010, 10:40 PM »
You need to increase the left indent of the paragraph - look here...

http://office.microsoft.com/en-us/word/HP051884061033.aspx

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: align specific text in MS Office
« Reply #2 on: June 02, 2010, 10:56 PM »
One way (the only easy way I can think of at the moment) -

I'm assuming your example is all one paragraph. 

Make it three paragraphs, the selected portion to be the middle one.  Then you can indent that paragraph as you see fit.  You'll have to play with the right paragraph indent if your text flows to an extra line in an undesireable way.

Make the SpaceBefore and SpaceAfter for the middle paragraph zero; the space after the first paragraph and the space before the third paragraph also have to be zero in order to maintain the appearance of single spacing.

If you have to do this often (break out a paragraph in the middle of a bigger paragraph and indent it), write a macro. 

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: align specific text in MS Office
« Reply #3 on: June 02, 2010, 11:38 PM »
the highlighted text (that I want to set its margin at more right) is not a paragraph, it is not between newline marks, but between spaces

the problem is that I cannot make the selected text to be a seperate paragraph

I show another example:

031247.png

I need the text after 'ultrices', 'Vestibulum', and 'feugiat' (at the begining of the last three lines) to be aligned more right, just below 'Aliquam'

I cannot put a newline mark before 'Aliquam', because I wanted to be right after 'orci.' and not below it

can it be done?
« Last Edit: June 03, 2010, 12:15 AM by kalos »

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: align specific text in MS Office
« Reply #4 on: June 03, 2010, 02:06 AM »
Turn on ShowFormattingMarks so you can see the endPara mark.

Here's what it should look like.  Notice the endPara mark I inserted after "dapibus", I just hit the enter key.
(Btw, if all your lines end in an endPara mark, you'll have to take a different approach, or remove them and do it like this.)

[attach]
« Last Edit: June 03, 2010, 02:13 AM by AndyM »

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: align specific text in MS Office
« Reply #5 on: June 03, 2010, 02:47 AM »
it looks good, but the problem is that I really need between "dapibus" and "ultrices" to be a space, not a newline/endpara

isn't it possible, right?

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: align specific text in MS Office
« Reply #6 on: June 03, 2010, 07:26 AM »
you could use tabs:


[attach]
« Last Edit: June 03, 2010, 07:31 AM by AndyM »

Original address: https://www.donationcoder.com/forum/index.php?topic=22939.0