groff
[Top][All Lists]
Advanced

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

Re: [Groff] Accents in output


From: Ralph Corderoy
Subject: Re: [Groff] Accents in output
Date: Thu, 29 Jan 2004 13:28:04 +0000

Hi,

> How do I get accented characters in my output?
> 
> I'm particularly interested in c, g, h, j and s with circumflex and u
> with breve. I understand that I can't enter UTF-8 at present, but
> neither \(c^ or \[^c] works for me. For that matter, nor does \[^a].

\(^a should.  It does here with -Tps.

    $ cd /usr/share/groff/1.17.2/font/devps
    $ g circumflex TR
    a^      333,674 2       0136    -- circumflex
    ^A      722,886 2       0302    -- Acircumflex
    ^E      611,886 2       0312    -- Ecircumflex
    ^I      333,886 2       0316    -- Icircumflex
    ^O      722,886,14      2       0324    -- Ocircumflex
    ^U      722,886,14      2       0333    -- Ucircumflex
    ^a      444,674,10      2       0342    -- acircumflex
    ^e      444,674,10      2       0352    -- ecircumflex
    ^i      278,674 2       0356    -- icircumflex
    ^o      500,674,10      2       0364    -- ocircumflex
    ^u      500,674,10      2       0373    -- ucircumflex
    $ 

You'll find the other devices and their characters in that font
directory too.

For combinations that don't exist in a font you could try overstrike,
e.g. `\o"c^", or a horizontal movement.

Cheers,


Ralph.



reply via email to

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