Jul 27, 2017 There is a blank line in the footnote separator. Remove it.Want more? Then download our TEST4U demo from TEST4U provides an inn. Collaborate for free with an online version of Microsoft Word. Save documents in OneDrive. Share them with others and work together at the same time. Dec 17, 2015 To add the Style Separator button to the toolbar in Office Word 2007 or in Word 2010, follow these steps: Click the Microsoft Office button, and then click Word Options. Click Customize. In the Choose commands from list, click All Commands. In the list of commands, click Sytle Separator, click Add, and then click OK.
![Word For Mac Separator Line Word For Mac Separator Line](/uploads/1/1/9/4/119471406/452980482.png)
This article describes how word and paragraph boundaries are defined, how line breaks are represented, and how you can separate a string by paragraph.
Word Boundaries
The text system determines word boundaries in a language-specific manner according to Unicode Standard Annex #29 with additional customization for locale as described in that document. On OS X, Cocoa presents APIs related to word boundaries, such as the
NSAttributedString
methods doubleClickAtIndex:
and nextWordFromIndex:forward:
, but you cannot modify the way the word-boundary algorithms themselves work.Line and Paragraph Separator Characters
There are a number of ways in which a line or paragraph break can be represented. Historically,
n
, r
, and rn
have been used. Unicode defines an unambiguous paragraph separator, U+2029
(for which Cocoa provides the constant NSParagraphSeparatorCharacter
), and an unambiguous line separator, U+2028
(for which Cocoa provides the constant NSLineSeparatorCharacter
).Word For Mac Separator Liner
In the Cocoa text system, the
NSParagraphSeparatorCharacter
is treated consistently as a paragraph break, and NSLineSeparatorCharacter
is treated consistently as a line break that is not a paragraph break—that is, a line break within a paragraph. However, in other contexts, there are few guarantees as to how these characters will be treated. POSIX-level software, for example, often recognizes only n
as a break. Some older Macintosh software recognizes only r
, and some Windows software recognizes only rn
. Often there is no distinction between line and paragraph breaks.Which line or paragraph break character you should use depends on how your data may be used and on what platforms. The Cocoa text system recognizes
n
, r
, or rn
all as paragraph breaks—equivalent to NSParagraphSeparatorCharacter
. When it inserts paragraph breaks, for example with insertNewline:
, it uses n
. Ordinarily NSLineSeparatorCharacter
is used only for breaks that are specifically line breaks and not paragraph breaks, for example in insertLineBreak:
, or for representing HTML <br>
elements.If your breaks are specifically intended as line breaks and not paragraph breaks, then you should typically use
NSLineSeparatorCharacter
. Otherwise, you may use n
, r
, or rn
depending on what other software is likely to process your text. The default choice for Cocoa is usually n
.Separating a String “by Paragraph”
A common approach to separating a string “by paragraph” is simply to use:
This, however, ignores the fact that there are a number of other ways in which a paragraph or line break may be represented in a string--
r
, rn
, or Unicode separators. Instead you can use methods—such as
enumerateSubstringsInRange:options:usingBlock:
and enumerateLinesUsingBlock:
—that take into account the variety of possible line terminations, as illustrated in the following example.Word For Mac Separator Line Word
Word For Mac Separator Line Design
Copyright © 1997, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-02-11