Wow! ROFF-family languages are still being used?
But again, IMO, this is beyond markup. In TeX \s{} and in groff .zs are
subroutines.
Leo
On Tue, Oct 1, 2013 at 3:34 AM, Steffen Daode <sdaoden_at_gmail.com> wrote:
> Khaled Hosny <khaledhosny_at_eglug.org> wrote:
> |Using TeX:
> |
> | \def\s{${}^{\rm s}_{\rm z}$}
>
> Using groff:
>
> #!/bin/sh -
>
> cat << \! > t.tr
> .de zs
> . nr #1 \\w'z'
> \\Z'\
> \\v'-.25v's\
> \\h'-\\n(#1u'\
> \\v'.5v'z\
> '\
> \\h'\\n(#1u'
> . rr #1
> ..
> Fraterni
> .zs
> e.
> !
>
> groff t.tr > t.ps
> ps2pdf t.ps
> rm t.tr t.ps
> exit 0
>
> (Can surely be tweaked.)
>
> |Regards,
> |Khaled
>
> Ciao,
>
> --steffen
>
>
Received on Tue Oct 01 2013 - 12:26:03 CDT
This archive was generated by hypermail 2.2.0 : Tue Oct 01 2013 - 12:26:04 CDT