This project is read-only.

non-breaking white space before square bracket in IEEE - Reference Order

Apr 10, 2010 at 11:47 AM


I am using the IEEE - Reference Order style.  I would like the space between the last word in my sentence and the start of the citation to be non-breaking.  Currently I have citations appearing on the start of the next line.  I have looked at the xslt but cannot find the place to change it.

Any help would be greatly appreciated.


Apr 10, 2010 at 2:23 PM

Are you talking about the space just in front of the opening bracket? If so, that space is put there by the field code and not by the stylesheet. You can't remove that space using the stylesheet.

I haven't tried it myself, but according to the second post at you could wrap your citation field in a quote field to suppress the leading space. You could then enter your own non-breaking space in front of the quote field.

Apr 11, 2010 at 10:44 PM

Hi Yves,

Thanks for your help.  That sounds rather complicated and am not sure how to insert one field inside another.  Anyway word has just trashed my document. I was playing with fields and cross references at the time it went screwey, I reopened it and 1/4 of my text had turned to box characters .  I have spent the last 7 hours recovering what I can into a new document with as little word magic as possible.  I am going through it now replacing the static text with citations.  After this experience I don't feel too adventurous.  I rephrased my sentence to get the citation on the same line as the rest of the sentence.

I am not sure what caused it.  I did have some text pasted in from pdf files where the citations didn't behave like the rest of the doc and some of the document headers would not appear in the xref list.  I think the formating or similar must have got broken.  So I started from scratch and pasted any rescues text into the document as unformatted text, then reapplied the formatting and citations.  I am now going to wait until I am completely finished to insert xrefs across my document.

Thanks again for your help.


PS BibWord is great it enables me to use the IEEE style which means my Dissertation almost looks like it was done in Latex.