Skip to content

User Location Appdata Roaming Microsoft Bibliography Styles Examples

Change the type of brackets in citations

Usually Word surrounds citations by the round brackets (see How to create a citation for more details). But you can insert a citation in the square brackets or use other symbols.

By default Word inserts citations in round brackets:

First, you must specify the style that you will use for citations:

    1.    On the References tab, in the Citations & Bibliography group, select Style:

    2.    Word proposes several styles. In this tip is used the APA Sixth Edition style.

To change the brackets type, do the following:

    1.    Open for edit the file APA*.xsl (for example in Notepad). The location of the file may vary, but it can be located here:

C:\Program Files (x86)\Microsoft Office\root\Office16\Bibliography\Style\ or

C:\Users\***\AppData\Roaming\Microsoft\Bibliography\Style\, where *** is your user name

    2.    Find the following lines in that file (you can search for the phrase "openbracket" and "closebracket"):

<xsl:template name="templ_prop_OpenBracket" >
  <xsl:param name="LCID" />
  <xsl:variable name="_LCID">
   <xsl:call-template name="localLCID">
    <xsl:with-param name="LCID" select="$LCID"/>
   </xsl:call-template>
  </xsl:variable>
  <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
 </xsl:template>

 <xsl:template name="templ_prop_CloseBracket" >
  <xsl:param name="LCID" />
  <xsl:variable name="_LCID">
   <xsl:call-template name="localLCID">
    <xsl:with-param name="LCID" select="$LCID"/>
   </xsl:call-template>
  </xsl:variable>
  <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
 </xsl:template>

    3.    Change the type of brackets:

 <xsl:template name="templ_prop_OpenBracket" >
  <xsl:param name="LCID" />
  <xsl:variable name="_LCID">
   <xsl:call-template name="localLCID">
    <xsl:with-param name="LCID" select="$LCID"/>
   </xsl:call-template>
  </xsl:variable>
  <xsl:value-of select="/*/b:Locals/b:Local[@LCID=INITIAL_CONTENTLCID]/b:General/b:OpenBracket"/>
    <xsl:text>[</xsl:text>
 </xsl:template>

 <xsl:template name="templ_prop_CloseBracket" >
  <xsl:param name="LCID" />
  <xsl:variable name="_LCID">
   <xsl:call-template name="localLCID">
    <xsl:with-param name="LCID" select="$LCID"/>
   </xsl:call-template>
  </xsl:variable>
  <xsl:value-of select="/*/b:Locals/b:Local[@LCID=INITIAL_CONTENTLCID]/b:General/b:CloseBracket"/>
    <xsl:text>]</xsl:text>
 </xsl:template>

After you save this file, you can see square brackets (only in the APA style):

NOTE:

  • We recommend you to create a copy of this file before you will begin to change it.
  • You can create your own style file:
    • copy APA.XSL file (on the same path)
    • change the type of brackets in it
    • choose you own style in the Style list (on the References tab, in the Citations & Bibliography group)

You can change other elements as you wish:

TL;DR At the bottom of this post

So I know it is possible to change citation styles. As base I'd like to use IEEE, the bibliography from IEEE looks really nice to me.

However, I'd like to change the markup from [1] to 1. in the bibliography. And the inline citation from [1] to an actual copy of the bibliography.

Example current situation!

Example wanted situation!

The above situation is what I actually want as citation and bibliography markup.

The ISO 690 Markup got close by actually using the dot instead of brackets, but the inline citation wasn't what I wanted.

I've been looking trough the XLS Files to find the settings I need to change, but quite frankly .. I've got no idea what I'm doing.

Currently I've looked with the help of the following sources:

http://bibword.codeplex.com/wikipage?title=Styles_FAQ&referringTitle=Documentation

http://www.officetooltips.com/word/tips/change_the_type_of_brackets_in_citations.html

https://social.msdn.microsoft.com/search/en-US?rq=site%3Ahttps%3A%2F%2Fblogs.msdn.microsoft.com&rn=blogs.msdn.microsoft.com&ral=1&query=citations%20bibliography&ac=4#refinementChanges=108&pageNumber=1&showMore=false

But I found nothing. This is my current file: http://pastebin.com/qE4dNzL9

I guess I need to change something here as most tutorials show it:

I did change to with the added tags, but no results.

Any ideas of where to look?

EDIT: I found one of the things I was trying to accomplish. The following was able to remove the brackets, and display a dot:

This means that the layout goal for the Bibliography has been reached, but the citation is still in progress.

Example: Citation currently changed from to

The following tag creates the citation, but I still have issues on how to display more info.

I've tried using the tags from the tag inside the tag, but this shows no information on the linked citation.

Updated XSL File: http://pastebin.com/EvBE10Ct Location of the file in my case was:

Other location could be

TL;DR I'd like to have the same mark-up for the citation as used by the Bibliography. Which shall look like this:

microsoft-wordtext-formattingcitationsbibliography