Microsoft Office Word: Difference between revisions

From miki
Jump to navigation Jump to search
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Links ==
;Equations
* [http://www.iun.edu/~mathiho/useful/Equation%20Editor%20Shortcut%20Commands.pdf Equation Editor Shortcut Commands.pdf]
* [http://unicode.org/notes/tn28/UTN28-PlainTextMath-v2.pdf Unicode Nearly Plain-Text Encoding of Mathematics]
* [http://dataninja.files.wordpress.com/2007/09/word07shortcuts.pdf Shortcuts for the Word 2007 equation editor]

== Configuration Word 2007 ==
* Word options →
** Customize →
*** QuickAccess &marr; Save + Undo + Redo + Borders and Shading... + Shading + Style
*** Keyboard shortcut &marr; <tt>FormatParagraph</tt> = {{kb|C-A-D}} (was <tt>InsertEndNoteNow</tt>)
*** Keyboard shortcut &marr; <tt>ShadingPattern</tt> = {{kb|C-1}}
** Advanced &rarr;
*** Display &rarr; ''Style area pane width in Draft and Outline views'' = 1.5cm
*** Show document content &rarr; ''Show Bookmarks''
** Proofing &rarr;
*** AutoCorrect option as usual
*** <tt>--&gt;</tt>, <tt>&lt;--</tt>, <tt>&lt;-&gt;</tt> to Symbol arrows (&rarr; &larr; ...)
*** <tt>-=></tt>, <tt><=-</tt> to bold arrows.
* Document map style &rarr; font height=8 (already done in Word 2007)

== Keyboard Shortcuts ==
== Keyboard Shortcuts ==
;Word 365 shortcuts
* To find NEW shortcuts: type the command in the '''Search''' bar (eg. `footnote`), and it will reply with the action and associated shortcuts if available
;Word 2003 shortcuts
:Microsoft has released an [http://office.microsoft.com/en-us/word-help/interactive-word-2003-to-word-2007-command-reference-guide-HA010074432.aspx interactive application] to locate the ''Word 2003'' commands in the new ''Word 2007'' interface. The same application can be used to find back the usual ''Word 2003'' keyboard shortcuts, since these still work in ''Word 2007''.
;Printing key assignments
:You can print the custom key assignment that are applicable for a given document (either because defined in the template or in that specific document). In the ''Print'' dialog box, field ''Print What'' &rarr; select '''key assignements'''.

{| class="wikitable"
{| class="wikitable"
!Shortcut
!Shortcut
!Office 365
!Description
!Description
!Custom
!Custom
|-
|-
|'''Alt-F9'''
|{{kb|A-F9}}
|
|Toggle view/hide '''field''' code
|Toggle view/hide '''field''' code
|
|
|-
|-
|'''Ctrl-F9'''
|{{kb|C-F9}}
|
|Create a new '''field'''
|Create a new '''field'''
|
|-
|{{kb|C-S-e}}
|
|Toggle track changes mode
|
|-
|{{kb|A-F11}}
|
|Show Visual Basic
|
|-
|{{kb|A-i}}{{kb|m}}
|
|<u>I</u>nsert '''co<u>m</u>ment'''. Note: sometimes must be done as {{kb|Alt}} {{kb|i}} {{kb|m}}, with separate keypresses.
|
|-
|{{kb|C-A-m}}
|
|<u>I</u>nsert '''co<u>m</u>ment'''. New Ribbon / Office 365 shortcut.
|
|-
|{{kb|A-i}}{{kb|n}}{{kb|n}}
|{{kb|C-A-f}}
|<u>I</u>nsert refere<u>n</u>ce - '''foot<u>n</u>ote'''. Note: sometimes must be done as {{kb|Alt}} {{kb|i}} {{kb|n}} {{kb|n}}, with separate keypresses
|
|-
|{{kb|A-i}}{{kb|n}}{{kb|r}}
|
|<u>I</u>nsert refere<u>n</u>ce - '''<u>r</u>eference'''. Note: sometimes must be done as {{kb|Alt}} {{kb|i}} {{kb|n}} {{kb|r}}, with separate keypresses
|
|-
|{{kb|A-e}}{{kb|s}}
|
|<u>E</u>dit - '''paste <u>s</u>pecial''' (paste figures)
|
|-
|{{kb|C-S-b}}
|
|Apply '''Body''' style
|Yes
|-
|{{kb|C-S-s}}
|
|Open '''Apply Styles''' task pane
|
|-
|{{kb|C-S-A-s}}
|
|Open '''Styles''' task pane
|-
|{{kb|C-S-l}}
|
|Apply '''List Bullet''' style<br/>This is the ''only sane'' way to apply bullets in word
|
|-
|{{kb|A-S-left}}<br/>{{kb|A-S-right}}
|
|Demote / Promote bullet list or heading list. Handy to change a body text into a heading, or to edit bulleted lists.
|
|
|}
|}


== Tips ==
== Tips ==
=== Miscellaneous ===
* '''Creating cross-references in ''Word''''' (See [http://randomtech.blogspot.com/2008/03/microsoft-word-how-to-cross-reference.html])
* '''Creating cross-references in ''Word''''' (See [http://randomtech.blogspot.com/2008/03/microsoft-word-how-to-cross-reference.html])
* When using '''bookmarks''' (as in tip above), better '''make the bookmarks visible''' (Menu ''Tools'' &rarr; ''View'' &rarr; ''Show Bookmarks'').<br> This will avoid to inadvertently insert text inside some predefined bookmarks (particularly relevant when cross-referecing the bookmark with field ''{ REF }'' )
**
* [http://sbarnhill.mvps.org/WordFAQs/QandA2007.htm How to setup Q&A Styles in Word 2007]
* Create bibliography entries in word, use fields: <code>{ INCLUDETEXT "{ DOCPROPERTY docpath }\\{ DOCPROPERTY relBiblioPath }" lit_FIPS_180_3}</code>

=== Fixing Bullets in Words ===

* {{red|'''Bullets & Style!!!'''}} &mdash;[http://www.shaunakelly.com/word/bullets/controlbullets.html How to control bullets in Word]
** See also [http://www.shaunakelly.com/index.php?p=1791 How to control bullets in Word 2007 and Word 2010]

* To create a new list style from an existing style, first create a sample in the document, and select ''Define New List Style...'' while cursor is in the sample list.

* Note that one can repurpose the bullet button in the ribbon to apply the ''List Bullet'' style instead [http://social.msdn.microsoft.com/Forums/office/en-US/48067a88-302a-4e18-b6d7-5e4e356c828d/word-2010-defaulting-bullets-button-paragraph-group-home-tab-to-custom-bulleted-list?forum=worddev]

"...intercept the built-in FormatBulletDefault command by placing this
simple macro in your normal.dotm:
Sub FormatBulletDefault()
Selection.Paragraphs(1).Style = wdStyleListBullet
End Sub"

=== Equation Editor ===
* See [http://www.iun.edu/~mathiho/useful/Equation%20Editor%20Shortcut%20Commands.pdf Equation Editor Shortcut Commands.pdf]
* {{kb|1=Alt-=}} to insert equation.

;Work-arounds
* '''Bug''' &mdash; When switching between ''linear'' and ''professional'' display, text enclosed in quotes loses the ''regular text'' style.
:'''{{green|workaround}}''' Go to Options → Proofing → AutoCorrect Options... → AutoFOrmat As You Type → In ''Replace as you type'', '''Untick''' ''"Straight quotes" with ``smart quotes,,''.
* To add text below or above a stretched horizontal arrow, use twice <code>\below</code> or <code>\above</code>:
\begin (a+b+c+d)\below \to \end \below "this way".
* To center an equation, add a trailing space '''after and outside''' the equation block.

=== New line in justified paragraph ===
* Use {{kb|Shift-Enter}} to insert a newline jump in a paragraph.
* If paragraph is justified, this jumps will make the last line to be justified as well. To avoid this, insert a {{kb|Tab}} before the jump. [http://wordribbon.tips.net/T010912_Using_Manual_Line_Breaks_with_Justified_Paragraphs.html]

=== Prevent page break in table ===
* Make sure text wrapping in the table is set to '''None''' (see Table properties)
* For each row, in table properties, disable '''Allow row to break across pages''' (note that this paragraph setting ''Keep lines together'' has no effect in a table)
* For each row, set paragraph property '''Keep with next'''.


== Fields and Switches ==
== Fields and Switches ==
Line 42: Line 171:


== Troubleshoot ==
== Troubleshoot ==
=== Speed / Performance Issues ===
* '''Invalid character setting''' error when using the '''= (formula)''' field
Various recommendations to avoid flickering cursor or cursor disappearing when typing.
* Keep the ''Ribbon'' '''minimized''' ({{kb|C-F1}})!
* '''Disable''' ''Mark grammar errors as you type''
* Word in '''Draft''' mode.

=== Miscellaneous ===
;Invalid character setting error when using the = (formula) field
: This is due to incorrect regional setting, when both list separator and decimal separator are the same (see [http://support.microsoft.com/kb/284921] and [http://support.microsoft.com/kb/81059])
: This is due to incorrect regional setting, when both list separator and decimal separator are the same (see [http://support.microsoft.com/kb/284921] and [http://support.microsoft.com/kb/81059])
;Pictures not showing in DRAFT mode, when saving in .docx format
: Known bug (see [http://support.microsoft.com/kb/2000020], [http://superuser.com/questions/152091/how-to-display-images-in-draft-view-in-word-2007]). Work-around is either to switch to ''Print Layout'' mode or save into compatibility .doc format.
;When Saving Word Document Reviewer name is changing to "Author" or "A1" etc
:Go to Office Button|Word Options|Trust Center|Trust Center Settings|Privacy Option|Document Specific Settings, then uncheck ''Remove Personal Information from File Properties on Save'' [http://blogs.technet.com/b/wordonenotesupport/archive/2010/01/07/word-2007-when-saving-word-document-reviewer-name-is-changing-to-author.aspx]

=== Missing proofing tools ===
If Office complains about '''Missing proofing tools''', even though the proofing tools were installed [http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/missing-proofing-tools-even-after-installing/5bb359fc-fa3f-40cc-a5f8-d8f395ee2e04?auth=1]:

* Make sure you installed the version matching your office architecture (ie. x86 version for 32-bit office, 64-bit version for 64-bit office).
: Get the office version in ''File &rarr; Account &rarr; About Word''.

=== Disappearing cursor ===
When typing, the cursor disappears (Word 2016), and caret mouse pointer become a standard arrow. This is particularly aggravated in Draft mode and/or edition with tracking change enabled but no markup shown.

* Some says it's due to corrupted documents.
* What helped for me, was to disable proofing check while typing (spell checker, grammar checker).

=== Fucked-up cross-reference ===
* You make a cross-reference to an heading number and title.
* After much edition, you update the references.
* You noticed your cross-ref is all f*cked up, containing lot of text, apparently pasted from the text preceding the linked heading.

Fix:
* DO NOT INSERT text BEFORE any heading. Like, move your cursor at the beginning of an heading line, and press enter. DOING SO WILL F*CK UP YOUR XREF. But come on MS, this bug exists since 1999 at least!!!

Latest revision as of 15:41, 10 November 2024

Links

Equations

Configuration Word 2007

  • Word options →
    • Customize →
      • QuickAccess &marr; Save + Undo + Redo + Borders and Shading... + Shading + Style
      • Keyboard shortcut &marr; FormatParagraph = C-A-D (was InsertEndNoteNow)
      • Keyboard shortcut &marr; ShadingPattern = C-1
    • Advanced →
      • Display → Style area pane width in Draft and Outline views = 1.5cm
      • Show document content → Show Bookmarks
    • Proofing →
      • AutoCorrect option as usual
      • -->, <--, <-> to Symbol arrows (→ ← ...)
      • -=>, <=- to bold arrows.
  • Document map style → font height=8 (already done in Word 2007)

Keyboard Shortcuts

Word 365 shortcuts
  • To find NEW shortcuts: type the command in the Search bar (eg. `footnote`), and it will reply with the action and associated shortcuts if available
Word 2003 shortcuts
Microsoft has released an interactive application to locate the Word 2003 commands in the new Word 2007 interface. The same application can be used to find back the usual Word 2003 keyboard shortcuts, since these still work in Word 2007.
Printing key assignments
You can print the custom key assignment that are applicable for a given document (either because defined in the template or in that specific document). In the Print dialog box, field Print What → select key assignements.
Shortcut Office 365 Description Custom
A-F9 Toggle view/hide field code
C-F9 Create a new field
C-S-e Toggle track changes mode
A-F11 Show Visual Basic
A-im Insert comment. Note: sometimes must be done as Alt i m, with separate keypresses.
C-A-m Insert comment. New Ribbon / Office 365 shortcut.
A-inn C-A-f Insert reference - footnote. Note: sometimes must be done as Alt i n n, with separate keypresses
A-inr Insert reference - reference. Note: sometimes must be done as Alt i n r, with separate keypresses
A-es Edit - paste special (paste figures)
C-S-b Apply Body style Yes
C-S-s Open Apply Styles task pane
C-S-A-s Open Styles task pane
C-S-l Apply List Bullet style
This is the only sane way to apply bullets in word
A-S-left
A-S-right
Demote / Promote bullet list or heading list. Handy to change a body text into a heading, or to edit bulleted lists.

Tips

Miscellaneous

  • Creating cross-references in Word (See [1])
  • When using bookmarks (as in tip above), better make the bookmarks visible (Menu ToolsViewShow Bookmarks).
    This will avoid to inadvertently insert text inside some predefined bookmarks (particularly relevant when cross-referecing the bookmark with field { REF } )
  • How to setup Q&A Styles in Word 2007
  • Create bibliography entries in word, use fields: { INCLUDETEXT "{ DOCPROPERTY docpath }\\{ DOCPROPERTY relBiblioPath }" lit_FIPS_180_3}

Fixing Bullets in Words

  • To create a new list style from an existing style, first create a sample in the document, and select Define New List Style... while cursor is in the sample list.
  • Note that one can repurpose the bullet button in the ribbon to apply the List Bullet style instead [2]
"...intercept the built-in FormatBulletDefault command by placing this
simple macro in your normal.dotm:

Sub FormatBulletDefault()
Selection.Paragraphs(1).Style = wdStyleListBullet
End Sub"

Equation Editor

Work-arounds
  • Bug — When switching between linear and professional display, text enclosed in quotes loses the regular text style.
workaround Go to Options → Proofing → AutoCorrect Options... → AutoFOrmat As You Type → In Replace as you type, Untick "Straight quotes" with ``smart quotes,,.
  • To add text below or above a stretched horizontal arrow, use twice \below or \above:
\begin (a+b+c+d)\below \to  \end \below "this way".
  • To center an equation, add a trailing space after and outside the equation block.

New line in justified paragraph

  • Use Shift-Enter to insert a newline jump in a paragraph.
  • If paragraph is justified, this jumps will make the last line to be justified as well. To avoid this, insert a Tab before the jump. [3]

Prevent page break in table

  • Make sure text wrapping in the table is set to None (see Table properties)
  • For each row, in table properties, disable Allow row to break across pages (note that this paragraph setting Keep lines together has no effect in a table)
  • For each row, set paragraph property Keep with next.

Fields and Switches

Fields

  • The Seq field ([4])
Field code Result
{ SEQ MySeq \# 000 \* MERGEFORMAT } 000
001
002
  • The = (formula) field
  • The Ref field
    • Example: { REF myBookmark \h } (\h indicates that cross-reference is also an hyper-link)

Field switches

  • The format (\*) field switch ([5])
  • The Numeric Picture (\#) field switch ([6])
    • Examples: { = 4 + 5 \# 00.00 } displays "09.00", { = 9 + 6 \# $### } displays "$ 15", { = 111053 + 111439 \# x## } displays "492", { = 1/8 \# 0.00x } displays "0.125".

Troubleshoot

Speed / Performance Issues

Various recommendations to avoid flickering cursor or cursor disappearing when typing.

  • Keep the Ribbon minimized (C-F1)!
  • Disable Mark grammar errors as you type
  • Word in Draft mode.

Miscellaneous

Invalid character setting error when using the = (formula) field
This is due to incorrect regional setting, when both list separator and decimal separator are the same (see [7] and [8])
Pictures not showing in DRAFT mode, when saving in .docx format
Known bug (see [9], [10]). Work-around is either to switch to Print Layout mode or save into compatibility .doc format.
When Saving Word Document Reviewer name is changing to "Author" or "A1" etc
Go to Office Button|Word Options|Trust Center|Trust Center Settings|Privacy Option|Document Specific Settings, then uncheck Remove Personal Information from File Properties on Save [11]

Missing proofing tools

If Office complains about Missing proofing tools, even though the proofing tools were installed [12]:

  • Make sure you installed the version matching your office architecture (ie. x86 version for 32-bit office, 64-bit version for 64-bit office).
Get the office version in File → Account → About Word.

Disappearing cursor

When typing, the cursor disappears (Word 2016), and caret mouse pointer become a standard arrow. This is particularly aggravated in Draft mode and/or edition with tracking change enabled but no markup shown.

  • Some says it's due to corrupted documents.
  • What helped for me, was to disable proofing check while typing (spell checker, grammar checker).

Fucked-up cross-reference

  • You make a cross-reference to an heading number and title.
  • After much edition, you update the references.
  • You noticed your cross-ref is all f*cked up, containing lot of text, apparently pasted from the text preceding the linked heading.

Fix:

  • DO NOT INSERT text BEFORE any heading. Like, move your cursor at the beginning of an heading line, and press enter. DOING SO WILL F*CK UP YOUR XREF. But come on MS, this bug exists since 1999 at least!!!