op.cap.sentences

Command/Output Processor: Commands, Releases: AP

Capitalized first letter of each sentence.

Syntax

.cap sentences .cs

Description

capitalizes the first letter of each sentence or attribute.

The beginning of a sentence is considered to be the first letter of each attribute. The first letter after ('. '), ('? '), or ('! ') is also considered the beginning of a sentence, and is therefore capitalized.

If the first word of a sentence is already capitalized, it remains capitalized.

Sentences are capitalized until an '.xcap sentences' command is encountered.

Example

.cap sentences
this is the first sentence. this is the second. And, this is the third.

The output from this document is:

'This is the first sentence. This is the second. And, this is the
third.'

See Also

Command Name Type Description
op.commands Definition Summary of OP commands.
op.cs Command see 'cap sentences'.
op Introductory Text formatting

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.