Last active
November 21, 2020 10:56
-
-
Save kauplan/773180a13a29c1c3e6f452458e3d9e17 to your computer and use it in GitHub Desktop.
[LaTeX] 画像を独立したページに配置したい(けどできない)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[dvipdfmx,uplatex,9pt,a5paper,papersize]{jsbook} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\usepackage[deluxe,uplatex]{otf} | |
\renewcommand{\headfont}{\gtfamily\sffamily\bfseries} | |
\usepackage{graphicx} | |
\usepackage{color} | |
\newcommand{\dummy}{% | |
テキストテキストテキストテキストテキストテキスト | |
テキストテキストテキストテキストテキストテキスト | |
テキストテキストテキストテキストテキストテキスト | |
テキストテキストテキストテキストテキストテキスト | |
\par | |
} | |
\newcommand{\Dummy}{% | |
\dummy\dummy\dummy\dummy\dummy | |
} | |
\begin{document} | |
\chapter{サンプルチャプター} | |
\section{サンプルセクション} | |
\subsection{サンプルサブセクション} | |
\Dummy | |
%% '[p]' を指定しているので、次のページにこの画像だけが表示されてほしい。 | |
%% しかしなぜか次のページではなくチャプターの終わりに表示される。 | |
\begin{figure}[p] | |
\centering | |
\includegraphics[width=0.7\textwidth]{example.jpg}% | |
\caption{サンプル画像} | |
\label{fig-01} | |
\end{figure} | |
\subsection{サンプルサブセクション} | |
\Dummy | |
\subsection{サンプルサブセクション} | |
\Dummy | |
\section{セクション2} | |
\subsection{サンプルサブセクション} | |
\Dummy | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment