A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Equation line numbers



 
 
Thread Tools Display Modes
  #11  
Old February 1st, 2008, 05:43 PM posted to microsoft.public.word.pagelayout
Elbert
external usenet poster
 
Posts: 12
Default Equation line numbers

Hi Bob,

Thanks for the help.

If you have created custom toolbars (rather than customizing Word's built in toolbars) in a prior version if you place that template in Word 2007's Startup folder (or attach the template (Alt, T, I) in Word 2007, your toolbars should appear in an 'Add-In' tab...


Mostly I had customized the built in toolbars, but this procedure (which I
would never have figured out for myself) got me one custom toolbar that I had
created.

Your macros should likewise be available (View Macros=View Macros) and some may need to be tweaked for differences in Word 2007.


On the View ribbon I clicked on the View Macros button, but I did not see my
macros in the list. However, in the organizer I selected normal11.dot (my
normal template for Word 2003) and I was able to move some macros to
normal.dotm, including the one that aligns and captions MathType equations
the way I want them! Can you tell me how to assign keyboard shortcuts to
those macros? Shift-F1 used to invoke the equation macro, but now it reveals
formatting.

BTW, I couldn't figure out how to record the equation macro with Word 2007.
With 2003, the macro was assigned to shift-F1. Shift-F1 would insert a two
cell table, move the left edge of the table in 1/2", insert a caption with
Equation # in the right cell, right justify the caption, move to the left
cell, turn off all borders, do insert/object/MathType equation, then move the
cursor to the line after the table. I'd hit shift-F1 and almost immediately
I'd see the MathType window. I'd type my equation, and when I exited from
MathType, I'd have my equation aligned where I wanted it and captioned, with
the cursor on the next line so I could continue typing.

With 2007, I finally figured out (again my intuition failed me) that the
record macro feature is located on the view ribbon. So I tried to use it to
record the same macro--the only way I could see to assign a keyboard shortcut
to it, but I got stuck when I tried to move the caption into the right cell,
and again when I tried to move the left edge of the table over by 1/2".
Unless I'm missing something, the record macro feature is a lot less useful
in 2007 than it was in 2003.

Your suggestion to insert an aligned and captioned equation as a quick part
works pretty well. Since I need to double click the empty equation object,
and I can't see it when it's empty, I made an equation with the letter x in
it. Now to insert an equation I have to click Insert, then quick object, then
equation. Then I have to double click on the equation, delete the x, type the
equation, exit from MathType, and move the cursor below the table. Not bad,
but not quite as slick as my old shift-F1.

Thanks again for the help,

Elbert

"Bob Buckland ?:-)" wrote:

Hi Elbert,

The thread you came in is titled 'Equation Line Numbers' but I'm assuming that you're not looking to line number the equation
elements but to tie captions to the Equations?

But first, on finding your way around in Word 2007 g...
If you have created custom toolbars (rather than customizing Word's built in toolbars) in a prior version if you place that template
in Word 2007's Startup folder (or attach the template (Alt, T, I) in Word 2007, your toolbars should appear in an 'Add-In' tab in
Word 2007 and you can also have them be attached to the Quick Access Toolbar.

Your macros should likewise be available (View Macros=View Macros) and some may need to be tweaked for differences in Word 2007.
It sort of depends on what they do g.

If you use keyboard shortcuts in Word 2003, many of the same shortcuts continue to work in Word 2007. There's also interactive,
printable and viewable 'cheat sheets' on 'where are they now' commands/button lists here.
http://office.microsoft.com/en-us/tr...295841033.aspx

Okay, back on captioning equations, (much more Suzanne and others' strongpoints g) the two cell one row table can be setup to be
fairly simple to reuse in Word 2007

In Word 2007 Insert=Table and create a two column one row table.
If you want the captions to follow the equation,

1. Place your cursor in the table's left cell and use
Insert=Equation to put an empty equation builder control in that cell (If you're using Mathtype or the older Word 3.0 Equation
choice you can select either of those through Insert=Object=Object at this point)

2. Use Reference=Insert Caption to create a caption, then cut and paste that into the right hand cell.

3. Select the whole table by clicking on the the icon above the top left of the table when you hover over that corner then right
click, choose Borders and Shading (or use Table Tools=Design=Borders) and set the table to have no lines. Make any other changes
you want as far as table cell sizing, or centering, etc using the Table Tools tab and the Home formatting choices.

4. With the table still selected go to Insert=Quickparts and choose
'Save Selection to Quick Part Gallery...' to create a building block.

5. In the next dialog that comes up give the building block a name, change the Gallery to 'Equations', create a new category named
'Added Equations', type a description of what this is used for and in the Options choose
'Insert content in its own paragraph' and OK.

Now when you use Insert=Equation, your tabled equation, complete with numbered caption is ready to choose.

There is also a way to do it with using 'linked styles' in Word 2007, but this one's fairly long already, so that will be in a
separate message

========
"Elbert" wrote in message ...
Hi Bob,

Thanks for the help. I guess I should have known intuitively that the
version number is a resource. Sorry to be cranky, but I've wasted days trying
to figure out how to do things with Word 2007 that I could do with 2003.
e.g., I had carefully customized my toolbars for 2003 so I could be very
productive. Gone. I had spent hours and hours developing macros that saved me
a great deal of time. Gone. And I was sure I'd love the ribbons, but I don't.

Which item are you referring to in this case as a 'bug'? Word 2007 has its own internal Equation Editor as well as the optional

installation of the prior version Equation Editor. Neither of these equation editors is very useful for somebody who enters a lot
of equations, so I use MathType (you may recall that Word 2003 admitted that the equation editor wasn't very good and suggested an
upgrade to MathType.)

I insert a MathType equation and then in Word I do References/Insert
caption/Equation. If I insert the caption below the equation, then later when
I do References/Cross reference/Equation 1, the cross reference is just
"Equation 1" as it should be.

If instead I put the caption to the right of the equation (which is where I
want it and I suspect most people want it), then when I do References/Cross
reference/Equation 1, I get as the cross reference the equation plus the
caption, which is a real mess.

I followed the suggestion about using a table, and it works OK, but it's
awkward and in my opinion shouldn't be necessary--a bug.

I have no idea what "linked styles" are, and I hope to God I never have to
figure it out in order to do something that should be simple. I'm trying to
get some work done here.

Thanks again,

Elbert
--

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

"Bob Buckland ?:-)" wrote:

Hi Elbert,

In Word 2007 you can get to the version number through Word Options in the 'Resources' dialog
(Alt, T, O, R) or (Alt, F, I, R)

The old HelpAbout dialog is still available, but doesn't have a keyboard shortcut and the old Word 2003 one ( Alt, H, A) doesn't
work in Word 2007.

You can get to the old dialog through (a) the 'About' button in Resources (via the above route);
(b) by using View=Macros=View Macros,
selecting 'Word Commands' for 'Macros in:' at the bottom of the dialog
and running the 'HelpAbout' command or
(c) by adding a keyboard shortcut in
Office Button=Word Options=Customize=Customize Keyboard
and select All commands then 'HelpAbout'

Which item are you referring to in this case as a 'bug'? Word 2007 has its own internal Equation Editor as well as the optional
installation of the prior version Equation Editor. You can use 'linked styles' in Word to have the Equation caption and Equation
on the same line, although it's usually cleaner to use the two column table approach Suzanne mentioned.

============
"Elbert" wrote in message ...
I hope eventually Microsoft will fix this bug, which they have not done in the latest version of Word 2007. (I'd tell you exactly
what version I have, but with the wonderful new user interface, I can't figure out how to look up what it is. Whatever became of
help/about?)
--

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*






  #12  
Old February 1st, 2008, 06:24 PM posted to microsoft.public.word.pagelayout
Bob Mathews
external usenet poster
 
Posts: 270
Default Equation line numbers

Elbert,

I checked the MathType Help file, and I didn't find any reference to
"menu" in the section for "Office 2007". You sure you're not looking
in the "Office 2000, 2002, and 2003" section? If it's in the Office
2007 section, let me know the title of the page, and where it is in
the directory structure (on the left), and I'll see that it gets
fixed.

To format the equation numbers, click on the downward-pointing
triangle next to "Insert Number". (This is in the "Equation Numbers"
section of the MathType tab on Word's Ribbon.) Select the "Format"
command.

To format the numbers the way you describe, in the Format Equation
Numbers dialog, click the button next to "Advanced Format". Type this
text in the "Format:" window:

Equation #E1

If you're re-formatting a document that already exists, in the next
section make sure "Whole document" is checked. You probably also want
to select the option in the next section "Use format as default for
new documents". Note that the equation numbers and references will be
formatted identically.

To have the equations all appear 1/2" from the left margin, with the
equation number at the right margin, all you need to do is change the
style specification for "MTDisplayEquation". Here's how to do that...

1. Click on the Home tab on the Word Ribbon. Click on the diagonal
arrow at the bottom right corner of the Styles section. This will
bring up the Styles task pane.

2. If the insertion point (i.e., cursor) was on a line containing a
display equation, the Style named "MTDisplayEquation" will appear
selected in the Styles task pane. If not, scroll until you find a
style with that name.

3. Point to that style with the mouse, and a blue "V" will appear at
the right edge. Click the V and select the "Modify" command.

4. In the lower left-hand corner of the Modify Style dialog is a
button labeled "Format". Click it, then select "Tabs".

5. There should be 2 tabs there, probably a center-justified tab at 3"
and a right-justified tab at 6". (Mine are at 3.25" and 6.5"
respectively, because I've changed my Normal template to have 1"
margins instead of the ridiculous 1.25" margins that are default.)

6. Select the first tab and click the Clear button at the bottom. In
the "Tab stop position:" text area, type 0.5", choose Left Alignment,
then click Set.

7. In the group of checkboxes and radio buttons at the bottom of the
Modify Style dialog, click the radio button labeled "New documents
based on this template". If you want MTDisplayEquation to appear in
the Quick Style list, click that checkbox too.

8. Click OK, then click OK again. Click the X in the upper right-hand
corner of the Styles task pane to close it.

Now future equations in this document will be aligned one-half inch
from the left margin, but...

This is what I recommend next. Close out all open Word documents, and
close Word. The last thing that will happen before Word closes is a
"Microsoft Office Word" dialog will appear, saying that you've made
changes to "Normal.dotm", and do you want to save the changes? If you
don't click "Yes", your changes to MTDisplayEquation and to the Quick
Style list will be lost. That's why I recommend closing Word now, even
if you have to immediately re-open it. If you don't do it now, you may
forget making changes to "Normal.dotm", and click No.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 1-Feb-2008, wrote:

Bob,

Thanks for the help. I did not have a MathType ribbon. I
re-installed MathType, and now I do. Who understands these things?

When I select Right Numbered, MathType centers the equation
and puts a number such as (1.2) at the right of the line. I often
write chapters of manuals, and want to be consistent with the
format used by those who write other chapters. Our organization's
standard is to indent the equation 1/2" from the left, and number
the equations on the right as "Equation 1" Equation 2" etc.,
without chapter or section numbers. (A document I write might
be chapter 3 in one manual and chapter 7 in another manual, so
we just dispensed with chapter/section numbers and number
the equations beginning with 1 in each chapter.) Also, I've
written hundreds of pages with equations aligned and numbered
that way, and I'd like to be able to modify those documents with
consistent alignment and numbering.

You say "You can format the numbers however you want" but I
can't figure out how to format them the way I need to. The
MathType help system explains how to use the Format Equation
Number Dialog (on the MathType menu, the help system says),
but after an amusing half hour looking for them, I still can't
find the menu or the dialog. Is there a different way to get to the
dialog through Word 2007?

Can you point me to some information that will help me align and
number equations the way I need to?

Thanks again for your help,

Elbert

"Bob Mathews" wrote:

On 29-Jan-2008, Elbert wrote:

I insert a MathType equation and then in Word I do References/
Insert caption/Equation. If I insert the caption below the
equation, then later when I do References/Cross reference/
Equation 1, the cross reference is just "Equation 1" as it
should
be.


Elbert, I've been following this thread, and this is the first
time you've mentioned MathType. I answer questions about
Equation Editor too, but Bob and others were doing a great job
so I stayed out of it. I assumed you were using the legacy
Equation
Editor.

If you're using MathType 6, you'll have a MathType tab on the Word
2007 Ribbon. In the Insert group of the MathType tab, simply click
on "Right-numbered" (there's an option for Left-numbered too), and
you get an equation as well as the next number in sequence. You
can format the numbers however you want, and if you're using
chapter/section numbers, you can insert a break at the appropriate
spot so the numbering follows. Inserting a reference to a
particular
equation is just as easy, and all the numbers & references will
re-
number if you add or remove one.

You're just going to way too much trouble.

--
Bob Mathews

  #13  
Old February 1st, 2008, 08:28 PM posted to microsoft.public.word.pagelayout
Elbert
external usenet poster
 
Posts: 12
Default Equation line numbers

Bob,

In the Word 2007 MathType ribbon, I clicked MathType help. I then searched
for "format equation number". The third item in the selected topics was
"Format equation number dialog" so I read that and it didn't help because I
couldn't find the dialog.

Also, if I go to contents/MathType with Microsoft Office/Office
2007/MathType's support for MS Word/Numbering equations, I see a page called
"numbering equations." On that page there is a link to "format equation
number dialog", my old nemisis.

I finally went to contents/MathType with Microsoft Office/Office
2007/MathType's support for MS Word/MathType tab in MS Word/Equation numbers
group. I gave that page a careful reading, and learned that if I go to the
MathType tab, Equation numbers group, insert numbers dropdown list, there's
an option to format that takes me to the format equation numbers dialog box.
Finally! I selected advanced format and formatted the numbers as you told me
to. Works as advertised.

I also modified the MTdisplayEquation style as you suggested and insert
right numbered equation now works the way I want it to.

Thanks again for your help,

Elbert



"Bob Mathews" wrote:

Elbert,

I checked the MathType Help file, and I didn't find any reference to
"menu" in the section for "Office 2007". You sure you're not looking
in the "Office 2000, 2002, and 2003" section? If it's in the Office
2007 section, let me know the title of the page, and where it is in
the directory structure (on the left), and I'll see that it gets
fixed.

To format the equation numbers, click on the downward-pointing
triangle next to "Insert Number". (This is in the "Equation Numbers"
section of the MathType tab on Word's Ribbon.) Select the "Format"
command.

To format the numbers the way you describe, in the Format Equation
Numbers dialog, click the button next to "Advanced Format". Type this
text in the "Format:" window:

Equation #E1

If you're re-formatting a document that already exists, in the next
section make sure "Whole document" is checked. You probably also want
to select the option in the next section "Use format as default for
new documents". Note that the equation numbers and references will be
formatted identically.

To have the equations all appear 1/2" from the left margin, with the
equation number at the right margin, all you need to do is change the
style specification for "MTDisplayEquation". Here's how to do that...

1. Click on the Home tab on the Word Ribbon. Click on the diagonal
arrow at the bottom right corner of the Styles section. This will
bring up the Styles task pane.

2. If the insertion point (i.e., cursor) was on a line containing a
display equation, the Style named "MTDisplayEquation" will appear
selected in the Styles task pane. If not, scroll until you find a
style with that name.

3. Point to that style with the mouse, and a blue "V" will appear at
the right edge. Click the V and select the "Modify" command.

4. In the lower left-hand corner of the Modify Style dialog is a
button labeled "Format". Click it, then select "Tabs".

5. There should be 2 tabs there, probably a center-justified tab at 3"
and a right-justified tab at 6". (Mine are at 3.25" and 6.5"
respectively, because I've changed my Normal template to have 1"
margins instead of the ridiculous 1.25" margins that are default.)

6. Select the first tab and click the Clear button at the bottom. In
the "Tab stop position:" text area, type 0.5", choose Left Alignment,
then click Set.

7. In the group of checkboxes and radio buttons at the bottom of the
Modify Style dialog, click the radio button labeled "New documents
based on this template". If you want MTDisplayEquation to appear in
the Quick Style list, click that checkbox too.

8. Click OK, then click OK again. Click the X in the upper right-hand
corner of the Styles task pane to close it.

Now future equations in this document will be aligned one-half inch
from the left margin, but...

This is what I recommend next. Close out all open Word documents, and
close Word. The last thing that will happen before Word closes is a
"Microsoft Office Word" dialog will appear, saying that you've made
changes to "Normal.dotm", and do you want to save the changes? If you
don't click "Yes", your changes to MTDisplayEquation and to the Quick
Style list will be lost. That's why I recommend closing Word now, even
if you have to immediately re-open it. If you don't do it now, you may
forget making changes to "Normal.dotm", and click No.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 1-Feb-2008, wrote:

Bob,

Thanks for the help. I did not have a MathType ribbon. I
re-installed MathType, and now I do. Who understands these things?

When I select Right Numbered, MathType centers the equation
and puts a number such as (1.2) at the right of the line. I often
write chapters of manuals, and want to be consistent with the
format used by those who write other chapters. Our organization's
standard is to indent the equation 1/2" from the left, and number
the equations on the right as "Equation 1" Equation 2" etc.,
without chapter or section numbers. (A document I write might
be chapter 3 in one manual and chapter 7 in another manual, so
we just dispensed with chapter/section numbers and number
the equations beginning with 1 in each chapter.) Also, I've
written hundreds of pages with equations aligned and numbered
that way, and I'd like to be able to modify those documents with
consistent alignment and numbering.

You say "You can format the numbers however you want" but I
can't figure out how to format them the way I need to. The
MathType help system explains how to use the Format Equation
Number Dialog (on the MathType menu, the help system says),
but after an amusing half hour looking for them, I still can't
find the menu or the dialog. Is there a different way to get to the
dialog through Word 2007?

Can you point me to some information that will help me align and
number equations the way I need to?

Thanks again for your help,

Elbert

"Bob Mathews" wrote:

On 29-Jan-2008, Elbert wrote:

I insert a MathType equation and then in Word I do References/
Insert caption/Equation. If I insert the caption below the
equation, then later when I do References/Cross reference/
Equation 1, the cross reference is just "Equation 1" as it
should
be.

Elbert, I've been following this thread, and this is the first
time you've mentioned MathType. I answer questions about
Equation Editor too, but Bob and others were doing a great job
so I stayed out of it. I assumed you were using the legacy
Equation
Editor.

If you're using MathType 6, you'll have a MathType tab on the Word
2007 Ribbon. In the Insert group of the MathType tab, simply click
on "Right-numbered" (there's an option for Left-numbered too), and
you get an equation as well as the next number in sequence. You
can format the numbers however you want, and if you're using
chapter/section numbers, you can insert a break at the appropriate
spot so the numbering follows. Inserting a reference to a
particular
equation is just as easy, and all the numbers & references will
re-
number if you add or remove one.

You're just going to way too much trouble.

--
Bob Mathews


  #14  
Old February 1st, 2008, 08:50 PM posted to microsoft.public.word.pagelayout
Bob Mathews
external usenet poster
 
Posts: 270
Default Equation line numbers

Elbert,

Thanks for the detailed feedback. When we wrote the Help file, we
really did put a lot of thought and effort into it, but there's no
substitute for someone like you giving us input on problems you've
encountered in practice. We'll look at these sections to see how we
can make them better.

Glad it finally worked out for you.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 1-Feb-2008, wrote:

Bob,

In the Word 2007 MathType ribbon, I clicked MathType help. I
then searched for "format equation number". The third item in the
selected topics was "Format equation number dialog" so I read
that and it didn't help because I couldn't find the dialog.

Also, if I go to contents/MathType with Microsoft Office/Office
2007/MathType's support for MS Word/Numbering equations, I
see a page called "numbering equations." On that page there
is a link to "format equation number dialog", my old nemisis.

I finally went to contents/MathType with Microsoft Office/Office
2007/MathType's support for MS Word/MathType tab in MS
Word/Equation numbers group. I gave that page a careful
reading, and learned that if I go to the MathType tab, Equation
numbers group, insert numbers dropdown list, there's an option
to format that takes me to the format equation numbers dialog
box. Finally! I selected advanced format and formatted the
numbers as you told me to. Works as advertised.

I also modified the MTdisplayEquation style as you suggested
and insert right numbered equation now works the way I want it to.

Thanks again for your help,

Elbert

  #15  
Old February 1st, 2008, 08:54 PM posted to microsoft.public.word.pagelayout
Elbert
external usenet poster
 
Posts: 12
Default Equation line numbers

Bob,

Sorry--one more thing. I use different margin settings for different kinds
of documents. So setting the right tab for the equation number to 6 will not
work for all documents. Is there a way to get the equation number right
aligned no matter what the margin settings?

Thanks,

Elbert

"Bob Mathews" wrote:

Elbert,

I checked the MathType Help file, and I didn't find any reference to
"menu" in the section for "Office 2007". You sure you're not looking
in the "Office 2000, 2002, and 2003" section? If it's in the Office
2007 section, let me know the title of the page, and where it is in
the directory structure (on the left), and I'll see that it gets
fixed.

To format the equation numbers, click on the downward-pointing
triangle next to "Insert Number". (This is in the "Equation Numbers"
section of the MathType tab on Word's Ribbon.) Select the "Format"
command.

To format the numbers the way you describe, in the Format Equation
Numbers dialog, click the button next to "Advanced Format". Type this
text in the "Format:" window:

Equation #E1

If you're re-formatting a document that already exists, in the next
section make sure "Whole document" is checked. You probably also want
to select the option in the next section "Use format as default for
new documents". Note that the equation numbers and references will be
formatted identically.

To have the equations all appear 1/2" from the left margin, with the
equation number at the right margin, all you need to do is change the
style specification for "MTDisplayEquation". Here's how to do that...

1. Click on the Home tab on the Word Ribbon. Click on the diagonal
arrow at the bottom right corner of the Styles section. This will
bring up the Styles task pane.

2. If the insertion point (i.e., cursor) was on a line containing a
display equation, the Style named "MTDisplayEquation" will appear
selected in the Styles task pane. If not, scroll until you find a
style with that name.

3. Point to that style with the mouse, and a blue "V" will appear at
the right edge. Click the V and select the "Modify" command.

4. In the lower left-hand corner of the Modify Style dialog is a
button labeled "Format". Click it, then select "Tabs".

5. There should be 2 tabs there, probably a center-justified tab at 3"
and a right-justified tab at 6". (Mine are at 3.25" and 6.5"
respectively, because I've changed my Normal template to have 1"
margins instead of the ridiculous 1.25" margins that are default.)

6. Select the first tab and click the Clear button at the bottom. In
the "Tab stop position:" text area, type 0.5", choose Left Alignment,
then click Set.

7. In the group of checkboxes and radio buttons at the bottom of the
Modify Style dialog, click the radio button labeled "New documents
based on this template". If you want MTDisplayEquation to appear in
the Quick Style list, click that checkbox too.

8. Click OK, then click OK again. Click the X in the upper right-hand
corner of the Styles task pane to close it.

Now future equations in this document will be aligned one-half inch
from the left margin, but...

This is what I recommend next. Close out all open Word documents, and
close Word. The last thing that will happen before Word closes is a
"Microsoft Office Word" dialog will appear, saying that you've made
changes to "Normal.dotm", and do you want to save the changes? If you
don't click "Yes", your changes to MTDisplayEquation and to the Quick
Style list will be lost. That's why I recommend closing Word now, even
if you have to immediately re-open it. If you don't do it now, you may
forget making changes to "Normal.dotm", and click No.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 1-Feb-2008, wrote:

Bob,

Thanks for the help. I did not have a MathType ribbon. I
re-installed MathType, and now I do. Who understands these things?

When I select Right Numbered, MathType centers the equation
and puts a number such as (1.2) at the right of the line. I often
write chapters of manuals, and want to be consistent with the
format used by those who write other chapters. Our organization's
standard is to indent the equation 1/2" from the left, and number
the equations on the right as "Equation 1" Equation 2" etc.,
without chapter or section numbers. (A document I write might
be chapter 3 in one manual and chapter 7 in another manual, so
we just dispensed with chapter/section numbers and number
the equations beginning with 1 in each chapter.) Also, I've
written hundreds of pages with equations aligned and numbered
that way, and I'd like to be able to modify those documents with
consistent alignment and numbering.

You say "You can format the numbers however you want" but I
can't figure out how to format them the way I need to. The
MathType help system explains how to use the Format Equation
Number Dialog (on the MathType menu, the help system says),
but after an amusing half hour looking for them, I still can't
find the menu or the dialog. Is there a different way to get to the
dialog through Word 2007?

Can you point me to some information that will help me align and
number equations the way I need to?

Thanks again for your help,

Elbert

"Bob Mathews" wrote:

On 29-Jan-2008, Elbert wrote:

I insert a MathType equation and then in Word I do References/
Insert caption/Equation. If I insert the caption below the
equation, then later when I do References/Cross reference/
Equation 1, the cross reference is just "Equation 1" as it
should
be.

Elbert, I've been following this thread, and this is the first
time you've mentioned MathType. I answer questions about
Equation Editor too, but Bob and others were doing a great job
so I stayed out of it. I assumed you were using the legacy
Equation
Editor.

If you're using MathType 6, you'll have a MathType tab on the Word
2007 Ribbon. In the Insert group of the MathType tab, simply click
on "Right-numbered" (there's an option for Left-numbered too), and
you get an equation as well as the next number in sequence. You
can format the numbers however you want, and if you're using
chapter/section numbers, you can insert a break at the appropriate
spot so the numbering follows. Inserting a reference to a
particular
equation is just as easy, and all the numbers & references will
re-
number if you add or remove one.

You're just going to way too much trouble.

--
Bob Mathews


  #16  
Old February 2nd, 2008, 04:15 PM posted to microsoft.public.word.pagelayout
Bob Buckland ?:-\)
external usenet poster
 
Posts: 5,766
Default Equation line numbers

Hi Elbert,

To change/add keyboard shortcuts in Word 2007 to a macro you can use
Office Files Button=Word Options=Customize=Keyboard Shortcuts
(Alt, F, I, C, AltT) and choose the macros category, although you'll need to choose something other than a Shift+F1 for a Word
shortcut. I don't know if perhaps MathType has its own facility for that as well.

You can also assign keyboard shortcuts there to the gallery entry you made for the 2cell table from the 'AutoText' keyboard
customization gallery. Before going to the keyboard shortcut area be sure to open the equations (or other) Building Block gallery
once to have Word populate all of the dialogs. It doesn't do so on startup, so as not to delay the startup process.

If you want your 2 cell table QuickPart to instead appear in the 'canned' Equations locate your saved item in
Insert=Quickparts=Building Blocks Organizer
cnoose 'Edit Properties' and switch the 'gallery' used from 'Quick Parts' to 'Equations'.

The macro recorder is also available to be used from the Word status bar in Word 2007. Right click the status bar and tick mark
that choice.
I was able to record a macro that did, I think, pretty much what your description said, although to save some time, once you have
stored a reusable table as a Building block (i.e. right sized, margins set, borders off, caption field inserted) you could record
the macro to fetch that building block into the document then call the equation editor of choice (Insert=Object) or you could store
an Equation Object in the building block so that when you insert the table you should be able to edit the equation object already
prepped there.


==============
"Elbert" wrote in message ...
Hi Bob,

Thanks for the help.

If you have created custom toolbars (rather than customizing Word's built in toolbars) in a prior version if you place that

template in Word 2007's Startup folder (or attach the template (Alt, T, I) in Word 2007, your toolbars should appear in an 'Add-In'
tab...

Mostly I had customized the built in toolbars, but this procedure (which I
would never have figured out for myself) got me one custom toolbar that I had
created.

Your macros should likewise be available (View Macros=View Macros) and some may need to be tweaked for differences in Word

2007.

On the View ribbon I clicked on the View Macros button, but I did not see my
macros in the list. However, in the organizer I selected normal11.dot (my
normal template for Word 2003) and I was able to move some macros to
normal.dotm, including the one that aligns and captions MathType equations the way I want them! Can you tell me how to assign
keyboard shortcuts to
those macros? Shift-F1 used to invoke the equation macro, but now it reveals formatting.

BTW, I couldn't figure out how to record the equation macro with Word 2007. With 2003, the macro was assigned to shift-F1. Shift-F1
would insert a two cell table, move the left edge of the table in 1/2", insert a caption with Equation # in the right cell, right
justify the caption, move to the left
cell, turn off all borders, do insert/object/MathType equation, then move the
cursor to the line after the table. I'd hit shift-F1 and almost immediately
I'd see the MathType window. I'd type my equation, and when I exited from
MathType, I'd have my equation aligned where I wanted it and captioned, with
the cursor on the next line so I could continue typing.

With 2007, I finally figured out (again my intuition failed me) that the
record macro feature is located on the view ribbon. So I tried to use it to record the same macro--the only way I could see to
assign a keyboard shortcut to it, but I got stuck when I tried to move the caption into the right cell, and again when I tried to
move the left edge of the table over by 1/2". Unless I'm missing something, the record macro feature is a lot less useful in 2007
than it was in 2003.

Your suggestion to insert an aligned and captioned equation as a quick part works pretty well. Since I need to double click the
empty equation object, and I can't see it when it's empty, I made an equation with the letter x in it. Now to insert an equation I
have to click Insert, then quick object, then equation. Then I have to double click on the equation, delete the x, type the
equation, exit from MathType, and move the cursor below the table. Not bad, but not quite as slick as my old shift-F1.

Thanks again for the help,

Elbert
--

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*


  #17  
Old February 5th, 2008, 12:35 PM posted to microsoft.public.word.pagelayout
Elbert
external usenet poster
 
Posts: 12
Default Equation line numbers

Bob,

Sorry--one more thing. I use different margin settings for different kinds
of documents. So setting the right tab for the equation number to 6 will not
work for all documents. Is there a way to get the equation number right
aligned no matter what the margin settings?

Thanks,

Elbert


"Bob Mathews" wrote:

Elbert,

Thanks for the detailed feedback. When we wrote the Help file, we
really did put a lot of thought and effort into it, but there's no
substitute for someone like you giving us input on problems you've
encountered in practice. We'll look at these sections to see how we
can make them better.

Glad it finally worked out for you.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 1-Feb-2008, wrote:

Bob,

In the Word 2007 MathType ribbon, I clicked MathType help. I
then searched for "format equation number". The third item in the
selected topics was "Format equation number dialog" so I read
that and it didn't help because I couldn't find the dialog.

Also, if I go to contents/MathType with Microsoft Office/Office
2007/MathType's support for MS Word/Numbering equations, I
see a page called "numbering equations." On that page there
is a link to "format equation number dialog", my old nemisis.

I finally went to contents/MathType with Microsoft Office/Office
2007/MathType's support for MS Word/MathType tab in MS
Word/Equation numbers group. I gave that page a careful
reading, and learned that if I go to the MathType tab, Equation
numbers group, insert numbers dropdown list, there's an option
to format that takes me to the format equation numbers dialog
box. Finally! I selected advanced format and formatted the
numbers as you told me to. Works as advertised.

I also modified the MTdisplayEquation style as you suggested
and insert right numbered equation now works the way I want it to.

Thanks again for your help,

Elbert


  #18  
Old February 5th, 2008, 01:14 PM posted to microsoft.public.word.pagelayout
Elbert
external usenet poster
 
Posts: 12
Default Equation line numbers

Bob,

Thanks for helping again.

I was able to record a macro that did, I think, pretty much what your description said You're a better man than I. When in record macro mode, I could not select the table to turn off borders, I could not grab the left edge of the table to move it in, and I could not grab the caption to drag it into the table cell.


To change/add keyboard shortcuts in Word 2007 to a macro you can use

Office Files Button=Word Options=Customize=Keyboard Shortcuts
(Alt, F, I, C, AltT) and choose the macros category This works fine. Thanks.

once you have stored a reusable table as a Building block (i.e. right sized, margins set, borders off, caption field inserted) you could record the macro to fetch that building block into the document then call the equation editor of choice Insert=Object) I couldn't quite get this to work. I could insert the building block, but then the cursor is positioned after the inserted table and with record macro on, I could not move the cursor into the table before opening MathType.


or you could store an Equation Object in the building block so that when you insert the table you should be able to edit the equation object already prepped there. This is closest to what I want. I can't see where to click to open an empty MathType equation, so I stored an equation with just the letter x in it. So now I hit alt-shift-m to insert the table with the equation, double click on the x, delete the x and type the equation. Not as slick as the macro I had recorded pretty straightforwardly in Word 2003, but good enough, I guess. I still find macro recording disappointing in Word 2007 compared to Word 2003.


One more question: I now have the macros and building blocks set up on my
home computer and need to move them to my office computer. I guess that
involves copying normal.dotm from one computer to the other. I also have
several custom templates I've set up for myself, and I occasionally tweak one
of them. Is there a way to store templates on my flash drive ahd have Word
look for them there? I carry the flash drive back and forth, so I'd always
have the latest version of templates no matter which computer I'm using.

Thanks again for the help,

Elbert






"Bob Buckland ?:-)" wrote:

Hi Elbert,

To change/add keyboard shortcuts in Word 2007 to a macro you can use
Office Files Button=Word Options=Customize=Keyboard Shortcuts
(Alt, F, I, C, AltT) and choose the macros category, although you'll need to choose something other than a Shift+F1 for a Word
shortcut. I don't know if perhaps MathType has its own facility for that as well.

You can also assign keyboard shortcuts there to the gallery entry you made for the 2cell table from the 'AutoText' keyboard
customization gallery. Before going to the keyboard shortcut area be sure to open the equations (or other) Building Block gallery
once to have Word populate all of the dialogs. It doesn't do so on startup, so as not to delay the startup process.

If you want your 2 cell table QuickPart to instead appear in the 'canned' Equations locate your saved item in
Insert=Quickparts=Building Blocks Organizer
cnoose 'Edit Properties' and switch the 'gallery' used from 'Quick Parts' to 'Equations'.

The macro recorder is also available to be used from the Word status bar in Word 2007. Right click the status bar and tick mark
that choice.
I was able to record a macro that did, I think, pretty much what your description said, although to save some time, once you have
stored a reusable table as a Building block (i.e. right sized, margins set, borders off, caption field inserted) you could record
the macro to fetch that building block into the document then call the equation editor of choice (Insert=Object) or you could store
an Equation Object in the building block so that when you insert the table you should be able to edit the equation object already
prepped there.


==============
"Elbert" wrote in message ...
Hi Bob,

Thanks for the help.

If you have created custom toolbars (rather than customizing Word's built in toolbars) in a prior version if you place that

template in Word 2007's Startup folder (or attach the template (Alt, T, I) in Word 2007, your toolbars should appear in an 'Add-In'
tab...

Mostly I had customized the built in toolbars, but this procedure (which I
would never have figured out for myself) got me one custom toolbar that I had
created.

Your macros should likewise be available (View Macros=View Macros) and some may need to be tweaked for differences in Word

2007.

On the View ribbon I clicked on the View Macros button, but I did not see my
macros in the list. However, in the organizer I selected normal11.dot (my
normal template for Word 2003) and I was able to move some macros to
normal.dotm, including the one that aligns and captions MathType equations the way I want them! Can you tell me how to assign
keyboard shortcuts to
those macros? Shift-F1 used to invoke the equation macro, but now it reveals formatting.

BTW, I couldn't figure out how to record the equation macro with Word 2007. With 2003, the macro was assigned to shift-F1. Shift-F1
would insert a two cell table, move the left edge of the table in 1/2", insert a caption with Equation # in the right cell, right
justify the caption, move to the left
cell, turn off all borders, do insert/object/MathType equation, then move the
cursor to the line after the table. I'd hit shift-F1 and almost immediately
I'd see the MathType window. I'd type my equation, and when I exited from
MathType, I'd have my equation aligned where I wanted it and captioned, with
the cursor on the next line so I could continue typing.

With 2007, I finally figured out (again my intuition failed me) that the
record macro feature is located on the view ribbon. So I tried to use it to record the same macro--the only way I could see to
assign a keyboard shortcut to it, but I got stuck when I tried to move the caption into the right cell, and again when I tried to
move the left edge of the table over by 1/2". Unless I'm missing something, the record macro feature is a lot less useful in 2007
than it was in 2003.

Your suggestion to insert an aligned and captioned equation as a quick part works pretty well. Since I need to double click the
empty equation object, and I can't see it when it's empty, I made an equation with the letter x in it. Now to insert an equation I
have to click Insert, then quick object, then equation. Then I have to double click on the equation, delete the x, type the
equation, exit from MathType, and move the cursor below the table. Not bad, but not quite as slick as my old shift-F1.

Thanks again for the help,

Elbert
--

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*



  #19  
Old February 5th, 2008, 04:59 PM posted to microsoft.public.word.pagelayout
Bob Mathews
external usenet poster
 
Posts: 270
Default Equation line numbers

Not really. If Word allowed a tab setting of "100%", that would solve
the problem, but tab settings have to be in "ruler units". If your
ruler is in inches, the tab has to be between -22" and 22". There is
no requirement that a tab be set inside the margins.

The only way that I know of to do what you want to do is to save a
different template for each type of document. Let's say you have three
document types with these desired equation and equation number
settings:

equation number
1" from left margin 6.5"
centered on page 6.5"
centered on page 6"

Just set up MTDisplayEquation style with those tab settings, and save
the document with a unique name and a dotm extension. Make sure the
templates are saved to your templates folder, which by default is at
the path

C:\Documents and Settings\[username]\Application Data\Templates

When you create a new document, don't click "New" on the Ribbon.
Instead, click the Office button, then click New. Choose "My
templates". Your custom templates will appear in the "New" dialog, so
choose the one you want and click OK.

If you already have an existing document and you want to apply a style
from another document to it, the process is more involved, but it can
be done.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 5-Feb-2008, wrote:

Bob,

Sorry--one more thing. I use different margin settings for different
kinds of documents. So setting the right tab for the equation
number to 6 will not work for all documents. Is there a way to get
the equation number right aligned no matter what the margin
settings?

Thanks,

Elbert

  #20  
Old February 5th, 2008, 06:28 PM posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Equation line numbers

I believe Word 2007 does have a "right margin tab stop" of some kind.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Bob Mathews" wrote in message
...
Not really. If Word allowed a tab setting of "100%", that would solve
the problem, but tab settings have to be in "ruler units". If your
ruler is in inches, the tab has to be between -22" and 22". There is
no requirement that a tab be set inside the margins.

The only way that I know of to do what you want to do is to save a
different template for each type of document. Let's say you have three
document types with these desired equation and equation number
settings:

equation number
1" from left margin 6.5"
centered on page 6.5"
centered on page 6"

Just set up MTDisplayEquation style with those tab settings, and save
the document with a unique name and a dotm extension. Make sure the
templates are saved to your templates folder, which by default is at
the path

C:\Documents and Settings\[username]\Application Data\Templates

When you create a new document, don't click "New" on the Ribbon.
Instead, click the Office button, then click New. Choose "My
templates". Your custom templates will appear in the "New" dialog, so
choose the one you want and click OK.

If you already have an existing document and you want to apply a style
from another document to it, the process is more involved, but it can
be done.

--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide

On 5-Feb-2008, wrote:

Bob,

Sorry--one more thing. I use different margin settings for different
kinds of documents. So setting the right tab for the equation
number to 6 will not work for all documents. Is there a way to get
the equation number right aligned no matter what the margin
settings?

Thanks,

Elbert




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
partial document line numbers dianaiad New Users 12 October 27th, 2005 03:54 AM
How do you change the font for LINE NUMBERS? linenumbers Page Layout 1 September 19th, 2005 09:46 PM
No page and line numbers in status bar OdinTheYounger General Discussion 1 February 1st, 2005 07:44 PM
what font can be used to make numbers line up in columns in Word susancaseycpa General Discussion 2 January 31st, 2005 10:13 PM
line numbers Al V Running & Setting Up Queries 7 July 14th, 2004 07:33 AM


All times are GMT +1. The time now is 12:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.