Next: , Previous: , Up: Base modules   [Contents][Index]

8.17 embed

This module provides an interface to the LaTeX package (included with MikTeX)

for embedding movies, sounds, and 3D objects into a PDF document.

A more portable method for embedding movie files, which should work on any platform and does not require the media9 package, is provided by using the external module instead of embed.

Examples of the above two interfaces is provided in the file embeddedmovie.asy and externalmovie.asy in the animations subdirectory of the examples directory. For a higher quality embedded movie generated directly by Asymptote, use the animate module along with the animate.sty package to embed a portable PDF animation (see animate).

An example of embedding U3D code is provided in the file embeddedu3d.asy.