yatex

diff help/YATEXHLP.jp @ 541:7595fc6462ff

Add links
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 31 May 2018 09:53:11 +0900
parents f14ec50103d0
children a58a35eac93f
line diff
     1.1 --- a/help/YATEXHLP.jp	Mon Sep 28 07:56:08 2009 +0900
     1.2 +++ b/help/YATEXHLP.jp	Thu May 31 09:53:11 2018 +0900
     1.3 @@ -1738,8 +1738,9 @@
     1.4  \end{figure*}
     1.5  
     1.6  includegraphics
     1.7 -\usepackage{graphicx}  ... \includegraphics[オプション]{graphicfile.eps}
     1.8 +\usepackage[ドライバ]{graphicx}  ... \includegraphics[オプション]{IMG.eps}
     1.9  画像を取り込む。要 graphicx パッケージ。
    1.10 +「ドライバ」は dvipdfmx 等。
    1.11  「オプション」は以下のものが指定可能。
    1.12  scale=拡大率
    1.13  width=幅
    1.14 @@ -1751,6 +1752,34 @@
    1.15  viewport=llx lly urx ury  (BoundingBox内の相対的座標で切り取る)
    1.16  trim=left bottom right top  (指定した幅を切り取る)
    1.17  
    1.18 +【使用例】
    1.19 +% プリアンブル
    1.20 +\usepackage[dvipdfmx]{graphicx}
    1.21 +% 本文
    1.22 +\begin{figure}[h]\centering
    1.23 + \includegraphics[width=0.4\columnwidth,bb=0 0 400 300]{hoge.jpg}
    1.24 + \caption{hogeの仕組}\label{hoge-fig}
    1.25 +\end{figure}
    1.26 +図\ref{hoge-fig}にあるとおり、ほげはほげなのだ。
    1.27 +% \includegraphics{} を補完入力するとbb=行はyatexが勝手に調べて入れる。
    1.28 +
    1.29 +wrapfigure
    1.30 +\begin{wrapfigure}[LINES]{POS}[OVH]{WIDTH} ...画像... \end{wrapfigure}
    1.31 +LINES(省略可)	回り込みする行数(デフォルトは画像の高さ分)
    1.32 +POS		r l i o のどれか(右、左、見開き内側、外側)
    1.33 +		大文字 R L I O は画像フロート
    1.34 +OVH(省略可)	画像の張り出しマージン(\wrapoverhang 通常0)
    1.35 +WIDTH		回り込みする(画像込みの)幅
    1.36 +
    1.37 +【使用例】
    1.38 +% プリアンブル
    1.39 +\usepackage{wrapfig}
    1.40 +% 本文
    1.41 +\begin{wrapfigure}{r}{4cm}
    1.42 + \includegraphics[width=3cm,bb=0 0 640 480,clip]{hoge.jpg}
    1.43 + \caption{ほげほげ}\label{hoge-jpg}
    1.44 +\end{wrapfigure}
    1.45 +
    1.46  abstract
    1.47  \begin{abstract} ... \end{abstract}
    1.48  抄録(アブストラクト)を出力する。