[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] How does one recreate the \(bs symbol?
From: |
Tadziu Hoffmann |
Subject: |
Re: [groff] How does one recreate the \(bs symbol? |
Date: |
Wed, 10 Jan 2018 11:28:50 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
...and of course the symbol should scale properly with the font size,
so the definition should be:
.char \(bs \X'ps: import ATandTlogo.ps 9 4 109 104 \\n[.ps]'\h'1m'
If you want the symbol to be sized a bit differently, you can
either scale this with the help of inline escapes:
.char \(bs \\R'xx \\n[.ps]*7/10'\X'ps: import ATandTlogo.ps 9 4 109 104
\\n[xx]'\h'.7m'
or you can lie about the bounding box of the graphic:
.char \(bs \X'ps: import ATandTlogo.ps 9 4 139 134 \\n[.ps]'\h'.77m'
The same goes for vertical positioning:
.char \(bs \v'.2m'\X'ps: import ATandTlogo.ps 9 4 109 104
\\n[.ps]'\h'1m'\v'-.2m'
or:
.char \(bs \X'ps: import ATandTlogo.ps 9 24 109 124 \\n[.ps]'\h'1m'
Combinations of scaling and positioning are of course also possible.