groff
[Top][All Lists]
Advanced

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

Re: How to print a literal '.' as the first character in a line?


From: Ingo Schwarze
Subject: Re: How to print a literal '.' as the first character in a line?
Date: Sat, 30 Apr 2022 21:32:28 +0200

Hi Alejandro,

Alejandro Colomar wrote on Sat, Apr 30, 2022 at 09:01:54PM +0200:

> I'd like to be able to print a '.' in a document, and it happens to be 
> at the start of a line.  I've read there's a way to change the request 
> character from '.' to some other character,

Don't do that.

> but is there any simpler way to do that?
> 
> Simple (and a bit stupid) example:
> 
> [
> .EX
> $ echo '.'
> .
> .EE
> ]

.EX
$ echo \(aq.\(aq
\&.
.EE

https://man.openbsd.org/mandoc_char#Accents
https://man.openbsd.org/mandoc_char#Periods

Yours,
  Ingo



reply via email to

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