Next: , Previous: , Up: Inserting Space   [Contents][Index]


14.3.3 Ending a Sentence

As mentioned above, Texinfo normally inserts additional space after the end of a sentence. It uses a simple heuristic for this: a sentence ends with a period, exclamation point, or question mark followed by optional closing punctuation and then whitespace, and not preceded by a capital letter.

Use @. instead of a period, @! instead of an exclamation point, and @? instead of a question mark at the end of a sentence that does end with a capital letter. For example:

Give it to M.I.B. and to M.E.W@.  Also, give it to R.J.C@.
Give it to M.I.B. and to M.E.W.  Also, give it to R.J.C.

The output follows. In printed output and Info, you can see the desired extra whitespace after the ‘W’ in the first line.

Give it to M.I.B. and to M.E.W. Also, give it to R.J.C.
Give it to M.I.B. and to M.E.W. Also, give it to R.J.C.

In the HTML output, @. is equivalent to a simple ‘.’; likewise for @! and @?.

The meanings of @: and @., etc. in Texinfo are designed to work well with the Emacs sentence motion commands (see Sentences in The GNU Emacs Manual).

Do not put braces after any of these commands.

A few Texinfo commands are not considered as being an abbreviation, even though they may end with a capital letter when expanded, so that you don’t have to insert @. and companions. This is the case for code-like highlighting commands, @var arguments ending with a capital letter, and @TeX. For example, that sentence ended with ‘@code{@@TeX}.’; @. was not needed. Also in ... @var{VARNAME}. Text the period after VARNAME ends the sentence; there is no need to use @..


Next: , Previous: , Up: Inserting Space   [Contents][Index]