groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use the "mom" '.FT' macro with a period?


From: Peter Schaffter
Subject: Re: How to use the "mom" '.FT' macro with a period?
Date: Sat, 9 Apr 2022 14:36:29 -0400
User-agent: Mutt/1.9.4 (2018-02-28)

Steve --

On Sat, Apr 09, 2022, Steve Ross via wrote:
> When using the "mom" macro of `.FT' instead of escape sequences,
> I would like to end a sentence with a Roman font
> .FT I
> period
> .FT R
> .br
> How would I do that?

Place \& before the period:

  .FT I
  period
  .FT R
  \&.
  .br

\& is a zero-width, non-printing character whose most usual use-case
is to prevent groff from interpreting a period at the beginning of
an input line as a control character.

-- 
Peter Schaffter
https://www.schaffter.ca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]