Chapter 2. Punctuation

Follow these guidelines to apply correct and consistent punctuation.

For more information about punctuation, see Developing Quality Technical Information, Chapter 7, “Use consistent and appropriate punctuation.”

Punctuation marks and special characters

Ensure that references in text to punctuation marks and special characters are clear. Special characters include symbols such as the ampersand (&) and the at sign (@).

Some punctuation marks and special characters are known by different English names in different geographic areas. For example, the number sign (#) is commonly referred to as the pound sign in the US and the hash sign in the UK. Use the names that are listed in the table in this topic.

Individual punctuation marks or special characters

Follow these guidelines for individual punctuation marks or special characters:

• Do not refer to an individual punctuation mark or special character by its symbol alone. Use the name alone, or use the name followed by the symbol in parentheses. Use the name alone if the punctuation mark or special character is standard, such as a comma or period, and including the symbol would clutter the text. Include the symbol in parentheses when a punctuation mark or special character is not well known or when including the symbol improves clarity.


Examples (incorrect)

A menu item with ... indicates that further user input is required.

Insert . after each sentence.

Use * as a wildcard.

If the first character of the file name is >, the file name is rejected.



Examples (correct)

A menu item with an ellipsis (...) indicates that further user input is required.

Insert a period after each sentence.

Use an asterisk (*) as a wildcard.

If the first character of the file name is a greater than symbol (>), the file name is rejected.


• If you refer to the punctuation mark or special character again close to the first occurrence, you can either repeat the name without the symbol in parentheses or refer to the punctuation mark or special character generically.


Examples

Use the forward slash (/) in a path name. Do not use the forward slash for any other purpose.

Use the forward slash (/) in a path name. Do not use this character for any other purpose.


• Do not use symbols instead of words in running text.


Examples (incorrect)

Specify a user name & password.

Type a telephone #.

The available space is the size of the disk - the amount of space that is required for the installation.



Examples (correct)

Specify a user name and password.

Type a telephone number.

The available space is the size of the disk minus the amount of space that is required for the installation.


• When you write about a user interface, do not include a punctuation mark, such as a colon or ellipsis, that is part of an interface element label unless one of the following conditions applies:

• The omission of the punctuation mark causes confusion.

• You use a tool that extracts the wording from the label, including any punctuation, for use in the documentation.


Example (incorrect in most cases)

Click Save As... and then type a file name.



Example (correct in most cases)

Click Save As and then type a file name.


Series of punctuation marks or special characters

Follow these guidelines for a series of punctuation marks or special characters:

• Introduce the series with a complete sentence that ends with a colon.

• Place the series of symbols on the following line.

• To ensure that readers clearly interpret the items in the series, follow these guidelines:

• Do not enclose the series in parentheses.

• Do not separate the items with punctuation marks, such as commas.

• Do not include coordinating conjunctions, such as and, between the items.

• Do not punctuate the series with a final period. If the series includes a period, avoid placing it at the end of the series.

• Do not in clude the names of the punctuation marks or special characters.


Example

The password can contain any of the following characters:

# & . ^ ~


• Avoid using characters that are not supported in most standard code pages, especially in online information that is translated. In addition to standard punctuation marks, most code pages support the following special characters:

! # $ % & * + / < > @ ^ ~

• To sort punctuation marks and special characters, use the following ASCII sort sequence unless you use a tool that imposes a different sort sequence:

(space) ! “ # $ % & ’ ( ) * + , - . / : ; < = > ? @ [ ] ^ _ ` } | { ~ ¢ > ≤ ÷ °

Common punctuation marks and special characters

Use the names in the following table to refer to punctuation marks and special characters.

image

image

Apostrophes

Use an apostrophe in only some plural and possessive forms.

Apostrophes in plurals

Most plural forms do not require an apostrophe. For example, form the plural of words, abbreviations, and numbers by adding the letter s alone.

Use an apostrophe and the letter s (’s) to form the plural of single letters.


Examples (incorrect)

Before the repair, the printer did not print uppercase As or lowercase ms.

Beginner typists often mistype 9s, Ps, and Zs.

Several financial analysts classify the 1980’s and 1990’s as a bull market.

The basic learning requirements for any industry are often known as the ABC’s.



Examples (correct)

Before the repair, the printer did not print uppercase A’s or lowercase m’s.

Beginner typists often mistype 9s, P’s, and Z’s.

Several financial analysts classify the 1980s and 1990s as a bull market.

The basic learning requirements for any industry are often known as the ABCs.


Apostrophes in possessives

Follow these guidelines for using apostrophes in possessives:

• In general, use ’s to show the possessive form of people.


Examples

Maria’s computer needs a new processor.

The editor’s desk is at the end of the hall.


• Avoid using ’s to show the possessive form of inanimate objects. Make the possessive noun an adjective, or use the possessive noun in a prepositional phrase.


Example (incorrect)

Edit the object’s properties.



Examples (correct)

Edit the object properties.

Edit the properties of the object.


• Do not use ’s to show the possessive form of abbreviations, brand names, or product names.


Examples (incorrect)

The TCB’s first eight words are used to save floating-point register 1.

Use Rational Software Architect’s views to model systems or applications.



Examples (correct)

The first eight words of the TCB are used to save floating-point register 1.

Use the views in Rational Software Architect to model systems or applications.


• Do not use ’s to show the possessive form of IBM unless you refer to only the company and do not identify goods or services.


Example (incorrect)

IBM’s WebSphere® Application Server product family includes over 50 products.



Examples (correct)

The IBM WebSphere® Application Server product family includes over 50 products.

IBM’s focus on work/life balance is respected in the technology industry.


Colons

Use a colon to indicate that closely related information follows.

Colons in running text

Follow these guidelines for using colons in running text:

• Use a colon after an independent clause to introduce an inline list.


Examples (incorrect)

The product improved in: accessibility, ease of use, and functionality.

Remember to: encrypt the hard disk drive and set a password.



Examples (correct)

The product improved in three categories: accessibility, ease of use, and functionality.

Remember to take these security measures: encrypt the hard disk drive and set a password.


• Use a colon after the label of a note.


Examples

Important: Back up all data before you begin the migration.

Tip: You can also edit the object properties by right-clicking an object.


• Use a colon between two independent clauses to amplify, elaborate on, or show a close relationship to the first clause.


Example

Plan the configuration carefully: the initial settings are difficult to change after you add user accounts.


• Do not insert a space before a colon, and insert one space after.

Colons in headings and titles

Do not use a colon at the end of a heading or title.


Example (incorrect)

Creating test cases:



Example (correct)

Creating test cases


Use a colon between a heading and subheading or between a title and subtitle. Do not insert a space before the colon, and insert one space after the colon. Capitalize the first letter of the subheading or subtitle.


Examples

Getting started: Model-driven development in the Java domain

When You Think Midmarket, Think IBM: Strategic Offerings for Midsize Businesses


Colons after introductory text

Use a colon after the introduction to a vertical list, including a procedure or substeps in a procedure. To avoid translation problems, make the introduction a complete sentence. If a sentence intervenes between the introduction and the first item, use a period after both the introduction and the intervening sentence. For more information about introducing lists and procedures, see “Lists” on page 75 and see “Procedures” on page 84.


Example (vertical list)

When you configure the computer, set the following items:

• Date and time

• Drive startup sequence

• Passwords



Example (procedure)

To install the product, complete the following steps:

1. Click Install program.

2. In the wizard, follow the instructions on each page.

3. Click Finish.



Example (substeps)

1. Connect the cables:

a. Connect the keyboard cable.

b. Connect the mouse cable.


Use a colon or a period after the introduction to a figure or table. For more information about introducing figures and tables, see “Figures” on page 90 and see “Tables” on page 96.


Examples

The diagram should end with a stop node, as shown in the following figure:

The following table lists the UML properties and their corresponding C++ elements.


Colons and capitalization

In general, use a lowercase letter on the text that immediately follows a colon.


Examples

Three security measures are evaluated: a firewall, an encryption key, and a password.

The deletion is final: you cannot restore an element after you delete it.


Use an uppercase letter on the text that immediately follows a colon when the text is one of the following items:

• Item in a vertical list

• Note that follows a label

• Proper noun

• Quotation

• Subheading on the same line as a heading


Examples

You can use the following background colors:

• Blue

• Green

• Red

CAUTION: Do not remove or install this unit without using the provided lift tool.

You can use the editor with the following programming languages: Java, C, and C++.

The manager’s instructions were clear: “Submit the report by Monday.”

Input/output operations: Move mode and locate mode


Colons with numbers

Use colons to separate units of time. Do not insert a space before or after the colon.


Examples

The status meeting starts at 9:30 a.m.

The last build finished running at 18:54:30.


Use colons to express ratios. Do not insert a space before or after the colon.


Examples

Consumer sales increased 5:1 last quarter.

Reclaim space in your data center with 20:1 server consolidation.


Commas

Use a comma to separate elements in a sentence, such as items in a series, clauses, or introductory phrases. If a sentence is complex or longer than 25 words, consider rewriting it, separating it into multiple sentences, or presenting its contents in a vertical list.

Commas between clauses

Use a comma between independent clauses that are separated by a coordinating conjunction unless the clauses are short or closely related. Coordinating conjunctions are and, but, or, nor, for, so, and yet.


Examples

Not only are companies outsourcing development, but they are outsourcing critical projects.

Click Save and type a file name.


Then is not a coordinating conjunction. You cannot join independent clauses with then unless you add a semicolon or a coordinating conjunction.


Examples (incorrect)

Click Start then select a program.

Click Start, then select a program.



Examples (correct)

Click Start; then select a program.

Click Start and then select a program.


Do not use a comma between an independent clause and a dependent clause that are separated by a coordinating conjunction unless the sentence might be misread without a comma.


Examples (incorrect)

The message includes an error code, and is displayed in three languages.

The host greeted the last participant who joined the conference call and started the meeting.



Examples (correct)

The message includes an error code and is displayed in three languages.

The host greeted the last participant who joined the conference call, and started the meeting.


Commas after introductory words and phrases

Use a comma after most introductory words, clauses, and phrases.


Examples

However, most hardware components conform to this standard.

First, you create a project.

After you remove the lid, proceed to step 4.

In the diagram editor, right-click a diagram.

To move the model element, click Refactor > Move.


Commas between items in a series

Use commas to separate items in a series of three or more. Use a comma before the conjunction that precedes the final item.

Exception for marketing content: In marketing content, use a comma before a conjunction only for clarity. For details and examples, see “Exceptions for marketing content” on page 274.


Examples

A message window describes an error, explains how to correct it, and provides the controls to correct it.

Present the items in a meaningful order, such as alphabetically, numerically, or chronologically.


Do not add commas or conjunctions between the items in a series of special characters.


Example (incorrect)

The name can contain any of the following characters:

#, &, ., ^, and ~.



Example (correct)

The name can contain any of the following characters:

# & . ^ ~


Commas with nonrestrictive clauses

Always use a comma before a nonrestrictive clause, which begins with the word which. Do not use a comma before a restrictive clause, which begins with the word that.


Examples

The Recovery log, which is generated automatically, shows the cause of the problem.

The Recovery log that contains the most recent information is located in the current_logs folder.


For more information about using commas with nonrestrictive clauses, see Developing Quality Technical Information, Chapter 7, “Correct pronoun problems.”

Commas as separators in numbers

Specific rules apply to using commas as separators in numbers based on the length of the numbers and how they are used in a sentence. For details about using commas as separators in numbers, see “Separators in numbers” on page 159.

Commas with quotation marks

In most cases, place commas inside closing quotation marks. For details about using commas with quotation marks, see “Quotation marks with other punctuation” on page 66.

Dashes

Do not use en dashes or em dashes in technical information.

En dashes

The en dash (–) derives its name from typesetting: the length of an en dash is the width of an uppercase N in the same font. En dashes are longer than hyphens (-) and shorter than em dashes (—). Most keyboards do not have a key for an en dash.

Do not use en dashes; use hyphens instead.


Examples (en dashes)

letters A–J

numbers 1–5

Leave a clearance of 1.02–1.77 in. (26–45 mm).



Examples (hyphens)

letters A - J

numbers 1 - 5

Leave a clearance of 1.02 in. - 1.77 in. (26 mm - 45 mm).


Em dashes

The em dash also derives its name from typesetting: the length of an em dash is the width of an uppercase M in the same font. Em dashes are longer than both hyphens and en dashes. Most keyboards do not have a key for an em dash, but many authoring tools provide a symbol for an em dash, and some authoring tools create an em dash if you type two hyphens together.

Do not use em dashes in technical information. More common punctuation marks, such as commas, parentheses, or a colon, provide the same result. Rewrite the text or use different punctuation.

Exception for marketing content: Em dashes are acceptable in marketing content. For details and examples, see “Exceptions for marketing content” on page 274.


Examples (em dash)

Security, reliability, scalability, and availability—these are priorities for an enterprise system.

Many employees—including managers—enroll in the stock-purchasing program.

If you make a mistake—for example, a typographical error—you can correct it easily.

You can apply a pattern in two ways—you can select an existing pattern or create a new one.



Examples (common punctuation marks)

Security, reliability, scalability, and availability are priorities for an enterprise system.

Many employees, including managers, enroll in the stock-purchasing program.

If you make a mistake (for example, a typographical error), you can correct it easily.

You can apply a pattern in two ways: you can select an existing pattern or create a new one.


Ellipses

Avoid using ellipses in running text. If you use an ellipsis, apply the correct spacing.

Ellipses in running text

Usually, an ellipsis in text indicates a pause or an omission. Avoid using ellipses in technical information because the omission can be unclear and because ellipses can contribute to an overly informal tone. In general, include information that is important and eliminate information that is not.

Exception for marketing content: An ellipsis to show a pause is acceptable in some marketing content. For details and examples, see “Exceptions for marketing content” on page 274.

Ellipses in examples and quotations

You can use an ellipsis in an example or quotation if you can convey the information without presenting the entire text. However, do not use ellipses at the beginning or end of a direct quotation; start and end quotations with words, even when the text is truncated.


Examples

Use select for check boxes and use click for radio buttons, as in the following examples:

• Select the Prompt before saving check box to ...

• Click Prompt before saving to ...

He started the seminar by explaining that “many small businesses ... are not profitable for a few years.”


Ellipses in user interfaces

Usually, an ellipsis in a user interface element indicates that more user input is required to complete an action. When you write about a user interface, do not include ellipses that are part of an interface element label unless one of the following conditions applies:

• The omission of the ellipsis causes confusion.

• You use a tool that extracts the wording from the label, including any punctuation, for use in the documentation.


Example (incorrect in most cases)

Click Save As... and type a file name.



Example (correct in most cases)

Click Save As and type a file name.


Spacing and punctuation with ellipses

For ellipses in user interfaces, apply the spacing that the interface design guidelines for the product specify, or be consistent with existing instances in the interface.

For ellipses in text, some authoring tools provide an ellipsis symbol with default spacing between the periods. If you do not use a symbol and you type an ellipsis, do not insert spaces between the periods in the ellipsis.

For both ellipsis symbols and typed ellipses in text, follow these spacing guidelines:

• Insert one space before the ellipsis.

• Insert one space after the ellipsis, unless a punctuation mark follows the ellipsis. In that case, do not insert a space between them.

• Keep all the periods in an ellipsis together on one line.


Examples

Use a comma after most introductory words, clauses, and phrases, as in the following examples:

• To create a diagram, ...

• In general, ...

He concluded the seminar with this advice: “Plan for startup costs ... and expect the unexpected.”


Exclamation points

Do not punctuate sentences with exclamation points because their tone can be interpreted negatively, for example, as aggressive, condescending, or overly informal.

Convey urgency or emphasis with the appropriate words, not with exclamation points. To call attention to important hints, tips, guidance, restrictions, or advice that might be overlooked, consider using a note that has a meaningful label.


Examples (incorrect)

Complete this step first!

You must change the default settings!

You completed the first lesson in the tutorial!



Examples (correct)

You must complete this step first.

Important: You must change the default settings.

You completed the first lesson in the tutorial.


For more information about tone, see Developing Quality Technical Information, Chapter 7, “Write with the appropriate tone.”

Hyphens

Use hyphens to increase clarity by connecting related information. For example, use hyphens in compound adjectives to show which words modify another word, and use hyphens with numbers to show how they relate to measurements, words, or other numbers.

Hyphens with prefixes and suffixes

In most cases, do not use a hyphen to connect a prefix or suffix to a word. Typically, a hyphen is unnecessary if a reader can read the word accurately without a hyphen.

To determine whether to hyphenate a prefix, consult Merriam-Webster’s Collegiate Dictionary. If the dictionary does not contain a word or provide a precedent, follow the guidelines for hyphenating prefixes in The Chicago Manual of Style. Both references favor a closed style for prefixes, which omits the hyphen when possible.

Generally, hyphenate a prefix only to prevent misreading or ambiguity. Specifically, hyphenate a prefix in the following situations:

• When Merriam-Webster uses a hyphen (for example, bi-level, co-edition)

• When you must distinguish the word from a homonym (for example, co-op, re-cover, re-create, re-sign)

• When the root word is capitalized or a numeral (for example, pre-2000)

• When the root word consists of more than one word (for example, non-English-speaking citizens, pre-latency-period transaction)

• In some words in which identical letters would be next to each other (for example, anti-intellectual, bell-like, co-opt, de-emphasize)

• When the prefix is self-, all-, or ex- (meaning formerly)

The following table lists common prefixes and examples of when to omit or use a hyphen:

image

image

Hyphens with compound words

To clarify which noun is being modified, avoid long compound phrases and noun strings, and use hyphens where appropriate. Consider using a prepositional phrase after a noun instead of a compound adjective.

For more information about avoiding noun strings, see Developing Quality Technical Information, Chapter 5, “Avoid long strings of nouns.”

When you write compound phrases, use hyphens to avoid ambiguity, but do not use hyphens unnecessarily. Follow these guidelines:

• Hyphenate compound adjectives and adverbs before a noun if readers might misinterpret the term or phrase.


Examples (ambiguous)

operating system file (a system file that is operating or the file for the operating system)

well formed XML

once only delivery



Examples (clear)

operating-system file (the file for the operating system)

well-formed XML

once-only delivery


• Do not use a hyphen after an adverb or adjective that ends in -ly because such terms are never ambiguous.


Examples (incorrect)

fully-qualified path

highly-parallel processing

monthly-maintenance schedule



Examples (correct)

fully qualified path

highly parallel processing

monthly maintenance schedule


• In most cases, when a compound adjective follows a noun, do not hyphenate it. In some cases, a hyphen is necessary to avoid ambiguity.


Examples

The command is case sensitive.

Several programming languages are object oriented.

The issue is thought provoking. (The issue is thought of as provoking.)

The issue is thought-provoking. (The issue provokes thoughts.)


• Hyphenate all the words that function as the compound adjective before the noun.


Examples

state-of-the-art technology

multiple-phase-commit transactions


• Hyphenate the prefix to a hyphenated compound.


Example

non-case-sensitive languages


• When hyphenated compounds in a series have the same first word or last word, repeat the common word. Omitting words makes translation more difficult and slows comprehension.


Examples (incorrect)

F-, U-, and V-mode files

For type-1, -2, and -3 SVC routines



Examples (correct)

F-mode, U-mode, and V-mode files

For type-1, type-2, and type-3 SVC routines


Hyphens and capitalization

Apply the following capitalization guidelines to hyphenated words:

• When a hyphenated word occurs at the beginning of a sentence, capitalize only the first element in the word unless a subsequent element is a proper noun or proper adjective.


Examples (incorrect)

Power-Saving techniques are important for notebook users.

All-american manufacturing is less common than it used to be.



Examples (correct)

Power-saving techniques are important for notebook users.

All-American manufacturing is less common than it used to be.


• When a hyphenated word occurs at the beginning of a heading with sentence-style capitalization, capitalize only the first element in the word unless a subsequent element is a proper noun or proper adjective.


Examples (incorrect)

Case-Sensitive languages

Non-European-Based companies



Examples (correct)

Case-sensitive languages

Non-European-based companies


• When a hyphenated word occurs in a heading with headline-style capitalization, capitalize the first element in the word; the last element in the word, regardless of its part of speech; and any element that is not an article, preposition, or coordinating conjunction.


Examples (incorrect)

Designing Interfaces for Non-English-speaking Users

Self-contained Sensors

Once-a-day Notifications



Examples (correct)

Designing Interfaces for Non-English-Speaking Users

Self-Contained Sensors

Once-a-Day Notifications


Hyphens with numbers

Use hyphens in some spelled-out numbers and in some number compounds. For details about using hyphens with numbers, see “Expressing numbers” on page 155.

Hyphens with ranges

Follow these guidelines for using hyphens with ranges:

• Use a hyphen to show a range of items, such as numbers, letters, pages, dates, or codes. Insert a space before and after the hyphen.


Examples

numbers 12 - 15

pages 100 - 107

X‘41’ - X‘FE’

September - December


• Do not use words such as from or between to show a range; it is not clear whether the items are the boundaries of the range or are included in the range.


Examples (incorrect)

letters from A - J

messages between IGY3009 and IGY3020



Examples (correct)

letters A - J

messages IGY3009 - IGY3020


• If a number range is part of a compound adjective, hyphenate only the number and unit. You can omit the unit from the first compound in a number range.


Examples (incorrect)

a 1-character-through-8-character field

a 1-through-8-character field



Examples (correct)

a 1-character through 8-character field

a 1- through 8-character field


For details about how to show a range of measurements, see “Ranges of numbers” on page 159.

Parentheses

Use parentheses to identify items such as abbreviations, symbols, and measurements, but avoid using parentheses in running text.

Parentheses with abbreviations, symbols, and measurements

If you write out the name of an abbreviation, punctuation mark, or special character, enclose the abbreviation, mark, or character in parentheses following the text. If you provide a measurement, you can include an equivalent value from an alternative system in parentheses following the measurement.


Examples

The Object Management Group (OMG) maintains specifications for the Unified Modeling Language (UML).

Object names cannot contain characters such as dollar signs ($) or question marks (?).

One rack unit is 44.45 mm (1.75 in.) high.


Parentheses to form plurals

Do not use the letter s in parentheses (s) to indicate that a noun can be singular or plural. Some languages form plural nouns differently than English, and the construction (s) can cause translation problems. Instead, use the plural form or, if it is important to indicate both singular and plural options, use the phrase one or more.


Example (incorrect)

Select the item(s) from the list.



Examples (correct)

Select the items from the list.

Select one or more items from the list.


Parentheses in running text

Avoid using parentheses in running text because text in parentheses is decreased in importance. In general, include information that is important and eliminate information that is not. Parentheses can also interrupt the flow of a sentence. Try to rewrite the text or use other punctuation instead of parentheses. If you must write a sentence that includes text in parentheses, ensure that the sentence is grammatically correct and technically accurate if you omit the parenthetical text.


Examples (incorrect)

The fan (and the enclosure) are optional.

The installation finished (but some files might not have been installed).

To remove static electricity, touch the device to a (metal) part of the system.



Examples (corrected to eliminate the parentheses)

The fan and the enclosure are optional.

The installation finished, but some files might not have been installed.

To remove static electricity, touch the device to a metal part of the system.


If the parenthetical text is not a complete sentence, include the parenthetical text in the sentence to which it pertains. Do not use an initial uppercase letter on the first word unless it is otherwise required, and do not insert a period inside the parentheses.


Examples (incorrect)

You can sort the work items by their state (open, working, or closed.)

Install the bracket (Included in the kit).



Examples (correct)

You can sort the work items by their state (open, working, or closed).

You can sort the work items by their state: open, working, or closed. [Preferred]

Install the bracket (included in the kit).

Install the bracket, which is included in the kit. [Preferred]


If the parenthetical text is a complete sentence, you can either include the parenthetical sentence in the sentence to which it pertains or you can enclose it in parentheses as a separate sentence. If you include the parenthetical sentence in the sentence to which it pertains, do not use an initial uppercase letter on the first word, and do not insert a period inside the parentheses. If the parenthetical text is a separate sentence, use an initial uppercase letter on the first word, and insert the period inside the parentheses.


Examples

You cannot include punctuation marks in the name (you are prompted to remove punctuation marks if you include them).

You cannot include punctuation marks in the name. (You are prompted to remove punctuation marks if you include them.)

You cannot include punctuation marks in the name. You are prompted to remove punctuation marks if you include them. [Preferred]


Periods

Use periods correctly.

Periods in running text

Use a period at the end of a sentence. After a period, use the spacing that your authoring tool provides. If you insert spacing manually, insert only one space after a period.

Periods with abbreviations

Follow these guidelines for using periods in abbreviations:

• Omit periods in uppercase abbreviations.


Examples (incorrect)

E.S.T.

I.D.

U.S.



Examples (correct)

EST

ID

US


• Include periods in lowercase abbreviations that relate to time or that can be confused with words.


Examples

a.m.

p.m.

hr.

yr.

no.


• Omit periods in abbreviations for units of measure, unless they can be confused with words.


Examples (incorrect)

b.p.s

r.p.m.

in



Examples (correct)

bps

rpm

in.


• Omit periods in abbreviations for academic degrees.


Examples

BA

MA

PhD


• Include periods in abbreviations for social titles.


Examples

Dr.

Ms.

Jr.


• If an abbreviation that requires a period occurs at the end of a sentence, do not include another period.


Example (incorrect)

The meeting starts at 9:00 a.m..



Example (correct)

The meeting starts at 9:00 a.m.


Periods with file name extensions

Include a period before a file name extension. Assume that the period in a file name extension, such as .exe, is pronounced as dot, and use the indefinite article a.


Example

Save your notes in a .txt file.


Periods in headings and titles

Do not end a heading with a period.


Example (incorrect)

Creating test cases.



Example (correct)

Creating test cases


In books, use a period in titles for chapters and appendixes. Insert the period after the name of the entity and the identifying number or letter and before the descriptive name.


Examples

Chapter 1. Introduction to InfoBase

Appendix A. Performance considerations

Appendix B. Conversion tables


Periods after introductory text

Use a period or a colon after the introduction to a figure or table. For more information about introducing figures and tables, see “Figures” on page 90 and see “Tables” on page 96.


Examples

The diagram should end with a stop node, as shown in the following figure:

The following table lists the UML properties and their corresponding C++ elements.


Use a period after the introduction to a vertical list, including a procedure or substeps in a procedure, when a sentence intervenes between the introduction and the first item. For more information about introducing lists and procedures, see “Lists” on page 75 and see “Procedures” on page 84.


Example (vertical list)

When you configure the computer, set the following items. The order in which you set them does not matter.

• Date and time

• Drive startup sequence

• Passwords



Example (procedure)

To install the product, complete the following steps. This procedure installs the program in the default location.

1. Click Install program.

2. In the wizard, follow the instructions on each page.

3. Click Finish.



Example (substeps)

1. Connect the cables. The connectors are color coded.

a. Connect the keyboard cable to the red keyboard connector.

b. Connect the mouse cable to the blue mouse connector.


Periods with lists

Write lists so that all or none of the items start with complete sentences. If list items comprise only complete sentences, include a period after each sentence.


Example (complete sentences)

1. Remove the cover.

2. Remove the adapter.

3. Replace the adapter.

4. Replace the cover.


If list items comprise only sentence fragments, do not include any end punctuation.


Example (fragments)

Consider these factors when you design a web page:

• Background patterns and images

• Font styles and colors

• Layout options


If a list contains list items that start with sentence fragments, and one or more of the fragments are followed by complete sentences, include periods after all sentence fragments and sentences.


Example

Session management can store session-related information in several ways:

• In application server memory. This storage option is local to the application server and cannot be shared with other application servers.

• In a database.

• In another WebSphere Application Server instance.


Periods with numbers

Use a period on the line (.), not a raised dot (·), as a decimal separator unless the comma (,) is a legal requirement in the particular country for which you are writing.


Examples (incorrect in most cases)

The clearance is 4·6 cm (1.8 in.).

The clearance is 4,6 cm (1,8 in.).



Example (correct in most cases)

The clearance is 4.6 cm (1.8 in.).


Periods with parentheses

If the parenthetical text is not a complete sentence, do not insert a period inside the parentheses.


Example (incorrect)

You can sort the work items by their state (open, working, or closed.)



Example (correct)

You can sort the work items by their state (open, working, or closed).


If the parenthetical text is a complete sentence, you can either include the parenthetical sentence in the sentence to which it pertains or in parentheses as a separate sentence. If you include the parenthetical sentence in the sentence to which it pertains, do not insert a period inside the parentheses. If the parenthetical text is a separate sentence, insert the period inside the parentheses.


Examples

You cannot include punctuation marks in the name (you are prompted to remove punctuation marks if you include them).

You cannot include punctuation marks in the name. (You are prompted to remove punctuation marks if you include them.)


Periods with quotation marks

In most cases, place periods inside closing quotation marks. For details about using periods with quotation marks, see “Quotation marks with other punctuation” on page 66.

Quotation marks

Use double quotation marks (”) and single quotation marks (’) correctly.

Terminology for quotation marks

The term quotation mark refers generically to a double quotation mark character or a single quotation mark character. When you refer to quotation marks in text, specify whether you mean double quotation marks or single quotation marks.

To refer to the position of the characters, use the terms opening and closing.


Example

Ensure that each set of opening quotation marks has a matching set of closing quotation marks.


Do not use the term quotes to refer to quotation marks or to the text between quotation marks. Use the term quote only as a verb, and use quotation as the noun.


Examples (incorrect)

Enclose the value in quotes.

The introduction includes an infamous quote.



Examples (correct)

Enclose the value in double quotation marks.

The introduction includes an infamous quotation.


Quotation marks for emphasis

Do not use quotation marks to emphasize words or phrases. Quotation marks can clutter the text. To emphasize words as words, use italic font. To call attention to information that might be overlooked, consider using a note that has a meaningful label.


Examples (incorrect)

The service processor is also referred to as the ‘baseboard management controller.’

“Do not” close the lid until the unit is seated.



Examples (correct)

The service processor is also referred to as the baseboard management controller.

Important: Do not close the lid until the unit is seated.


Double quotation marks

Use double quotation marks for the following items:

• Quotations


Examples

A related article reported that “stock price does not always reflect the intrinsic value of a company.”

The minutes for the meeting stated “18 attendees voted in favor of the proposal.”


• Words that are used in a special sense


Examples

You can use this functionality to “push” data to the server.

The “enhanced” version has fewer features than the standard version.


Use double quotation marks for a word that is used in a special sense only if no other word clearly expresses the meaning. Do not overuse quotation marks for this purpose. Using a word in a special sense can cause problems for translation.

• References to topic titles, section titles, chapter titles, or online information


Examples

For more information about rule creation, see “Rules” and “Creating rules.”

For a historical analysis of design methodology, see Chapter 2, “Methods and madness.”

To learn about resiliency solutions, see the recorded webcast “Mitigating risk in an ever-changing world.”


• Names of these items, when they have sentence-style capitalization:

• Notebooks

• Pages

• Panes

• Portals

• Portlets

• Windows

• Wizards


Examples

In the “Open the remote database” window ...

In the “Set up backup files” wizard ...

On the “Warnings and messages” page ...


Single quotation marks

Use single quotation marks for the following items:

• Quotation marks inside double quotation marks


Example

After the conference, he explained “When she said ‘Know your target audience,’ I knew we had work to do.”


• Code examples, code syntax, and programming elements that require single quotation marks


Examples

&NAME = 'JANE B. DORMANZ'
Execution PARM='CORE=200000,DBRC=N'


• Hexadecimal numbers


Examples

X'C1'

X'14'


Quotation marks with other punctuation

In most cases, place commas and periods inside closing quotation marks, and place other punctuation marks outside.


Examples

For more information, see the chapter named “Semantic tagging,” which provides examples and a tutorial.

She said, “You meet all the requirements for promotion.”


Unless a punctuation mark is part of the syntax, do not place a punctuation mark inside the quotation marks of these items:

• Coding statements

• Symbolic names

• Hexadecimal, binary, or octal values

• Other programming elements that use quotation marks


Examples

If you use the keyword operand PGMID="PAYCOM", you must ...

In the program segment, ensure that the value is X'FF'.

Use the following code in the calendar application:

vout("Mon", "Tues", "Wed", "Thurs", "Fri")


When possible, rewrite the text to move the comma away from the quotation marks of these items.

Typographical considerations for quotation marks

You can generate quotation marks directly through the keyboard or by using tagging in an authoring tool. Use the correct characters for the context and be consistent.

Some contexts require these typographic characters:

• Opening quotation mark (‘): Unicode X'2018'

• Closing quotation mark (’): Unicode X'2019'

• Opening quotation marks (“): Unicode X'201C'

• Closing quotation marks (”): Unicode X'201D'

Other contexts require straight keyboard characters:

• Straight single quotation mark ('): Unicode X'0027'

• Straight double quotation marks ("): Unicode X'0022'

For example, always use keyboard characters for code examples, code syntax, and hexadecimal numbers that use the format X'nn'.

If you use typographic characters in an authoring tool, they might not transfer well to other tools or programs. In many cases, it is safer to consistently use straight keyboard characters.

Semicolons

Use a semicolon to separate independent clauses or items in a series that has internal punctuation. If a sentence is complex, difficult to read, or longer than 25 words, consider rewriting it, separating it into multiple sentences, or presenting its contents in a vertical list.

Semicolons between independent clauses

Use a semicolon between independent clauses that are not connected by a coordinating conjunction. Coordinating conjunctions are and, but, or, nor, for, so, and yet. Use a coordinating conjunction when you need to show the relationship between clauses; use a semicolon when the relationship between clauses is clear.


Examples

Remove the lid carefully; place it on a soft surface.

Type the command as shown; the program is case sensitive.


Use a semicolon between independent clauses that are connected by a conjunctive adverb or a transitional phrase. Conjunctive adverbs include also, besides, consequently, conversely, finally, however, instead, likewise, next, otherwise, similarly, specifically, still, subsequently, then, and therefore. Transitional phrases include at the same time, for example, in addition, and on the contrary.


Examples

AS/400e™ is sold worldwide; however, the US market remains a major focus.

Enter a command; for example, type SETUP.

Right-click the selected text; then click Text Properties.


Semicolons between items in a series

Use a semicolon between items in a series that has internal punctuation.


Examples

Save the executable file, run.exe; the readme file, rm.txt; and the image for the splash screen, screen.jpg.

You can press the yellow, green, or blue button; the off switch; or the mouse button.


For more information about misusing semicolons, see Developing Quality Technical Information, Chapter 7, “Check for sentence fragments.”

Slashes

Avoid using forward slashes (/) and backslashes () in most text and in dates.

Slashes in running text

Follow these guidelines for using slashes in running text:

• In most cases, do not use slashes in text because they can be ambiguous. For example, 1/2 can mean one half, one and two, one of two, and one or two. Rewrite the text using and, of, or or.


Examples (incorrect)

The meeting has a scheduled tea/coffee break.

You must complete 3/4 tasks.

An emergency contact is often a relative/close friend.



Examples (correct)

The meeting has a scheduled tea and coffee break.

You must complete three of four tasks.

An emergency contact is often a relative or close friend.


• Do not use the construction and/or, which can cause confusion and problems for translation. Instead, clarify the options by using and or or, or by stating the choices, such as option A, option B, or both.


Example (incorrect)

Connect your printer and/or scanner to the computer.



Examples (correct)

Connect your printer and scanner to the computer.

Connect your printer or scanner to the computer.

Connect your printer, scanner, or both to the computer.


For more information about writing for translation, see Developing Quality Technical Information, Chapter 11, “Applying quality characteristics to information for an international audience.”

• In a few cases, use a forward slash between words when the slash construction is an industry standard.


Examples

client/server

I/O

input/output

publish/subscribe

read/write


• Do not insert a space before or after a forward slash or backslash.


Example (incorrect)

input / output



Example (correct)

input/output


Slashes in dates

Do not use slashes in dates. For guidelines on how to express dates, see “Dates” on page 178.

Slashes in fractions

Whenever possible, use decimal numerals instead of fractions to represent fractional parts of units.


Examples (avoid)

1 1/2

3 3/4



Examples (prefer)

1.5

3.75


Slashes in mathematical equations

Use a forward slash (/) as an operational symbol for division. Do not insert a space before or after the forward slash.


Example

(a + b)/(c + d) = -5


Slashes in path names

When you refer to a subdirectory by using a full path name, such as /usr/bin/samples, use a forward slash (/) or backslash () according to the convention of the operating system. For information that applies to multiple operating systems, be consistent and describe the convention if necessary.


Example

Windows operating systems use a backslash () to delimit directories in a directory path. AIX operating systems and web addresses use a forward slash (/) as a delimiter. This information uses forward slashes for all delimiters. Depending on your operating system, you might have to enter directory paths differently from what is shown in the examples.


If a path does not fit on one line, end the first line after an existing forward slash or backslash, and continue the path on the next line. Do not add a hyphen to indicate a break in a path.


Example (incorrect)

C:Documents and SettingsAdministratorIBMLotusSymphonyappli-

cationseclipseplugins



Example (correct)

C:Documents and SettingsAdministratorIBMLotusSymphony

applicationseclipseplugins


Slashes in web addresses

Follow these guidelines for using slashes in web addresses:

• If the protocol of a web address is HTTP, you can typically omit the protocol, colon, and forward slashes (http://); most browsers default to an HTTP connection. However, some tools convert addresses into live links and require the full address, including http://. If the protocol is not HTTP, include the protocol in the web address.


Examples (incorrect)

http://www.ibm.com

ftp.ibm.com



Examples (correct)

www.ibm.com

ftp://ftp.ibm.com


• Do not include a forward slash at the end of a web address.


Examples (incorrect)

www.ibm.com/



Examples (correct)

www.ibm.com


• If a web address does not fit on one line, end the first line after an existing forward slash (/) or double forward slash (//), and continue the address on the next line. Do not add a hyphen to indicate a break in a web address.


Example (incorrect)

www.ibm.com/software/commerce/net.-

commerce/action.html



Example (correct)

www.ibm.com/software/commerce/

net.commerce/action.html


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.51.55