login

Section 10 Media

Graphic file
Let us assume a picture file graph.pdf is in the pics folder.
\begin{center}
    \includegraphics{pics/graph}
\end{center}
\begin{center}
    \includegraphics[scale=1.5]{pics/graph}
\end{center}
Video file
Let us assume an animation video file sine.mp4 is in the media folder.
\begin{center}
    \includemedia{media/sine}
\end{center}
MathPage supports only mp4 and webm as video file format. If you have a video file in a different format, you need to use a format converter, such as Handbrake, to convert your video file into a supported format.
Audio file
Let us assume an audio file Star Wars.mp3 is in the media folder.
\begin{center}
    \includemedia{media/Star Wars}
\end{center}
PDF file
Let us assume a PDF file bitcoin.pdf is in the media folder.
\begin{center}
    \includemedia{media/bitcoin.pdf}
\end{center}
HTML file
Let us assume a HTML file notebook.html is in the media folder.
\begin{center}
    \includemedia{media/notebook.html}
\end{center}
File download
Let us assume a file book-ko.cls is in the supplements folder.
\begin{center}
    \includefile{supplements/book-ko.cls}
\end{center}
Webpage inclusion
An external webpage can be included.
\begin{center}
    \includewebpage{https://en.wikipedia.org/wiki/LaTeX}
\end{center}