Space between text and citation field in Word

Fiona Keates 0 Reputation points
2023-03-10T15:43:01.7533333+00:00

Hi

Word seems to automatically put a space in front of a citation code (see yellow highlight in image below). Is there any way of editing the field code to remove the unwanted space? this is in 'Harvard - Anglia' Citation Style User's image

it appears to come from the field script or syntax:

User's image

Note, there are 'work arounds' however, these get removed when the field codes get refreshed.

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
660 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
893 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Muhammad Ahsan Khan 245 Reputation points
    2023-03-27T10:33:30.0166667+00:00

    To remove the space between the text and the citation field in Word, you can edit the field code manually. Here are the steps:

    1. Right-click on the citation code and select "Toggle Field Codes" from the context menu. This will display the field code for the citation.
    2. Locate the part of the field code that displays the citation text. It will look something like this: { ADDIN ZOTERO_ITEM "{ formatted citation }" }
    3. Add the \* MERGEFORMAT switch to the end of the field code, like this: { ADDIN ZOTERO_ITEM "{ formatted citation }" \* MERGEFORMAT }
    4. Update the field code by right-clicking on the citation code and selecting "Update Field" from the context menu.

    This should remove the unwanted space between the text and the citation field. Note that if you refresh the field codes, the workaround may be removed and you'll need to repeat these steps.

    1 person found this answer helpful.