質問
の画像の位置は、ヘッダ:http://dl.getdropbox.com/u/175564/%20latex1.png
コード:
\begin{figure}
\subfloat[A gull]{\label{fig:gull}\includegraphics[width=0.15\textwidth]{p1.png}}
\subfloat[A tiger]{\label{fig:tiger}\includegraphics[width=0.15\textwidth]{p2.png}}
\caption{Pictures of animals}
\label{fig:animals}
\end{figure}
コードの前には、\begin{document}:
\documentclass[12pt,a4paper, notitlepage]{article}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{fancyhdr}
\usepackage{verbatim} % by \begin{comment}---\end{comment}
\usepackage{subfig}
\usepackage{lastpage}
\usepackage{fancyhdr}
\usepackage{float}
\usepackage{subfig}
\floatstyle{ruled}
\newfloat{program}{thp}{lop}
\floatname{program}{Program}
\cfoot{\ }
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\title{Applying a}
何が原因とする問題なのでしょうか。
解決
数値 float.
それは、テックスに移動させる対応それぞれです。また、オプションの設定には、その種類を使用している場合は、TeXへ 試 その利用:
\begin{figure}[htpb]
...
\end{figure}
のオプションとは、次のものをいう。
h -- here
t -- top
b -- bottom
p -- page (on a page-o-floats)
H -- Absolutely right here (but requires the `float` package)
を使用 !
のオプションを伝えTeXみ 硬い それに近いものがあなたのソースファイルです。デフォルトの位置決め tbp
, ので、"ここ"がないもオプションでなければお願いします。また、ご注文のオプションは問題にならない [p!bh]
与えると同じ結果 [!hbp]
.
てみましょう \begin{figure}[h!]
( \begin{figure}[H]
実行済みの場合は、 \usepackage{float}
)
同じオプションのためのテーブルやその他の浮きます。
所属していません StackOverflow