[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] images - setting geometry muse or emacs wiki
From: |
Jim Ottaway |
Subject: |
Re: [emacs-wiki-discuss] images - setting geometry muse or emacs wiki |
Date: |
Mon, 12 Dec 2005 10:03:04 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>>>>> Jody Klymak <address@hidden> writes:
> Hi all,
> I find a major constrain to me using muse or emacs wiki more than I
> do is not being able to set the size of images. A couple of other
> wikis do:
> [[./myImage.jpg?width=100px]]
> which would translate to
> <img src="./myImage.jpg" width=100px>
> I just tested on Safari, and more complicated expressions seem fine
> as well
> [[./myImage.jpg?width=100px height=100px]]
> <img src="./myImage.jpg" width=100px height=100px>
> For html publishing, this would just require stripping the stuff
> after "?". For latex, etc, I'm not sure how you'd handle it.
For latex, using \usepackage{graphicx}, you would have something like
\includegraphics[width=100pt, height=100pt]{myImage}
assuming that there is \includepackage{graphicx} in the preamble
[which the standard latex publishing style does have]. Latex doesn't
have a pixel unit of measurement, so some sort of conversion would be
necessary if px were used in the link; perhaps assume 100dpi and
multiply pixels by 0.72?.
Regards,
--
Jim Ottaway