[texhax] Diagonal text?

David Carlisle d.p.carlisle at gmail.com
Wed Feb 3 14:34:55 CET 2016


On 3 February 2016 at 13:26, Rodolfo Medina <rodolfo.medina at gmail.com> wrote:
> Hi all.
>
> I was wondering if it would be possible and how to produce, in plain TeX, some
> form of oblique, diagonal text, something like:
>
> p
>  l
>   a
>    i
>     n
>
>        T
>         e
>          X
>
>                                             X
>                                       e
>                                 T
>
>                         n
>                   i
>             a
>       l
> p
>
>                      X
>                   e
>                T
>
>             n
>          i
>       a
>    l
> p
>
>
> Thanks for any help.
>
> Rodolfo
>



\long\def\x#1{\leavevmode
\ifx\par#1\par
\else
\advance\dimen0 \dimen2
\lower\dimen0\hbox{#1}%
\expandafter
\x
\fi}


\dimen2=5pt\x plain\ TeX

\dimen2=-10pt\x plain\ TeX


\bye


More information about the texhax mailing list