mirror of https://github.com/texmacs/doc.git
68 lines
2.9 KiB
Tcl
68 lines
2.9 KiB
Tcl
<TeXmacs|1.0.7.7>
|
|
|
|
<style|tmdoc>
|
|
|
|
<\body>
|
|
<tmdoc-title|Inserting images>
|
|
|
|
You can include images in the text using the menu <menu|Insert|Image>.
|
|
Currently, <TeXmacs> recognizes the <verbatim|ps>, <verbatim|eps>,
|
|
<verbatim|tif>, <verbatim|pdf>, <verbatim|pdm>, <verbatim|gif>,
|
|
<verbatim|ppm>, <verbatim|xpm> and <verbatim|fig> file formats. Here,
|
|
<verbatim|gs> (i.e. ghostscript) is used to render postscript images. If
|
|
ghostscript has not yet been installed on your system, you can download
|
|
this package from\
|
|
|
|
<\verbatim>
|
|
\ \ \ \ www.cs.wisc.edu/~ghost/index.html
|
|
</verbatim>
|
|
|
|
Currently, the other file formats are converted into postscript files using
|
|
the scripts <verbatim|tiff2ps>, <verbatim|pdf2ps>, <verbatim|pnmtops>,
|
|
<verbatim|giftopnm>, <verbatim|ppmtogif>, <verbatim|xpmtoppm>. If these
|
|
scripts are not available on your system, please contact your system
|
|
administrator.
|
|
|
|
By default, images are displayed at their design sizes and aligned at their
|
|
bottom lines. Alternative widths, heights and alignment offsets may be
|
|
specified in the image chooser dialogue window.\
|
|
|
|
<\itemize>
|
|
<item>When specifying a new width, but no height at the prompt (or vice
|
|
versa), the image is resized so as to preserve the aspect ration. For
|
|
instance, entering a width of <verbatim|1par> will make the image span
|
|
over the entire paragraph width and adjust the height proportionally.
|
|
|
|
You may use <verbatim|w> and <verbatim|h> as special lengths for the
|
|
default width and height of the image. For instance, specifying
|
|
<verbatim|2w> and <verbatim|2h> for the width and the height, the image
|
|
will be displayed at twice its default size.
|
|
|
|
<item>When specifying an alternative alignment, you may use the
|
|
<verbatim|w> and <verbatim|h> lengths for the displayed width and height
|
|
(<abbr|i.e.> <verbatim|w> and <verbatim|h> no longer stand for the
|
|
default width and height). For instance, using <verbatim|-0.5h> for the
|
|
<math|y>-offset will vertically align the image at its center.
|
|
</itemize>
|
|
|
|
We also included a script to convert <name|Xfig> pictures, with optional
|
|
<LaTeX> formulas in it, into encapsulated postscript. In order to include a
|
|
<LaTeX> formula in an <verbatim|xfig> picture, we recall you should enter
|
|
the formula as text, while selecting a <LaTeX> font and setting the special
|
|
flag in the text flags.
|
|
|
|
<tmdoc-copyright|1998--2002|Joris van der Hoeven>
|
|
|
|
<tmdoc-license|Permission is granted to copy, distribute and/or modify this
|
|
document under the terms of the GNU Free Documentation License, Version 1.1
|
|
or any later version published by the Free Software Foundation; with no
|
|
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
|
Texts. A copy of the license is included in the section entitled "GNU Free
|
|
Documentation License".>
|
|
</body>
|
|
|
|
<\initial>
|
|
<\collection>
|
|
<associate|language|english>
|
|
</collection>
|
|
</initial> |