Each source type in Word (for example, book, film, article in a periodical, and so forth) has a built-in list of fields that you can use for the bibliography. Your style will now appear under its own name in the Bibliography Style dropdown list-box in the application.
HOW TO FORMAT BIBLIOGRAPHY IN WORD 2010 CODE
To do so, add the following XML code to specify that the style name be in the English locale (Lcid determines the language).
In the case of our example file, we want our custom bibliography style name, "Simple Book Style," to appear in the Style drop-down list on the References tab. This section contains the locale name of your style. Add this tag: and then give your style a name, in the language of your choice, by using the following code. More importantly, you can give your style a name. For example, you can give your style a version number to track the changes you make, as shown in the following example. Most of the preceding XML code is just preparation for the more interesting parts of the style. As the name suggests, our example is going to be a style for a "book" source type.Īt the top of the file, add the following code: Īs the comments indicate, Word uses HTML to represent a bibliography or citation within a document. xsl file called MyBookStyle.xsl, using your favorite XML editor. To create a bibliography style, we will create an XML style sheet that is, an. Building a basic bibliography styleįirst, create a basic bibliography style that the custom style will follow. All bibliography styles are stored in \Microsoft\Bibliography\Style. The \Bibliography\Sources.xml file won't exist until you create your first bibliography source in Word.