Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-17-2017, 02:10 PM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default non-breaking ] and [

Somehow, I manage to end a line in the middle of something which must stay together. Word thinks that it is a good idea to just cut it in between the ] and [ and continue on a new line.



I know the non-breaking space, dash, etc. How do I get a non-breaking [ and ]? Are ( and ) always non-breaking? How about { and }?

Thanks!
Niels
Reply With Quote
  #2  
Old 08-17-2017, 02:41 PM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Unless you have a space after the [ or before the ], Word will ordinarily keep them with the following and preceding characters, respectively. None of ()[]{}<>«»‘’“”/|\ is ordinarily treated as a character that wraps to the next line.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-17-2017, 02:55 PM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default

There's a field code bevore the ]. I think that's what causes word to break the text in two...
Attached Images
File Type: png bracket.png (8.4 KB, 16 views)
Reply With Quote
  #4  
Old 08-17-2017, 03:00 PM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You appear to have an equation there, not a field. No matter, Word doesn't ordinarily treat the characters I mentioned any differently for either of those. I suspect you have a trailing space in the equation - impossible to tell from a screenshot.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 08-17-2017, 03:18 PM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You appear to have an equation there, not a field. No matter, Word doesn't ordinarily treat the characters I mentioned any differently for either of those. I suspect you have a trailing space in the equation - impossible to tell from a screenshot.
Hmmm. I have uploaded a word file with that equation copy/pasted into it. Would you mind to take a brief look?
Attached Files
File Type: docx bracket.docx (14.2 KB, 9 views)
Reply With Quote
  #6  
Old 08-17-2017, 03:37 PM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

It seems you do have fields - EQ fields - and they're not playing nicely. A workaround would be to put the trailing ] inside the field code (e.g. {EQ \o (4;−])}) with the ] in your normal font.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 08-17-2017, 10:55 PM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
It seems you do have fields - EQ fields - and they're not playing nicely. A workaround would be to put the trailing ] inside the field code (e.g. {EQ \o (4;−])}) with the ] in your normal font.
It looks better now, but there's a space that shouldn't be there before the last 4 and the minus sign. It's only there in print (or pdf), not in the word file.
Attached Images
File Type: png bracket2.png (47.4 KB, 16 views)
File Type: png bracket3.png (5.7 KB, 16 views)
Reply With Quote
  #8  
Old 08-17-2017, 11:02 PM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

When I look at the field code in the document you attached, there is a space before the '-'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 08-17-2017, 11:59 PM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
When I look at the field code in the document you attached, there is a space before the '-'.
You are correct. However, if I remove that space, the minus and the 4 are no longer directly above each other.

Edit: added a space after the four and that works Thanks!

Edit2: found another "funny" one: a middle dot starts on a new line where it shouldn't do that.
Attached Images
File Type: png bracket4.png (2.7 KB, 16 views)
File Type: png bracket5.png (13.2 KB, 16 views)
Reply With Quote
  #10  
Old 08-18-2017, 12:24 AM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try coding the second field as:
{EQ [B(C6F5)\o (4,−)]}
including your original subscripting & superscripting. This incorporates your entire formula into the field.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 08-18-2017, 12:52 AM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Try coding the second field as:
{EQ [B(C6F5)\o (4,−)]}
including your original subscripting & superscripting. This incorporates your entire formula into the field.
I'm not sure what you mean and that C6F5 formula seems fine now. The second one, which ends with [middle dot]H2O, is not.
Reply With Quote
  #12  
Old 08-18-2017, 02:23 PM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See attached.
Attached Files
File Type: docx bracket.docx (14.5 KB, 7 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 08-18-2017, 11:28 PM
nielsgeode nielsgeode is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Advanced Beginner
non-breaking ] and [
 
Join Date: Apr 2017
Posts: 42
nielsgeode is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
See attached.
Thanks Unfortunately, if I copy and paste it into my thesis file, word ends the line after the first ] and starts a new one with [. The entire formula should be on the same line.
Reply With Quote
  #14  
Old 08-18-2017, 11:48 PM
macropod's Avatar
macropod macropod is offline non-breaking ] and [ Windows 7 64bit non-breaking ] and [ Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That's because I treated the two[*] blocks as separate equations. They can just as easily be incorporated into a single EQ field, though. See attached.
Attached Files
File Type: docx bracket.docx (14.5 KB, 7 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Equation non-breaking mohsen.amiri Word 2 02-04-2017 12:03 AM
page breaking and numbering ? shin Word 1 09-14-2016 09:59 AM
non-breaking ] and [ Breaking up a mergefield into parts WillTRiker Mail Merge 1 07-10-2015 01:58 AM
breaking header hierarchy john_trueblue Word 2 02-19-2013 05:00 AM
Non-breaking items judicial85 Word 7 02-23-2012 07:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft