groff
[Top][All Lists]
Advanced

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

Re: [Groff] Three topics related to images


From: Anton Shterenlikht
Subject: Re: [Groff] Three topics related to images
Date: Fri, 20 Jun 2014 09:15:30 +0100 (BST)

>> To place two images side by side.
>
>Here is an example of how I do it usually:
>
>Finding a shortest path from node $a$ to node $e$ using Dijkstra's
>algorithm:
>.P
>.mk
>.PSPIC -L dijkstra.eps 10c
>.rt
>.sp -0.7v
>.PSPIC -R dijkstra2.eps 10c
>
>Why the ".sp -0.7v" is needed to achieve alignment, is mystery to me. Could 
>somebody explain?

not needed here:

.PP
Several images in a row
.LP
.mk
.PSPIC -I 0i left.eps  1i
.rt
.PSPIC -I 1i right.eps 1i
.rt
.PSPIC -I 2i left.eps 1i
.rt
.PSPIC -I 3i right.eps 1i
.rt
.PSPIC -I 4i left.eps 1i
.rt
.PSPIC -I 5i right.eps 1i
.rt
.PSPIC -I 6i left.eps 1i


groff -ms -mpspic z.1 > z.ps

The result:

http://eis.bris.ac.uk/~mexas/z.ps

Anton




reply via email to

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