Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Equation line numbers

You can go one step further for convenience. The Alignment Tab dialog box
always opens with the Center option chosen. If you want a Quick Access
Toolbar button specifically for an alignment at the right margin, without
needing to show the dialog, paste this macro into Normal.dotm and make a
button to run it:

Sub RightAlignTab()
WordBasic.InsertAlignmentTab Alignment:=2, Relative:=0, Leader:=0
End Sub

Variations:

Alignment:=1 is Center and Alignment:=2 is Right. (Alignment:=0 is Left, but
that's the same as having no tab at all. shrug)

Relative:=0 is relative to Margin and Relative:=1 is relative to Indent.
(Apparently the Center alignment relative to Indent ignores any right
indent, and centers between the left indent and the right margin. The Right
alignment, regardless of the Relative setting, always aligns on the right
indent.)

The Leader numbers in the macro are all 1 less than the leader numbers that
appear in the dialog (0 = None, 1 = dots, etc.).

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Bob Mathews wrote:
That's good info. Thanks Suzanne.


Apparently it's called an "alignment tab." I found something at
http://www.zdnetasia.com/techguide/o...2036053,00.htm.

There's a MS page at
http://office.microsoft.com/en-us/wo...341341033.aspx.
From casual reading, you might get the impression that they
work only in headers and footer, as that's the context in which
they're presented, but the latter page concludes:

"The Alignment Tab dialog box is only accessible when viewing
the Header & Footer Tools, but they can be utilized anywhere
in your document by adding Insert Alignment Tab to your Quick
Access Toolbar. To do so, right-click Insert Alignment Tab and then
click Add To Quick Access Toolbar."



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
double window envelope tpdebronsky Page Layout 5 May 18th 23 08:51 PM
Page numbers and line number problem tspitzig Page Layout 9 October 25th 05 03:13 PM
Why do page and line numbers not show up properly sadie Page Layout 0 October 2nd 05 01:45 AM
footnote continued message causes line numbers to disappear bsterling Page Layout 4 September 5th 05 06:22 PM
Bullets/numbers will not indent after first line Greg Microsoft Word Help 2 August 9th 05 12:43 AM


All times are GMT +1. The time now is 10:29 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"