yatex
diff help/YATEXHLP.eng @ 541:7595fc6462ff
Add links
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 31 May 2018 09:53:11 +0900 |
parents | f14ec50103d0 |
children | 6c09561c22f0 |
line diff
1.1 --- a/help/YATEXHLP.eng Mon Sep 28 07:56:08 2009 +0900 1.2 +++ b/help/YATEXHLP.eng Thu May 31 09:53:11 2018 +0900 1.3 @@ -1722,8 +1722,9 @@ 1.4 \end{figure*} 1.5 1.6 includegraphics 1.7 -\usepackage{graphicx} ... \includegraphics[Options]{graphicfile.eps} 1.8 +\usepackage[DRIVER]{graphicx} ... \includegraphics[Options]{graphicfile.eps} 1.9 Include graphics。Requires `graphicx' package. 1.10 +Typical [DRIVER] is [dvipdfmx]. 1.11 Possible [Options] are as follows. 1.12 scale=X 1.13 width=W 1.14 @@ -1735,6 +1736,36 @@ 1.15 viewport=llx lly urx ury (Rerative to BoundingBox) 1.16 trim=left bottom right top 1.17 1.18 +[Example] 1.19 +% Preamble 1.20 +\usepackage[dvipdfmx]{graphicx} 1.21 +% document body 1.22 +\begin{figure}[h]\centering 1.23 + \includegraphics[width=0.4\columnwidth,bb=0 0 400 300]{foo.jpg} 1.24 + \caption{foo image}\label{foo-fig} 1.25 +\end{figure} 1.26 +Figure \ref{foo-fig} says that foo is foo. 1.27 +% YaTeX automatically inserts `bb=' line when you input \includegraphics{} 1.28 +% with completion. 1.29 + 1.30 +wrapfigure 1.31 +\begin{wrapfigure}[LINES]{POS}[OVH]{WIDTH} ...Images... \end{wrapfigure} 1.32 +LINES(Optional) Number of narrow lines 1.33 +POS One of `r l i o' (Right, Left, Inside, Outside) 1.34 + R L I O for float 1.35 +OVH(Optional) Overhangs for margin 1.36 +WIDTH Width of figure 1.37 + 1.38 +[Example] 1.39 +% Preamble 1.40 +\usepackage{wrapfig} 1.41 +% body of document 1.42 +\begin{wrapfigure}{r}{4cm} 1.43 + \includegraphics[width=3cm,bb=0 0 640 480,clip]{foo.jpg} 1.44 + \caption{foo image}\label{foo-jpg} 1.45 +\end{wrapfigure} 1.46 + 1.47 + 1.48 abstract 1.49 \begin{abstract} ... \end{abstract} 1.50 Output abstract