[Ipe-discuss] Function to align elements relative to page
Otfried Cheong
ipe at otfried.org
Sat Mar 4 16:18:37 CET 2023
On Wed, Oct 5, 2022, at 21:24, Michael Kruger via Ipe-discuss wrote:
> Particularly for presentations, it would be useful to be able to align
> elements relative to the page/canvas, and not relative to other
> elements.
>
> Perhaps there is a way to do this with the existing 'align and
> distribute' functions, but it seems to me that they all align elements
> relative to each other, and not the page.
There certainly is - just use the function "Insert media box" from the goodies ipelet, and then align with respect to that.
But I understand this is annoying if you need to do it often, so attached is an ipelet that will align to the page.
> Perhaps the existing 'align center', 'align H center' and 'align V
> center' could be changed so that if only one element is selected, then
> they align relative to the page?
Yes, that's a good idea. I'll put it in the next version.
Cheers,
Otfried
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alignpage.lua
Type: text/x-lua
Size: 2626 bytes
Desc: not available
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20230304/55a5a04b/attachment.bin>
More information about the Ipe-discuss
mailing list