footnote styles

H

hhnnrr

hello ,
i'm using an arabic version of microsoft office word 2003 , an i'
writing a paper which includes many footnotes .

my question is :

how can i have the numbers of the footnotes looking like this : ( 1 )
but still be automatic ( ie. when i move the text the footnote numbe
changes accordingly ) ..


thank yo
 
J

John McGhie [MVP - Word and Word Macintosh]

Type the parentheses, and insert the footnote between them. Sorry: you can
customise the character used as the footnote number, and you can customise
the footnote reference style text formatting, but you cannot customise text
to be included with the footnote number.


hello ,
i'm using an arabic version of microsoft office word 2003 , an i'm
writing a paper which includes many footnotes .

my question is :

how can i have the numbers of the footnotes looking like this : ( 1 ) ,
but still be automatic ( ie. when i move the text the footnote number
changes accordingly ) ..


thank you

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
H

hhnnrr

in other words what i'm asking for is impossible ?!
and i have to do it manually in a 600 page thesis ?
i hope i misunderstood ..
 
J

John McGhie [MVP - Word and Word Macintosh]

Only 600 pages? You'll have it done in no time!

You have to insert the footnote reference anyway, it's two extra keystrokes
to insert the brackets. If that's too much effort, do the first one, then
store it as an autotext (look up autotext in the Help...). Name the
autotext something short, e.g. "#ftnt", and each time you type that string,
you will get a new, automatically-numbered footnote.


in other words what i'm asking for is impossible ?!
and i have to do it manually in a 600 page thesis ?
i hope i misunderstood ...

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
T

Tony Jollans

Let Word automatically insert the footnotes and, when you're finished, do a
global Find and Replace to add the parentheses.
 
H

hhnnrr

thank you all ,

mr. jollans could you further explain the procedure please

its seems like what i'm looking for , but i'm afraid i'm not familia
with it


thanks agai
 
T

Tony Jollans

Footnote numbers occur twice - once at the relevant point in the document
and once in the footnote.

To change both ...

Hit Ctrl+H
Find ^f
Replace with (^&)
Hit Replace All

If you only want to change the numbers in one or other occurrence you'll
need to limit where you do the replacements.
 
T

Tony Jollans

Thanks Daiya.

There's enough extra information in those side notes there to keep most
anybody happy :)
 
C

Chuck Henrich

In addition to the other suggestions you received, you can change the way
Word inserts footnotes by intercepting that command with a macro called
InsertFootnote. Note that this will change how all footnotes in all
documents are formatted. You can add code to the macro that allows you to
decide whether to put brackets around your references, superscript, different
colours etc.

Put this macro in a global template (for instance a template stored in your
Startup folder) or in your Normal.dot template.


Sub InsertFootnote()

Dim fn As Footnote
Dim rngRange As Range

Set rngRange = Selection.Range

Set fn = ActiveDocument.Footnotes.Add(Range:=rngRange)
fn.Reference.Font.Superscript = False

With rngRange
.InsertBefore "("
.MoveEnd Unit:=wdCharacter, Count:=1
.Collapse wdCollapseEnd
.InsertAfter ")"
End With

With Selection
With .Paragraphs(1).Range
.Font.Reset
.InsertBefore "("
.Characters(.Characters.Count - 1) = ""
.MoveEnd Unit:=wdCharacter, Count:=-1
.InsertAfter ")" & vbTab
.Collapse wdCollapseEnd
.Select
End With
End With

End Sub

HTH
 
H

hhnnrr

chuck herich,
thank you so much
but can you - or anyone else - explain how macros work in detail
i've never used this feature before yet i need it desperatly !

please .... anyone , step by step
 
C

Chuck Henrich

Glad to be of help. I can give you quick instructions on how to create your
own add-in template where you can store the macro I posted and have it run
automatically when you insert footnotes.

Your other question - how macros work - is a big subject. To get started
you can take a look at the Visual Basic Editor (VBE) help files (Help>Table
of Contents>Programming Concepts>Working with Macros). You can also check
out the Word MVPS website (a wealth of info there). Here’s a link to part 1
of their tutorial on templates:

http://word.mvps.org/FAQs/Customization/CreateATemplatePart1.htm

To open the VBE choose Tools>Macro>Visual Basic Editor from your Word
window. You could also try the default shortcut key Alt+F11 if you haven’t
assigned something else to that keyboard combo.

To create an add-in:

1. Open a new document.

2. Click File>Save As.

3. In the Save As dialog, in the Save As Type field, click Document
Template. Save it in your Word Startup folder so that it will load every
time you start word and the macros it contains will be available to you. To
find your Startup folder, click Tools>Options>File Locations, click on
Startup in the File Types list and click the Modify button to see the full
path.

4. In the Save As dialog, give your add-in a name in the File Name field
(eg “MyAddInâ€) and click Save. It will be saved as a template with a .dot
extension (eg “MyAddIn.dotâ€).

To add the macro I posted to your new add-in:

1. Open your add-in if it’s not open already (File>Open, document
type=templates and folder is your startup folder).

2. Open the VBE Editor (see above).

3. Make sure the Project Explorer is visible (in the VBE, click
View>Project Explorer or Ctl+R). The Project Explorer lists all your loaded
templates.

4. Find your add-in in the list. It should be listed as “Template Project
(MyAddIn)â€. Right click on it and choose Project Properties.

5. In the Project Properties dialog on the General tab give your add-in a
descriptive name in the Project Name field and click OK. Now it will be
listed by that descriptive name in the Project Explorer list.

6. Right click on your project in the Project Explorer and choose
Insert>Module. You’ll see a Modules section open in your project and Module1
listed there.

7. Double click on Module1 to make sure it’s open in a separate window in
the VBE (it should already be open). Type “Option Explicit†then hit enter a
couple of times. For more info about Option Explicit search the VBE Help
files.

8. Copy and paste the macro I posted underneath Option Explicit.

9. In the VBE, click Debug>Compile Project. This compiles the code and
checks for errors/problems.

10. In the VBE, click File>Save.

Close the VBE and exit Word.

Open Word and your new add-in will be automatically load if you saved it in
your Startup folder. To test whether it’s intercepting the insert footnote
command, insert a footnote and see what happens.

There’s a world more to this subject than the brief instrux above, but
hopefully they’ll get you started.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top